#gorillabacsi01_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/1481597393731325952
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hey there ๐ happy to help with this - can you share some more detail about how your store integrates with the Stripe API
for instance, does your store redirect to Stripe's hosted Checkout page, or do you use our pre-built front-end Elements to build a payment UI within your site/app?
feel free to share any screenshots to illustrate the issue also
Specifically, I would like to remove the HUF option there so that only EUR is shown automatically, and on the right side at the card payment it should be Slovak instead of Hungarian by default. Unfortunately UNAS is a webshop platform that integrated with Stripe automatically, so I did not have to set anything up manually, everything was done automatically.
ok so you're using Stripe Checkout, which automatically localises the language based on the browser locale:
https://support.stripe.com/questions/supported-languages-for-stripe-checkout-and-payment-links#:~:text=By default%2C we will detect the locale of your customer's browser and display the localized version of the payment page if the locale is supported
our Adaptive Pricing does the same thing for currencies, to present customers with a local currency option:
https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing
it should only default to HUF/Hungarian for customers located in Hungary, but would you prefer to disable so that it's EUR/Slovak for every customer, regardless of location?
if so, you can disable Adaptive Pricing for Checkout here in your settings: https://dashboard.stripe.com/settings/adaptive-pricing
checking now to confirm if the language localisation can be disabled/controlled
the language is controlled by the locale API parameter, which means that the UNAS integration would need to set this parameter in the API call to Stripe (so you'd need to ask their team if this is possible on their side): https://docs.stripe.com/payments/checkout/customization/policies?locale=en-GB#localization
Yes, I live in Hungary. That explains everything why it was Hungarian even when I used a VPS. Actually it might be best if it could depend on the domain, but it would already be fine if it automatically selected the language based on the browser language.
ok great! if you prefer to control these details manually then you can follow the steps above ๐
Alright, I managed to solve it. By turning off Adaptive Pricing it now shows only EUR. The only thing left is the language, because at the card payment it still shows Hungarian, but I hope that will change automatically when the customer is in another country. Thank you for the help.