Custom Currency not displayed for each payment gateway
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from Sergio on May 30, 2026, 01:13Hello, I'm having a currency issue at checkout. I have USD configured as the primary currency and COP as the currency for Colombia. I have PayPal and Mercado Pago (Colombia) configured. In Payments, I have USD selected for PayPal and COP for Mercado Pago.
When I proceed to checkout, the currency conversion isn't performed according to the selected payment gateway.
Selecting either PayPal or Mercado Pago prevents me from taking any action. Disabling the Fox Currency plugin allows me to pay via Mercado Pago in COP. WooCommerce has USD configured as the primary currency. To access Mercado Pago, which only accepts COP, I need to add COP to the multi-currency options in Woocomerce.
link: https://borum.io
Hello, I'm having a currency issue at checkout. I have USD configured as the primary currency and COP as the currency for Colombia. I have PayPal and Mercado Pago (Colombia) configured. In Payments, I have USD selected for PayPal and COP for Mercado Pago.
When I proceed to checkout, the currency conversion isn't performed according to the selected payment gateway.
Selecting either PayPal or Mercado Pago prevents me from taking any action. Disabling the Fox Currency plugin allows me to pay via Mercado Pago in COP. WooCommerce has USD configured as the primary currency. To access Mercado Pago, which only accepts COP, I need to add COP to the multi-currency options in Woocomerce.
link: https://borum.io
Quote from Alex Dev on June 1, 2026, 11:14Hello Sergio
Thank you for the detailed description. I visited your site to test the behavior but it seems the plugin was disabled at that moment, so I was not able to reproduce it directly.
Here is what is happening technically. FOX filters the available payment gateways using the WooCommerce hook woocommerce_available_payment_gateways at priority 10. The problem is that Mercado Pago likely registers its own logic on the same hook at a later priority, which means it runs after FOX has already applied its rules. As a result, the gateway filtering does not work as expected.
The fix is to make FOX re-apply its filter after all other plugins have finished. Please add this snippet to your theme's functions.php file or a custom plugin:
// Increase FOX payment gateway filter priority to run after other plugins add_action('init', function() { global $WOOCS; if (!empty($WOOCS) AND get_option('woocs_payments_rule_enabled', 0)) { // Remove the original hook registered at priority 10 remove_filter('woocommerce_available_payment_gateways', array($WOOCS, 'woocs_filter_gateways'), 10); // Re-add with higher priority so it runs after Mercado Pago hooks add_filter('woocommerce_available_payment_gateways', array($WOOCS, 'woocs_filter_gateways'), 9999, 1); } }, 20);This does not change any FOX logic. It simply ensures that FOX runs last on that hook, after Mercado Pago and any other gateway plugins have registered themselves.
Please test and let me know if the issue is resolved.
Hello Sergio
Thank you for the detailed description. I visited your site to test the behavior but it seems the plugin was disabled at that moment, so I was not able to reproduce it directly.
Here is what is happening technically. FOX filters the available payment gateways using the WooCommerce hook woocommerce_available_payment_gateways at priority 10. The problem is that Mercado Pago likely registers its own logic on the same hook at a later priority, which means it runs after FOX has already applied its rules. As a result, the gateway filtering does not work as expected.
The fix is to make FOX re-apply its filter after all other plugins have finished. Please add this snippet to your theme's functions.php file or a custom plugin:
// Increase FOX payment gateway filter priority to run after other plugins
add_action('init', function() {
global $WOOCS;
if (!empty($WOOCS) AND get_option('woocs_payments_rule_enabled', 0)) {
// Remove the original hook registered at priority 10
remove_filter('woocommerce_available_payment_gateways', array($WOOCS, 'woocs_filter_gateways'), 10);
// Re-add with higher priority so it runs after Mercado Pago hooks
add_filter('woocommerce_available_payment_gateways', array($WOOCS, 'woocs_filter_gateways'), 9999, 1);
}
}, 20);This does not change any FOX logic. It simply ensures that FOX runs last on that hook, after Mercado Pago and any other gateway plugins have registered themselves.
Please test and let me know if the issue is resolved.
Quote from Sergio on June 1, 2026, 15:29Thank you for your response. I copied the code into Code Snippets, but it didn't work. When the checkout loads, it loads in COP, but as soon as it finishes, it switches to USD, regardless of whether I select Mercado Pago or PayPal. If it's okay with you, I could email you access to the WordPress admin panel so you can review the settings. Let me know.
Thank you for your response. I copied the code into Code Snippets, but it didn't work. When the checkout loads, it loads in COP, but as soon as it finishes, it switches to USD, regardless of whether I select Mercado Pago or PayPal. If it's okay with you, I could email you access to the WordPress admin panel so you can review the settings. Let me know.
Quote from Alex Dev on June 2, 2026, 11:13Hello Segio
Place please tmp wp-admin access to the private area of this ticket: (before create backup of the site please)
https://share.pluginus.net/image/i20230222134241.png
https://share.pluginus.net/image/i20230222134615.png
https://share.pluginus.net/image/i20230222134511.png - if you have premium version installedAlso please ccheck that in tab Advanced options "Is multiple allowed is enabled"
Hello Segio
Place please tmp wp-admin access to the private area of this ticket: (before create backup of the site please)
https://share.pluginus.net/image/i20230222134241.png
https://share.pluginus.net/image/i20230222134615.png
https://share.pluginus.net/image/i20230222134511.png - if you have premium version installed
Also please ccheck that in tab Advanced options"Is multiple allowed is enabled"

