#yves_code

1 messages ¡ Page 1 of 1 (latest)

low marlinBOT
#

👋 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.

sullen rivet
#

E-mail in english

#

config customer in portuguese brazil.

carmine tangle
sullen rivet
#

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

carmine tangle
#

You should only set this on the customer once.

sullen rivet
#

in test mode, work?

carmine tangle
#

Yes, it should work in Test mode. I'm looking internally, hang tight

sullen rivet
#

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.

carmine tangle
sullen rivet
#

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.

carmine tangle
#

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

sullen rivet
#

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 ❤️

carmine tangle
#

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.

sullen rivet
#

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.