#olbe-receipt-l10n

1 messages ยท Page 1 of 1 (latest)

spare mauveBOT
foggy yacht
#

Is this a Stripe receipt? If so, what does it look like? Do you have a screenshot?

lone pagoda
#

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?

#

It just seems odd that this is still the case 3 years and 4 months later ๐Ÿ™‚

foggy yacht
#

How are you creating the Invoices? Via the API?

lone pagoda
#

No they are configured to be sent out via the Stripe dashboard

foggy yacht
#

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

lone pagoda
#

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

foggy yacht
#

How are you providing the email? Are you setting receipt_email in the API?

lone pagoda
#

We don't provide any email

#

We just create a checkout session

foggy yacht
#

And the Checkout Session is in Swedish? It's only the email that's in english?

lone pagoda
#

Exactly

#

But if we manually trigger an email from the dashboard

#

To resend

#

It's send in Swedish

foggy yacht
#

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)

lone pagoda
#

Sure, it happens to all customers

foggy yacht
#

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

lone pagoda
#

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?

foggy yacht
#

yeah, that might be helpful here

spare mauveBOT
#

olbe-receipt-l10n

cold mist
#

๐Ÿ‘‹ hopping in here since two-shoes has to head out - give me a minute to catch up