#tunnnna-checkout
1 messages · Page 1 of 1 (latest)
Hi there!
This is covered here: https://stripe.com/docs/payments/checkout/fulfill-orders#fulfill
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, your handler redirects the customer to the success_url 10 seconds after a successful payment.
So Stripe first wait for a reply to the checkout.session.completed events, and then redirect to the success_url.
If no replies within 10 seconds, we still redirect to the success_url.
日本語でも大丈夫ですか?
Hi there, I'm taking over for @slim pond, this channel is only english-speaking, if you need help in your native tongue please reach out to support https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
okay
Am I correct in assuming that if checkout.session.completed is completed within 10 seconds, the customer will not be redirected to success_url before checkout.session.completed is completed?
I think @slim pond already answered this
I don't know what to add to be honest
If you reply to the webhook endpoint before the 10sec than automatically the user will be redirected to the success_url otherwise he will eventually be redirected after 10s
ok, thank you. I will review my code.