Reputation: 10145
I am using API stripe Connect OAuth Reference (https://stripe.com/docs/connect/standard-accounts)
The link to redirect user is: https://connect.stripe.com/oauth/authorize?response_type=code&client_id=CODE&scope=read_write
It works perfectly. Landing page is :
How can I translate this page?
I have tried using in url: ?locale=fr
but not working.
I could not find anything in the documentation
Thanks
Upvotes: 5
Views: 901
Reputation: 10794
You have to add a two-letter country code stripe_user[country]
(docs link).
Two-letter country code (e.g., US or CA).
For example:
https://connect.stripe.com/oauth/authorize?response_type=code&client_id=...&scope=read_write&stripe_user[product_description]=...&stripe_user[email][email protected]&stripe_user[url]=http://example.com/users/1234&stripe_user[first_name]=John&stripe_user[last_name]=Deere&stripe_user[business_name]=John%20Deere&stripe_user[country]=FR
Upvotes: 0