Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Stripe instances with different Webhook endpoints #665

Closed
soylomass opened this issue Nov 28, 2023 · 1 comment
Closed

Multiple Stripe instances with different Webhook endpoints #665

soylomass opened this issue Nov 28, 2023 · 1 comment

Comments

@soylomass
Copy link

Hi, I'm migrating a customer database from a Stripe account to a new one, but I'll do it in batches. Meanwhile, I want both Stripe accounts to both work, so I need both of them to have a webhook configured on my API.
I tried creating two modules both instancing a StripeModule, with different keys and a different controllerPrefix.
But even if the logs show "Registering webhook" once per each module, only one endpoint is created. It's like only one controllerPrefix is considered.

Is this a bug or a design choice?
Is there any way to achieve what I want?

@WonderPanda
Copy link
Collaborator

It would definitely be possible to achieve this but I haven't had a lot of free time to work on new features for a while. I'd definitely welcome the contribution though if you want to help implement it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants