#manu_occhia-GPay-Custom-Error
1 messages · Page 1 of 1 (latest)
Not immediately sure. I don't think there is one through Stripe but will check. When do you want to display this error?
I follow the stripe guide to implement it, when I create payment intent on my server and return the client secret to the client, if something go wrong, I close the payment with e.complete('fail'); and chrome show a random error message. I want to know if is possible to display a specific message here.
If confirming the payment goes wrong?
Like nothing is erroring until confirming the payment client side?
Unfortunately it looks like we do not support this https://stripe.com/docs/js/payment_request/events
Complete reference documentation for the Stripe JavaScript SDK.
We do have events for listening and reacting to other things from the payment request window, but it looks like we don't support catching and replacing error messages