Support Forum

Content of the article

WPBE - WordPress Posts Bulk Editor Professional
You need to log-in to create request (topic) to the support

Issue With Checkout Payment Currency

(new from 01-07-2019)
support doesn work on saturdays and sundays, so some friday requests can be answered on monday

Hi,

Thanks for this amazing plugin. It solved my currency switcher issue effectively but I have a little problem. The website I'm creating is a Nigerian store aiming to target international clients as well. The problem is that I can only select Dollars or other Currencies against the Nigerian Naira. Ordinarilly that won't be an issue but the only payment gateway I can use conveniently for international clients is PayStack and they don't accept payment in Dollars. Hence everything works perfectly with the plugin until clients have to actually pay for my products. The problem is that I think I need to make Naira the default currency but I've been unable to so far. When I actually do achieve that the exchange range scatters. I've attached a couple of screenshots to better explain this as well.

Hello

If you use USD as the base currency.  Add  this  code  to functions.php

add_filter('wp_head',function(){
if(is_checkout()){
global $WOOCS;
$WOOCS->set_currency('NGN');
}
});

If you use NGN as the base currency.  Set  option - https://c2n.me/43soKFl.png

 

Thanks a lot. The code solved the problem perfectly. Really appreciate your swift help.

Hello

welcome;)