Setting Stripe Payment Form Language
-
Hello! I am currently using the Event Tickets plugin on my WordPress website and have integrated Stripe as the payment gateway. My goal is to change the language of the Stripe payment form to Lithuanian.
I know that I am supposed to pass ‘locale: lt’ in the code in some part, but at the moment, I don’t know where exactly.
I’ve tried adding it to the create() function in the file: plugins/event-tickets/src/Tickets/Commerce/Gateways/Stripe/Payment_Intent.php
But that only broke my checkout form so I was supposed to revert the change.
Could anyone tell me if someone had this issue before and knows how to change the language? I am feeling a bit lost at this moment, as I managed to everything except for this part.
I’ve reached out to Stripe and they just confirmed that I need to pass ‘locale: lt’, but until this point, I’ve no clue where exactly I am supposed to add it
- You must be logged in to reply to this topic.