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
Describe the bug
Webhook breaks if there's multiple projects registered to the account.
To Reproduce
Have project A and project B.
Ignore project A, add project B API keys. Manually sync. It will automatically add project A secret(!!!!!!!!) api key (why does it even do that?). Now try to add a product in project B - the webhook will return "Product doesn't exist" error. Where I suspect it tried to check for the product on project A instead of B.
Software versions
Dj-Stripe version: 2.8.4
Python version: 3.11.8
Django version:4.2.11
Stripe API version: default
Database type and version: postgres 15
The text was updated successfully, but these errors were encountered:
EDIT: Turns out STRIPE_TEST_SECRET_KEY was using the Project A keys so it would do weird stuff. Please either have the env keys have the key or the db.
Describe the bug
Webhook breaks if there's multiple projects registered to the account.
To Reproduce
Have project A and project B.
Ignore project A, add project B API keys. Manually sync. It will automatically add project A secret(!!!!!!!!) api key (why does it even do that?). Now try to add a product in project B - the webhook will return "Product doesn't exist" error. Where I suspect it tried to check for the product on project A instead of B.
Software versions
The text was updated successfully, but these errors were encountered: