Hi I'm using stripe custom flow to accept payments online in my site. After submit the payment to stripe and when stripe redirects to the return_url when a payment is successful I save the payment intent id with the order id in data base. I have configured webhook and something rare occurs Stripe sends the success event before redirects to the success url. Is that possible?

1

There are 1 answers

1
orakaro On BEST ANSWER

It's rare yes, but not impossible. The webhook events sent from Stripe server to your server could arrive before your customer browser reaches your success page. For example if your customer phone just lost internet connection and recover after a few seconds.