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.
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.
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.
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/
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.