Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 10:00 8:00 – 10:00 8:00 – 13:00 8:00 – 13:00 9:00 – 13:00 -
- 11:00 – 17:00 11:00 – 17:00 14:00 – 17:00 13:00 – 17:00 13:00 – 18:00 -

Supporter timezone: America/New_York (GMT-05:00)

Tagged: 

This topic contains 0 replies, has 0 voices.

Last updated by bartoszH-3 13 hours, 40 minutes ago.

Assisted by: Lauren.

Author Posts
March 4, 2025 at 9:14 pm #16775963

bartoszH-3

Background of the issue:
I am trying to assign specific currencies to my default payment gateway: hidden link.

Symptoms:
When I go to the settings page of the currency, it says that this payment gateway is not supported.

Questions:
Is there any way to solve the issue of the payment gateway not being supported for specific currencies?

Also, when I am trying to configure a specific country for this payment method in the payment gateway settings, this configuration does not seem to work.

March 4, 2025 at 9:24 pm #16776024

Lauren
Supporter

Languages: English (English )

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

If the payment gateway is not supported, you can use custom code to try and make it work with WPML. Please see this related issue here and our suggestion at the top of the page in the yellow box: https://wpml.org/forums/topic/assign-payment-method-to-a-specific-currency/

March 5, 2025 at 3:33 pm #16779698

bartoszH-3

Hello, thanks for the answer. To address the issue with my local payment gateway for PLN currency, I have used the snippet provided in the suggested thread and it worked.

However, I am experiencing another issue now.

I would like to disable the official Woocommerce Payment Gateway - "WooPayment" for the PLN currency.

When I click on pencil next to PLN Currency and toggle on the "Payment methods" option, there is no possibility to turn it off for the WooPayments method - please see the screenshot attached.

Please, note that currently, the WooPayments method is running in the sandbox mode.

Screenshot_Woopayments_2.jpg
Screenshot_Woopayments.jpg
March 5, 2025 at 4:06 pm #16779777

Lauren
Supporter

Languages: English (English )

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

Just to clarify, you want WooPayments available for one currency, but not for the other. Is that correct? If you can share credentials to your site so i can login and check these settings, that would be helpful. The next reply is marked as private so that you can add the login in the private fields if possible.

March 5, 2025 at 7:05 pm #16780397

Lauren
Supporter

Languages: English (English )

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

From what I can see, I don't think we currently support WooPayments as a gateway for multi currency. If you want to use Stripe, please try installing this plugin. https://wordpress.org/plugins/woocommerce-gateway-stripe/. This plugin should allow you to set it based on currency.

Alternately, if you want to use WooPayments, for unsupported payment gateways, you might consider using custom code to manage their availability based on the selected currency. This approach involves utilizing the woocommerce_payment_gateways filter to add or remove gateways depending on the active currency. It requires custom code which is outside the scope of WPML support, but you may be able to find some examples in the forum or even reach out to a recommended contractor if you need assistance writing custom code. https://wpml.org/contractors/

March 5, 2025 at 8:15 pm #16780522

bartoszH-3

ok, got it, I'll try to implement the same approach as I did for the other gateway, however, it's quite surprising that the WooPayments is not supported as it's official WooCommerce gateway, and as far as I know it's based on Stripe. It would be good to see this implemented in the future.