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

Ignore Stripe failed payment webhooks for incomplete subscriptions #1121

Merged

Conversation

excid3
Copy link
Collaborator

@excid3 excid3 commented Dec 20, 2024

Since incomplete subscriptions are just pending and are currently being created by a customer in the browser, the JavaScript will handle these events. We can safely ignore them server-side and prevent sending duplicates.

Stripe Checkout's payment intents are also only usable inside Checkout, so if they were to be used to complete the charge, they may raise an error.

Since incomplete subscriptions are just pending and are currently being
created by a customer in the browser, the JavaScript will handle these
events. We can safely ignore them server-side and prevent sending
duplicates.

Stripe Checkout's payment intents are also only usable inside Checkout,
so if they were to be used to complete the charge, they may raise an error.
@excid3 excid3 merged commit c06a4e7 into main Dec 20, 2024
37 checks passed
@excid3 excid3 deleted the ignore-stripe-failed-webhooks-when-subscription-incomplete branch December 20, 2024 20:58
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.

1 participant