#abhilash_ss
1 messages · Page 1 of 1 (latest)
My understanding was that the API usually localizes the error messages, no way for client side SDKs to do that. could be wrong. Let me check
Thanks...Please let me know if I need to make any changes.
This is how I am calling the function:
const { error } = await confirmPayment(clientSecret, { paymentMethodType: 'PayPal' });
what country is your account registered to?
Ah it seems like localizedMessage relies on the device locale
https://github.com/stripe/stripe-react-native/issues/820
GitHub
Hi, I'm wondering if there is a way to set the locale in the library configuration so we can have the error's localizedMessage in the right language. I would prefer not to rely on the phone...