#japseyz_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/1230457246069293106
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hey, according to the API, i need to send along
['payment_method_options' => ['bancontact' => ['preferred_language' => 'fr']]]
But that seems to cause an error
You're referencing a Payment Intent parameter, yet you're using Checkout Sessions. That same parameter does not exist on Checkout today I'm afraid: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_method_options-bancontact
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Not at all?
Here it shows it as being available
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Oh wait, what the hell, the actual parameter is not available
That is so strange
Yeah unfortunately there is not parity for all parameters across APIs. Good feedback to share with support: https://support.stripe.com/contact/email?topic=api_integration
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Will it at least auto detect locale then? Or will our customers be forced to see the english page?
I'm not sure, perhaps worth tesing. You can set locale on a per session basis so perhaps that is forwarded to the Bancontact page? https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-locale
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Otherwise the session uses the default browser locale
Alright, thank you for the rapid support ๐