#olbe-receipt-l10n
1 messages ยท Page 1 of 1 (latest)
Is this a Stripe receipt? If so, what does it look like? Do you have a screenshot?
Receipt and invoice
We don't create customers before checkout, as we want to speed up the conversion
So there's not a way to set a 'preferred locale' for a customer beforehand I believe?
I found this SO thread:
https://stackoverflow.com/questions/63361820/setting-language-of-email-after-stripe-checkout
That says that the first email is determined by the browser locale...
It just seems odd that this is still the case 3 years and 4 months later ๐
How are you creating the Invoices? Via the API?
No they are configured to be sent out via the Stripe dashboard
Gotcha. We don't have a lot of context on the dashboard settings, as this is a channel for web developers. I don't think it's possible to change the language on a per-customer basis unless you create Customers up front: https://support.stripe.com/questions/language-options-for-customer-emails
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.
You can change the language setting for the whole account here though: 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.
Yepp this is the issue, that the first email that goes out is always in English
Even though you have chosen another locale
All other emails besides the first email is respecting the locale
And if you want a flow where you don't want customers to sign up to your page before you allow them to pay, you are stuck in a grey zone.
As you can't create customers via the checkout object for subscriptions..
I guess I'll create a feature request on github
How are you providing the email? Are you setting receipt_email in the API?
And the Checkout Session is in Swedish? It's only the email that's in english?
Exactly
But if we manually trigger an email from the dashboard
To resend
It's send in Swedish
That seems like it might be a bug. Do you have a Checkout Session ID for this customer that I can look at? Also, what's their email? (DM it to me so as not to post it in a public channel)
Sure, it happens to all customers
It looks like all the emails being sent to them are in english, no? I'm not seeing any email sent in anything other than english
The examples I gave you yes
But then the majority gets theirs in Swedish
Do you want a customer id for one that received theirs in Swedish as well?
yeah, that might be helpful here
๐ hopping in here since two-shoes has to head out - give me a minute to catch up