[Resolved] Dedicated Stripe options for the country
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is trying to configure WPML and Stripe to enable payments for a selected country, specifically for the Polish market on a website primarily serving the German market. The issue arises because Stripe reads the site’s default language, preventing activation of payment options for Poland. Solution: We recommend setting up PLN as the default currency in WooCommerce and configuring multi-currency settings for Germany to use EUR. This can be done through the WPML WooCommerce Multilingual interface. If this setup does not resolve the issue, it may be necessary to consider a feature request for our development team to accommodate such specific needs.
Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum for further assistance.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Background of the issue:
I am trying to configure WPML and Stripe so that the payment gateway enables payments for a selected country. The website hidden link is set up for the German market but also serves customers in Poland.
Symptoms:
Due to the default language, I can’t activate the payment option dedicated to the Polish market.
Questions:
Is there an option to configure WPML and Stripe to enable payments for a selected country?
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
Here is the ticket, let me know if setting up PLN as default in WooCommerce and setting up hidden link for Germany to use EUR would not work, so I could check with our 2nd tier and possible feature request for our development team.
Hi. I’m coming back to this topic. Could you first determine why WPML is generating an error? Log below.
[Thu Sep 18 10:02:47.856964 2025] [proxy_fcgi:error] [pid 402072:tid 402199] [client 51.83.196.69:0] AH01071: Got error 'PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(WP Endpoints-de_DE.mo) is not within the allowed path(s): (/home/aromende/:/tmp/:/var/tmp/:/opt/alt/php80/usr/share/pear/:/dev/urandom:/usr/local/php80/lib/:/usr/local/php80/lib/:/usr/local/php82/lib/:/usr/local/php74/lib/:/usr/local/php73/lib/:/usr/local/lib/php/) in /home/aromende/domains/aromenderalpen.de/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTranslationFile.php on line 82; PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(WP Endpoints-de_DE.l10n.php) is not within the allowed path(s): (/home/aromende/:/tmp/:/var/tmp/:/opt/alt/php80/usr/share/pear/:/dev/urandom:/usr/local/php80/lib/:/usr/local/php80/lib/:/usr/local/php82/lib/:/usr/local/php74/lib/:/usr/local/php73/lib/:/usr/local/lib/php/) in /home/aromende/domains/aromenderalpen.de/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTranslationFile.php on line 85'
Your idea with changing the default currency and configuring WPML works.
Question → what’s the most reasonable way to create language and currency switchers in the mobile version when using the Woodmart theme?
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
About the open_basedir restriction issue, can you go to this directory: wp-content/plugins/wpml-string-translation/classes/MO/Hooks/ and open the file "LoadTranslationFile.php"
Deprecated: Creation of dynamic property WC_Shipping_Flat_Rate::$wcml_shipping_cost_in_mc is deprecated in /home/aromende/domains/aromenderalpen.de/public_html/wp-content/plugins/woocommerce-multilingual/classes/Multicurrency/Shipping/FrontEndHooks.php on line 38
Deprecated: Creation of dynamic property WC_Shipping_Flat_Rate::$wcml_shipping_cost_in_mc is deprecated in /home/aromende/domains/aromenderalpen.de/public_html/wp-content/plugins/woocommerce-multilingual/classes/Multicurrency/Shipping/FrontEndHooks.php on line 38
Deprecated: Creation of dynamic property WC_Shipping_Flat_Rate::$wcml_shipping_cost_in_mc is deprecated in /home/aromende/domains/aromenderalpen.de/public_html/wp-content/plugins/woocommerce-multilingual/classes/Multicurrency/Shipping/FrontEndHooks.php on line 38