You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pretty much look like a static interface for the secret configuration.
Is such an interface like:
class StripeTenantSigningSecret
def call(params)
StripeAccount.for_tenant(params[:tenant]).pluck :signing_secret
end
end
StripeEvent.signing_secret = StripeTenantSigningSecret.new
a valid user story for the gem?
Otherwise I see no other chance than overwriting the
I use Stripe Connect because I'm a marketplace (what the readme shows)
We are one company but we have a few Stripe Accounts for Historical Reasons ™️
2️⃣ It's definitely not suitable if multi tenant means "I have thousands of users and they all use THEIR Stripe accounts". For performance for sure but it could even be a security issue 🤔
My understanding is that you need the second case but this gems only support the first one.
This chapter https://github.com/integrallis/stripe_event#configuration reads like if there is a possibility to configure secrets in a multi tenant environment.
However
stripe_event/app/controllers/stripe_event/webhook_controller.rb
Line 33 in 9601d96
stripe_event/lib/stripe_event.rb
Line 8 in 9601d96
pretty much look like a static interface for the secret configuration.
Is such an interface like:
a valid user story for the gem?
Otherwise I see no other chance than overwriting the
stripe_event/app/controllers/stripe_event/webhook_controller.rb
Line 32 in 9601d96
The text was updated successfully, but these errors were encountered: