-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Acknowledge order of webhook events #189
Comments
the doc refering this https://stripe.com/docs/webhooks/best-practices#event-ordering |
Thanks for your feedback, @loicginoux!
Hmm, are you sure? I understand that they're generated in order, but the delivery doesn't need to happen in that same order. From the docs:
Good point about maintaining an internal state machine. |
I had a chat with a developer in the process of releasing Stripe payment for his company, he is more advanced in the implementation and gave us few technical advises after he had support from a Stripe Customer Solution Engineer. The Stripe team member advised him to do it this way. I still need to investigate more and we will definitely need to confirm that with Stripe support as well. I'll let you know when I have more information |
The solution here is not trivial and challenging to tackle without adding other infrastructure. An application should:
Like in #188 (comment), allowing applications to configure the adapter for Omnes subscribers would at least open gates for per-use-case implementations. |
There's no guarantee that webhook events will arrive in the correct order. For instance, we could get authorization before a failure but be the reverse instead.
Partially replaces #160
The text was updated successfully, but these errors were encountered: