#louai-paymentelement-redirect-failed
1 messages · Page 1 of 1 (latest)
louai-paymentelement-redirect-failed
@stuck cobalt we won't redirect automatically for a failed card payment. We display the error straight on the page so that your customer can easily and quickly fix the issue, like enter a new CVC or expiration date for example. It'd be quite disruptive to redirect in that case.
But you can do it yourself, the confirmPayment() call will complete, you'll get an error and you can redirect if you prefer. But really you shouldn't
glad to hear that, I was afraid from being responsible of handling this case in my app, its much more better to keep the user in the same page
https://stripe.com/docs/testing#declined-payments try some of those Test cards and you'll see what PaymentElement does
sure, thanks @buoyant isle