#MikeyBeLike - webhook speed
1 messages · Page 1 of 1 (latest)
I don't think we have numbers on that specifically. The webhook and your user's redirect can come in at the same time or in any order
You may be interested in this guide https://stripe.com/docs/payments/checkout/custom-success-page#modify-success-url
Basically, you can include the Checkout Session ID in the URL that the user is redirected to. Then when the user gets to that page you can display info to them about their payment/products etc
ahhh niceee! that works I guess, cause ideally my webhook will make the purchase as paid, but I can also do the same thing incase they return to the page before the webhook has processed
Yes, it is a common pattern to listen for both and mark it as paid on the first one you hear from (after checking that the payment did actually succeed and all that)
It can sometimes be a bit difficult to make sure you are not double fulfilling but that can be a good way to ensure the user gets a fast response and that their payment gets recorded even if their internet cuts out