Setting the language in the Stripe checkout
Hello everyone.
The essence of the problem: the site is connected to the Goodshop constructor, and the gateway is currently linked in the standard way, through the API.
Only one language is needed at checkout; the issue is that Stripe automatically selects the language based on the client's browser language. It needs to be made so that the checkout is always in one language, regardless of anything else.
Doing it through a payment link is not an option, as there are many products, and creating a link for each one is not very convenient. I understand that something needs to be devised with the API so that the checkout is always in one language chosen by us.
Please provide approximate prices and timelines for solving the problem. Thank you for your understanding.
-
4429 80 1 4 Trust a professional with over 10 years of experience! The rate and deadlines are current! I will be happy to cooperate! Experience in commercial development of online stores on CMS, business portals, and corporate websites - 11 years! +CMS: WordPress (+Woocommerce) PrestaShop/Opencart/Joomla/Bitrix/MODX/DLE/Shopify php/html/css/js/Mysql, PhotoShop/Figma Examples of work (from scratch, turnkey): https://amari.net.ua/ https://heypretty.gr/ https://thaibalispa.pl/ https://wildandorganic.com/ https://cryptosignals.org/ https://ecnbot.com https://locs-ua.com/ https://www.grower.com.ua/ https://www.alternativemedicine.com.ua/ https://silkkiss.ua/ https://v12coffee.com.ua/ https://smrtalgo.com/ https://sengero.no/ https://beautybysim.no/ https://sonatagalleri.com/ https://www.solmy-realestate.com/ https://www.emmanuel.com.ua/ https://www.onsitecomputersinc.com/ https://express-tehbud.com/ https://korostenporcelain.com.ua/ https://sladok.com.ua/ https://pricemds.com/
-
296 Good day!
I will complete it in a few minutes, the solution is elementary :)
-
3481 49 2 Good day! I have encountered a similar task while working with Stripe Checkout. You are absolutely right: the problem lies in the locale parameter: 'auto' (by default), which is sent when creating a session. To fix the language (for example, English), you need to send locale: 'en'.
What is the technical complexity of your situation: Since the site is on Goodshop, and the integration is standard, the code for creating the Stripe session is hidden "under the hood" of the platform, and we cannot simply access the PHP/Node.js code of Goodshop and add a line there.
How I suggest solving this (2 ways):
1. Proxy server (Middleware): I will write a small script (on an inexpensive VPS or Serverless functions) that will act as a "bridge." When placing an order, Goodshop will not contact Stripe directly, but rather our script. The script receives the cart data, hardcodes the required language (locale: 'YOUR_LANGUAGE'), and generates a link to the Stripe checkout.
2. OR (Less likely, but worth checking): write custom JavaScript code in the Goodshop admin panel that will intercept the redirect to Stripe and insert the language parameter into the URL (depends on how exactly Goodshop generates the session).
… My preferred method is the first one (through my API handler). This will work reliably and will not break with Goodshop updates.
-
1070 30 0 1 Good day! I am ready to solve the problem with the language of the payment system STRIPE. I have over 10 years of experience working with payment systems. There are completed projects and positive reviews. I will be happy to collaborate!
-
504 1 0 Hello.
I understood the task: currently, Stripe Checkout automatically adjusts the language based on the client's browser, and you need the checkout to always open in one fixed language, regardless of the device and user settings.
Payment Links are really not the best option here if there are many products. In such cases, the solution is usually implemented at the API level, where the required locale is set when creating the checkout/session, and it is checked how this is integrated with the current setup with Khoroshop.
What I propose:
to look at how your integration of Khoroshop → Stripe is currently organized;
… to determine if there is a possibility to fix the language in the current payment flow;
if the standard Khoroshop integration limits this — to create a working workaround through a custom layer/API;
to test the scenario in different browser languages.
From my side, it is important not just to "try the setup," but to achieve the result: so that the checkout consistently opens in the required language for all users.
Regarding the cost:
1500-3000 UAH, if the adjustments fit into the current integration;
higher, if a separate layer or non-standard workaround is required.
Regarding the timeline: 1–2 working days after receiving access/technical details.
If you want, I can immediately suggest what exactly needs to be checked in the current implementation to quickly understand the shortest path to a solution.
-
368 Hello.
Stripe indeed automatically selects the Checkout language based on the user's browser language, and the standard integration of Khoroshop does not allow passing a parameter to fix the desired language.
To ensure that Checkout always displays in one language, a custom solution using the Stripe API is required. In this case, the language can be hardcoded, and it will not depend on the client's browser.
There are two implementation options:
1. Full custom server-side Stripe gateway
A small server is created that receives order data from Khoroshop, manually creates a Checkout Session, and passes the desired language.
This provides complete control over the language, currency, and Stripe settings.
2. Proxy solution
You can intercept the requests sent by Khoroshop and add a parameter before sending it to Stripe.
… This is faster but depends on how exactly your integration is set up.
Cost and timelines
• Custom Stripe gateway: $120–180, timeframe 1–2 days
• Proxy solution: $70–120, timeframe 4–6 hours
• Audit and setup: $20–40
If needed, I can implement a turnkey solution.
Current freelance projects in the category Online Stores & E-commerce
Create a page based on the pictureThe site is written on OpenCart. We need to replace the page. Currently, it is like this Link, but it needs to be like this (generated through AI) Link (mobile version) and also adapt it for PC. Online Stores & E-commerce, Website Development ∙ 13 hours 9 minutes back ∙ 21 proposals |
Creating a website on the Goodshop platform
67 USD
Creation of a website on the Goodshop platform Filling in the website structure Information about the store Logos Contact information Settings Additional SEO settings Delivery options Payment options Online Stores & E-commerce, Website Maintenance ∙ 2 days 4 hours back ∙ 24 proposals |
GoHighLevel Specialist
111 USD
Looking for a specialist in setting up GoHighLevel - must have a thorough understanding of all nuances and details - must quickly and efficiently prepare the draft of the site - must configure additional modules and monitor the stability of the system Online Stores & E-commerce, Enterprise Resource Planning (ERP) ∙ 3 days 10 hours back ∙ 10 proposals |
Implement a landing/checkout funnel on another platform similar to the current Shopify solution.Implement a sales landing/checkout funnel on another platform or builder similar to the current Shopify solution. Task: There is a current product and sales logic that is currently working on Shopify. It is necessary to implement a similar sales funnel on another… Online Stores & E-commerce, Website Development ∙ 3 days 13 hours back ∙ 60 proposals |
Consultation with an Allegro specialist for launching products in Poland
33 USD
We are looking for a Ukrainian-speaking specialist on Allegro for a one-time practical consultation. We have an Allegro.pl account and initial listings, but currently, there are few views and purchases. We need help figuring out what exactly needs to be corrected to properly… Online Stores & E-commerce, Lead Generation & Sales ∙ 3 days 14 hours back ∙ 5 proposals |