#yves_code
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1304521414497534032
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, can you share the customer id with me please? Are you saying that even if the preferred locale is set, https://docs.stripe.com/billing/customer#localization the email is still in English for the customer?
Hi,
locale preferred is defined
customerId: cus_RBJukrtxJD94MY
return $stripe->customers->create([
'name' => $this->name,
'email' => $this->email,
'preferred_locales' => [
'pt-BR'
]
]);
Defined customer create in API
need define for each invoice? or only customer
You should only set this on the customer once.
in test mode, work?
Yes, it should work in Test mode. I'm looking internally, hang tight
This email is when the customer already has a subscription and will manage their subscription.
An email is sent (to access your portal) and it arrives in English.
Ok, it looks like the portal itself supports pt-BR, https://docs.stripe.com/customer-management#customer-portal-features. I'm further looking at the email localization
The portal is in Portuguese correctly, even if the language is not configured before, it possibly searches for information in the browser.
The problem is with the email that is sent to him to access the portal, which is in English.
Yeah, that seems odd why the email is sent in English even if your customer locale is set. I reccomend that you write it to your support team as this is not directly related to your code/ integration. Our support team will be able to assist you better than I can: https://support.stripe.com/contact
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Ok.
It's a bit strange, because at another time when I was registering clients (even without the pt-BR configuration), a single email arrived in Portuguese. But I didn't configure it to be in Portuguese when this email arrived. It simply arrived in Portuguese. Now that I configured it to be in Portuguese, it doesn't arrive đŚ
Thanks â¤ď¸
I agree, sorry I could not unblock you. On my end, I can see that the email sent is in English but support should be able to help.
I just did a test.
The email that is sent automatically arrives in English.
On the screen that asks to verify the email, I can ask to resend the email, which arrives in Portuguese.
On this page, the email is in Portuguese.
Thank you, I will continue with the support through the link you sent me.
@carmine tangle Configure in https://dashboard.stripe.com/settings/emails
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.