Available Payment gateway not showing
-
Hello,
In the site im building i was trying disable/enable payment if the user country is us or candaWC()->payment_gateways->get_available_payment_gateways();
i looked for example at:
$gateways = WC()->payment_gateways->get_available_payment_gateways();
$gateways['cod']->enable = 'no'this resulted for some reason to remove all available payment gateways. and know even if from the Payment>Settings after i enable different methods they are not working. is there a way to reset the payemnts getways? ive tried to update the woocomerce plugin, worpdress but nothing helps.
thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.