#venerios
1 messages · Page 1 of 1 (latest)
Hello, not immediately clear on your ask. Can you tell me more about what you are trying to do with the PaymentElement tag?
Currently the form generated by the tag is in French (see screenshot) but I'd like to be able to modify it according to the customer's location. I hope I've made myself clearer.
You can provide a locale in the options when initializing https://stripe.com/docs/js/initializing#init_stripe_js-options-locale
That being said, Stripe.js should automatically detect and use your customer's locale
Thank you for your reply. It does work if I set the local option directly, but I've linked the setupIntent to a cutomerID with an address and a location, but this has no effect on the language of the form.
Yeah that is expected, we use the user's browser settings. You might have an address somewhere but prefer some other language