#theodiablo
1 messages · Page 1 of 1 (latest)
👋 happy to help
you shouldn't rely on the time though
the only time-sensitive thing in Checkout webhooks is this https://stripe.com/docs/payments/checkout/fulfill-orders#:~:text=Your webhook endpoint redirects your customer to the success_url when you acknowledge you received the event. In scenarios where your endpoint is down or the event isn’t acknowledged properly%2C your handler redirects the customer to the success_url 10 seconds after a successful payment.
Thanks for that link.
To give you more context, we are currently designing the User Experience when we'll integrate with Checkout.
We'll only allow immediate payment methods (credit card)
When the user gets redirected from the Checkout page to our app, is it possible that our webhook hasn't been called yet?
we can't really say, but one thing's for sure regardless of why (e.g. you haven't responded faster because your webhook logic is complex and takes time, or you haven't received the event for some reason) the Checkout Session will redirect after 10seconds
it will redirect before if the webhook endpoint receives a response