#stefan-colic_api

1 messages ¡ Page 1 of 1 (latest)

last torrentBOT
#

👋 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.

rain tendon
#

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

manic estuary
#

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

rain tendon
#

Oh, that must be some undocumented feature

manic estuary
#

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

rain tendon
#

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

manic estuary
#

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?

rain tendon
#

Not that I'm aware of, but I can share your feedback

manic estuary
#

Sure. I guess it enhances the UX if the locale matches from the source. Would be nice to introduce it.