Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is trying to configure the Swish payment gateway to only be shown for Swedish language users on their site and to allow payments in SEK while ordering in Euro. However, they encountered an issue where Swish is not supported for different currencies at checkout, and they received an error message 'AM03 - Invalid or missing currency' when attempting to pay with Swish on the English version of the site.
Solution:
We recommend setting SEK as a second currency in WooCommerce > WooCommerce Multilingual & Multi-Currency and making it the default currency for the Swedish site language. Additionally, you should exclude SEK from being available in other active languages to prevent the error. For more detailed guidance, please read our documentation on WooCommerce Multilingual & Multi-Currency.
If you need to exclude the Swish payment gateway for non-Swedish languages, the plugin author would need to participate in our Go Global Program.

Please note that this solution might be irrelevant if it's outdated or not applicable to your 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 issue persists, please open a new support ticket.

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.

This topic contains 4 replies, has 0 voices.

Last updated by andreasW-2 3 months, 2 weeks ago.

Assisted by: Andreas W..

Author Posts
February 20, 2025 at 4:31 pm #16730656

andreasW-2

Background of the issue:
I am trying to configure the payment gateway 'Swish' to only be shown for Swedish language users on my site hidden link. I want to allow users to order books in Euro but pay in SEK using Swish, or alternatively, hide the Swish payment gateway for English-speaking visitors if it cannot be fixed. I have followed the documentation on WPML's site regarding multi-currency support and attempted to enable specific payment gateways for each currency, but under the 'Swish' heading, it says 'not yet supported'.

Symptoms:
When trying to pay with Swish on the English version of the site, I receive the error message 'AM03 - Invalid or missing currency'.

Questions:
A) Is it possible to hide the Swish payment gateway for English-speaking visitors if the currency issue cannot be resolved?
B) Can I configure Swish to allow payments in SEK while ordering in Euro?

February 22, 2025 at 9:16 pm #16736991

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

When it comes to "WooCommerce Multilingual & Multi-Currency" it is not possible to charge a payment in a different currency than the currently set currency on checkout.

This means you need to have SEK set up a second currency in WooCommerce > WooCommerce Multilingual & Multi-Currency. You could set it as the default currency for the Swedish site language. You can also exclude SEK from being available in other active languages.

Please read this guide:
https://wpml.org/documentation/related-projects/woocommerce-multilingual/

---

To support the exclusion of the payment gateway the author of the plugin would need to join our Go Global Program:
https://wpml.org/documentation/support/go-global-program/

Best regards
Andreas

March 2, 2025 at 11:06 am #16765247

andreasW-2

I have managed to exclude the currency SEK from the English language version, but that does not stop the Payment Gateway from showing up and then throwing the error message, sadly.

There are now some visitors from Sweden, reading English, that will experience this erroneous payment gateway.

I guess I'll have to either switch payment gateway or ask them to join your program.

March 2, 2025 at 11:07 am #16765248

andreasW-2

I also would like to say thank you for your time and help.

March 2, 2025 at 3:29 pm #16765807

andreasW-2

To anyone else in the same situation, we found that paying for the pro version of hidden link solves the problem nicely.

I've only had the plugin running for a few minutes but it does hide the payment gateway "Swish" on the English language version of the site.