[Resolved] WooCommercew Multilingual & Multicurrency Issue with Stripe
This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing a 'Wrong API Key' error on the checkout page when using the WooCommerce Multicurrency Plugin with Stripe. Disabling the plugin resolves the Stripe issue but removes the desired multilanguage and multicurrency functionalities.
Solution:
We conducted several tests on the client's staging site after upgrading to the latest versions of the necessary plugins. The issue was resolved by re-saving the currency settings (Swiss Franc) from WooCommerce >> WooCommerce Multilingual >> Multicurrency. We recommend the client to check their staging site to confirm if everything is working as expected.
If this solution does not apply to your case, or if it seems outdated, 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 issues persist, please open a new support ticket at WPML support forum.
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 use the WooCommerce Multicurrency Plugin together with Stripe, but I encounter an error on the checkout page. Disabling the plugin makes Stripe work fine. See details in the short video here: hidden link. To access the site, use this temporary link: hidden link. The issue can be seen on this page: hidden link.
Symptoms:
I received a 'Wrong API Key' error message on the checkout page when using the WooCommerce Multicurrency Plugin with Stripe.
Questions:
Why am I getting a 'Wrong API Key' error when using the WooCommerce Multicurrency Plugin with Stripe?
How can I resolve the API key error on the checkout page?
To your questions i answer:
1. Why am I getting a 'Wrong API Key' error when using the WooCommerce Multicurrency Plugin with Stripe?
If i disable the WooCommerce Multilanguage & Multicurrency PlugIn the API Key is working. The Stripe support asked me the verify the Google Chrome Inspector under Network. The Payload should display 0. In the error case it displayed a redirect
2. How can I resolve the API key error on the checkout page?
By disabling the Woocommerce Multilanguage & Multicurrency Plugin. But then we loose the desired functionality that the pLugIn does.
In the moment we have disabled the PlugIn so that we can continue to finish the site.
So, can you please consider a staging site (clone copy of the live) on the same server environment? It will help us to troubleshoot the bug without affecting the live site.
Thank you for the details and access to the staging site. However, please avoid sharing site credentials in public threads, as it may put your site at risk. So I marked it as private.
I added a few products (like the one below) to the cart to try and reproduce the issue, but the Checkout page is appearing blank. Could this be related?
hidden link
Please check the attached image and share your feedback.
It is the same language workout also for admin User.
After loged in as Admin you open in a new tab: hidden link
Then change the language to "Deutsch". If you have any products in the Cart you can open the mini-Cart with the Cart Icon on top at the right.
Then choose "Kasse"
That should work also for Admin logged User.
If you need i can also set your User to the default language German. I did not because i think that it is better in english for the Menü labels in the backend:
Let me know if you wish the defualt language to be german as the admin user. You can also change by yourself if you wish.
Thank you for the details. The bug exists after the initial checks. Please allow me to make a copy of your site using the Duplicator plugin (https://wordpress.org/plugins/duplicator/) for further debugging and escalation to our team.
We conducted several rounds of testing on your staging site after upgrading to the latest version of the plugins. Everything is working as expected after re-saving the currency settings (Swiss Franc) from WooCommerce >> WooCommerce Multilingual >> Multicurrency. Please refer to the attached images for more details.
Kindly check the staging site now and let us know whether it is working as expected.