#arshad_53441

1 messages · Page 1 of 1 (latest)

knotty blazeBOT
gilded nova
#

hi! if this is a backend API call, you can't

#

in general you should use our recommended flows that use stripe.js in the frontend to confirm PaymentIntents, that results in localised user-facing errors. The errors from the backend API are intended for developers.

severe fulcrum
#

thanks

#

so there is no way to get the error in french to show the client?

knotty blazeBOT
gilded nova
#

if you confirm a PaymentIntent on the the frontend it will just work

severe fulcrum
#

the problem is that i have to go to another page after the payment. thus i can't get the frontend paymentintent

nocturne gale
#

👋 stepping in as karllekko needs to step away

#

Why would you go to another page if there is an error?

severe fulcrum
#

ah sorry. i go to another page if success. when the payment fail , it returns back to the payment page

nocturne gale
#

Yep so that's fine then

#

You just let Stripe.JS handle displaying the error as karllekko stated

#

No need to handle translating anything

severe fulcrum
#

oaky thanks

#

okay*