In some cases you would like to limit the payment gateways your WooCommerce store offers based on the customer’s billing country. The following code snippet uses the woocommerce_available_payment_gateways filter to accomplish this. First, you will need to find and copy the payment gateway stub by going to: WP-Admin > WooCommerce > Settings > Payments > …
Continue reading “Limit WooCommerce Payment Gateways Based on country”