#meisei-receipt

1 messages · Page 1 of 1 (latest)

brittle sky
#

Hi there, You can set a specific language for a Customer using the preferred_locales field https://stripe.com/docs/api/customers/object#customer_object-preferred_locales So that Stripe will issue invoices, receipts, and other customer facing emails to that customer with an appropriately translated email, payment page, or PDF.

exotic carbon
#

But there are employees are from different countries in a customer

#

Each time they visit the receipt page, I have to specify the customer's preferred_locales again?

brittle sky
#

You mean the same customer want to view the receipt in a different language?

exotic carbon
#

yeah

brittle sky
#

I need more context to understand this requirement. Your customer receives the email from Stripe when payment is succeeded, how do you intent to specify what language the receipt should be presented in?

exotic carbon
#

The same customer has many employees, maybe they are from different countries, so they wan to view the receipt in their own language. Now we specify the language by the customer. And set the preferred_locales frequently is not suitable, so is there other solutions?

brittle sky
#

You should create a customer object for each of the employee, so you can specify preferred_locales for each of them.

exotic carbon
#

but the receipt page is just belong to one customer

#

what I want is one receipt could be viewed by different language

brittle sky
#

But your customer will just receive one receipt email, and there's no options in the email to present the same receipt in different languages.

exotic carbon
#

here is one receipt page url

#

Our customer could view the receipt by the url

brittle sky
#

Yes, and there's no option in this page to select a different language.

#

Please remove this link from this chat, discord is a public place so others can see the details of this receipt.

exotic carbon
#

ok.thanks a lot.

brittle sky
#

I believe what you need is to have a language option in the receipt page so that viewer can choose their preferred language. It's not something we support at this moment.

Feel free to write in to Stripe support https://support.stripe.com/contact about your feature request, so that they'll pass along this request to the relevant team and they'll decide whether to include it in the product roadmap.