#Jonas Reif - Checkout
1 messages ยท Page 1 of 1 (latest)
Hi ๐
Let me test this out
Okay just confirmed what i thought. The checkout page will keep the user on-session if the payment does not authenticate.
With a helpful error message that they need to try a different payment method
Sorry I was away for some minutes.
I mean for example:
- User make a successful purchase via Stripe Checkout
- After 1/2 days payment fails for some reason (e.g. because something went wrong, not enough money etc.)
Then we get a webhook event which informs us about the failed payment.
And then we want to send the user a new "link" in some cases, where he could update the payment method.
Which event do you receive in this case?
charge.failed for example?
That is only going to have information about the actual charge object. It would be hard to re-create the checkout session based on that.
ok.
So there is no way of updating the payment method?
You would need to re-create the checkout session and then redirect the customer.
Alright thanks ๐