Country Based Payments for WooCommerce

Maelezo

This plugin gives you option to choose which payment gateway will be available in certain country, or countries.

If you need to have certain payment gateway to be available in all countries, don’t set option for it.

This WooCommerce addon is compatible with:
* WooCommerce 8.5.2

NOTE: Backup your website before updating the plugin. Try to test a new version of the plugin on the staging server before using the plugin on a live site.
This plugin comes as is; there’s no guarantee that it will work with all payment gateways available.
I don’t have access to the premium version of payment gateways, and I haven’t tested this plugin with all payment gateways.
Known payment gateways that this plugin does not work with:
1. Amazon Payments
2. PayPal Checkout

Screenshots

  • Select WCCBP tab in WooCommerce settings.
  • You can choose multiple countries.

Installation

  1. Upload woocommerce-country-based-payment folder to the /wp-content/plugins/ directory
  2. Activate the “Country Based Payments for WooCommerce” through the ‘Plugins’ menu in WordPress

Reviews

Agosti 15, 2024
This is an extremely beautiful plugin, it works perfectly and doesn’t break. I am very grateful to the team Thank you.
Oktoba 18, 2023
Easy interface and you can specify ALL or NO country easily. Or just single countries individually. BUT:- WCCBP is not a common term nor obvious in settings. How about “payments by country”?- all payment modules are shown even if inactive- by default all countries work even if no country had been entered nor is shown.- no easy selection of EU/EEA countries. Also no copy and paste between payment methods possible. Happy entering 27 countries manually for every payment method
Juni 3, 2021
Searched for a while for a solution that lets me disable card payments for specific countries, and this plugin handles it superbly. Straightforward and easy to set up. No issues at all so far, will update if any problems.
Aprili 9, 2020
The plugin is very useful and does what it promises! Installation and set up is straight forward. Thank you very much for the contribution to improve WooCommerce!
Soma maoni yote 12

Wachangiaji & Wasanidi

“Country Based Payments for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

“Country Based Payments for WooCommerce” zimetafsiriwa kwa lugha 2. Thank you to the translators for their contributions.

Translate “Country Based Payments for WooCommerce” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0

  • Initial release.

1.1

  • Fix ‘Invalid payment method’ error

1.1.2

  • Update readme.txt file

1.1.3

  • Fix – compatibility issue with WooCommerce 2.4.6 regarding to the Ajax request

1.1.4

  • Fix – PHP notice undefined index “wc-ajax”

1.1.5

  • Fix – Resolve issue with the payment gateway selection after cancellation of payment

1.1.6

  • Version bump
  • Remove assets folder

1.1.6.1

  • Prevent direct access in php files

1.1.7

  • Fix compatibility with third-party payment gateways

1.1.8

  • Fix: settings tab doesn’t show on multisite installation
    25.07.2018
  • Tested with latest WordPress and WooCommerce version
  • Added notice about GDPR in description

1.2.0

  • Added languages folder and wccbp.pot file, load wccbcp textdomain
  • Added Freemius integration

1.2.1

  • Fix problem with missing settings page

1.2.2

  • Fix fatal error when plugin WooCommerce Germanized is used

1.2.3

  • Fix fatal error when plugin is used with WPML WooCommerce Multilingual

1.2.3.1

  • Fix bug with WCML in previous release

1.2.4

  • Update Freemius SDK

1.2.4.1

  • Temporarily disable Freemius SDK until the bug is resolved

1.2.4.2

  • Fix bug with Freemius SDK

1.3

  • Fix issue with restrictions not applying on checkout page load – https://github.com/woocommerce/woocommerce/pull/24271
  • Apply WP coding standards

1.3.2

  • Fix Fatal error: Uncaught Error: Call to a member function get_billing_country() on null

1.3.3

  • Fix WP REST API error code: rest_setting_setting_group_invalid, message: Invalid setting group

1.4

  • Update Freemius SDK
  • Tested with WC 4.8.0

1.4.1

  • Update Freemius SDK
  • Tested with WC 6.4.1

1.4.2

  • Rename Plugin due WooCommerce trademark complains

1.4.2.1

  • Freemius SDK update to 2.5.10

1.4.3

  • Fix missing file error

1.4.4

  • Freemius SDK update

1.4.4.1

  • Add missing files

1.5

  • Add HPOS compatibility
  • Update Fremius SDK