#pengu
1 messages ยท Page 1 of 1 (latest)
Hi! Let me help you with this.
Hello, yeah thanks! ๐
My flow is going to be: user calls my app backend, my backend will call stripe api to create a payment link, my backend (or stripe directly if possible) will email the payment link to customer.
Now when the user opens the payment link, I'd like to force a specific language in that form always
I see what you mean, thanks. I need a minute to check.
I don't think it's possible to force a language for a Payment Link.
However, if it's very important for you, you can instead create a Checkout Session. You can set a locale there: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-locale
In general, Checkout Sessions seem to be much better suited for your use case.
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
I need to take a look at the Checkout Sessions to evaluate how much more work is needed if using those instead on payment links. This is going to be a very minimal MVP so I'm gonna need to go with the easiest possible route and the initial thought was that payment links were more easier
Payment Links are basically a wrapped version of Checkout Sessions where you don't really need to redefine the products each time