#stefan-colic_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/1308019358626353153
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
You can with a 'checkout link' (assuming you mean a Checkout Session). Account Links for onboarding just use the browser default locale, can't be overruled
Yes, i meant Checkout Session. I see actually the locale there.
For the onboarding link, i actually tried to add ?locale=fr for example on the link i got from Stripe and it actually seems to work. Not sure if this is browser specific or it's just intended to work that way
Oh, that must be some undocumented feature
One strange thing is that if the onboarding link opens, i can't just add ,,?locale=fr,, manually because it will redirect me back from to my origin. Only when initially i open the link with that query param already set, then it seems to work
Yeah like I said it's probably some internal query parameter that we don't officially support (hence why it's undocumented) so use as your own risk
My guess is that the frontend part reads that query param and just presets it.
Any plan to introduce the locale as param for the onboarding link the same way it's done for checkout session?
Not that I'm aware of, but I can share your feedback
Sure. I guess it enhances the UX if the locale matches from the source. Would be nice to introduce it.