#benjamin_api
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/1336613684251983962
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you share the Invoice Id? in_xxx
I think it will fallback to the using browser locale, but need to look closer
Is the invoice number sufficient?
EF36CFFE-0001
I can find out the invoice Id as well, but i would need to write some code for that
It's not my own account, it's a customers account
But I can find out, sec
It is in_1QoM1HIbSLSERivQQvseGRuV
To clarify, the problem is that the default language is German?
The Problem is that customer.preferredLocales is not filled, but the invoice is in german. I would like to know how I can find out that this is in German so I can adjust my mail texts accordingly
It's in German by default because you have a German Stripe account. So when preferredLocales is not set the text will be in German.
Let me see if you can change the default language.
Yes, you should be able to change it here: https://dashboard.stripe.com/settings/emails
Thanks! Can I read this information from my connected accounts somehow? I did not find such a thing in the API
Good question. I don't know. Let me check...
Are you using Direct or Destination charges?
To be honest, I don’t know what that means 😁
How are you creating the Invoices? On your Platform account (and then transfering the funds), or directly on the Connected account?
The setup is that I published a Stripe App which other Stripe users install. If they create an invoice (no matter how), I react on the invoice.finalized event and send an email
So I don’t have a platform account, but I have connected accounts and they create the invoice themselves
Thanks for clarification. I understand what you mean now.
Yeah, I don't think there's a property that tells you what language the Invoice is...
And not an account wide property either so I can read the default language from the account?
Yeah, sadly the settings on the Account object don't contain the language.