#tunnnna-checkout

1 messages · Page 1 of 1 (latest)

slim pond
#

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.

fervent oriole
#

日本語でも大丈夫ですか?

chrome flume
#

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

fervent oriole
#

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?

chrome flume
#

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

fervent oriole
#

ok, thank you. I will review my code.