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

[13.x] Prevent duplicate subscription creation #1308

Merged
merged 2 commits into from
Jan 28, 2022

Conversation

driesvints
Copy link
Member

In some edge cases, the webhook that handles the subscription creation arrives before we can insert the record into the database with the subscription builder. Therefor, we should check if it's already in the database and if so, return it.

Fixes #1307

@driesvints driesvints changed the title Prevent duplicate subscription creation [13.x] Prevent duplicate subscription creation Jan 28, 2022
@taylorotwell taylorotwell merged commit 51a642b into 13.x Jan 28, 2022
@taylorotwell taylorotwell deleted the prevent-duplicate-subscriptions branch January 28, 2022 15:18
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

Successfully merging this pull request may close these issues.

Bug: Duplicate subscriptions being created
2 participants