Problem: The client needed to assign specific payment gateways and the 'cash on delivery' method to different currencies using WooCommerce Multilingual & Multicurrency. The built-in functionality was limited and did not support the client's payment gateways.
After further clarification and internal discussion, we acknowledged that there is no out-of-the-box solution for unsupported gateways. We suggested using the
woocommerce_payment_gateways
hook to add or remove gateways based on the selected currency. We provided an example code snippet to guide the client:
We also recommended that if the client requires further custom solutions, they should consider reaching out to our recommended third-party developers: https://wpml.org/contractors/.
Please note that this solution might be irrelevant due to being outdated or not applicable to your case. If so, 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 with us.