Restricting payment methods by country is easy with WooCommerce Conditional Payments Pro. The plugin allows you to either blacklist or whitelist payment methods based on country. In this example, we will go over both scenarios, either blocking or allowing Check payments for Tuvalu.
Blacklisting payment methods
Blacklisting means blocking payment methods to certain countries and keeping them available for other countries. This is useful if the payment processor is available worldwide but it has denied payments from a certain country.
- Go to WooCommerce > Settings > Payments > Conditions
- Click Add ruleset
- Enter Title, for example Block check payments from Tuvalu
- Enter Conditions
Country (billing) – is – Tuvalu - Enter Actions
Disable payment methods – Check payments - Click Save changes
The payment method will now be unavailable if the billing country is Tuvalu.
Whitelisting payment methods
Whitelisting is inverse action of blacklisting. It means allowing payment method only for a certain country and blocking it for all other countries. This is used if the payment processor is available only in certain regions.
- Go to WooCommerce > Settings > Payments > Conditions
- Click Add ruleset
- Enter Title, for example Allow check payments only for Tuvalu
- Enter Conditions
Country (billing) – is not – Tuvalu
The only difference to blacklisting is changing is to is not - Enter Actions
Disable payment methods – Check payments - Click Save changes
Check payments will now be available only when the billing country is Tuvalu.