Title: Country Based Bank Accounts for WooCommerce
Author: Marian Kadanka
Published: <strong>August 19, 2017</strong>
Last modified: October 12, 2026

---

Search plugins

![](https://ps.w.org/woo-country-based-bank-accounts/assets/banner-772x250.png?rev
=3741642)

![](https://ps.w.org/woo-country-based-bank-accounts/assets/icon-256x256.png?rev
=3741642)

# Country Based Bank Accounts for WooCommerce

 By [Marian Kadanka](https://profiles.wordpress.org/mariankadanka/)

[Download](https://downloads.wordpress.org/plugin/woo-country-based-bank-accounts.3.0.zip)

 * [Details](https://srd.wordpress.org/plugins/woo-country-based-bank-accounts/#description)
 * [Reviews](https://srd.wordpress.org/plugins/woo-country-based-bank-accounts/#reviews)
 *  [Installation](https://srd.wordpress.org/plugins/woo-country-based-bank-accounts/#installation)
 * [Development](https://srd.wordpress.org/plugins/woo-country-based-bank-accounts/#developers)

 [Support](https://wordpress.org/support/plugin/woo-country-based-bank-accounts/)

## Description

If you sell abroad and hold bank accounts in more than one country, WooCommerce 
prints every one of them on every order. Customers have to work out which account
is meant for them, and some pay into the wrong one or pay for an international transfer
they did not need.

This extension assigns the bank accounts of the built in Direct bank transfer (BACS)
gateway to the countries they are meant for. A customer billed to Slovakia then 
gets only your Slovak account, a customer billed to Czechia only your Czech one,
both on the order confirmation page and in the order email. Where no account is 
meant for the billing country, you can either have all of them printed so the customer
can still pay, or hide the BACS gateway from that customer at checkout.

#### How to set it up

 1. Set your bank accounts up as usual in WooCommerce > Settings > Payments > Direct
    bank transfer.
 2. Open WooCommerce > Settings > Country Based Bank Accounts, where every one of those
    accounts is listed.
 3. Select the countries each account is meant for. Leave an account’s country list
    empty to have it printed for every country, which makes it your account for the
    rest of the world.
 4. Under Direct bank transfer behavior on checkout, decide what happens when a billing
    country appears in none of those lists: either the BACS gateway is hidden from 
    that customer, or it stays on offer and all of your accounts are printed so they
    can still pay.

#### Good to know

 * No customer is ever left without an account to pay into. When a billing country
   appears in none of the lists, all accounts are printed rather than none.
 * A bank account whose country list is left empty counts for every country: it 
   is always printed, and it keeps the BACS gateway available to everyone. The settings
   page warns you when hiding is switched on and therefore has no effect.
 * Editing a bank account keeps the countries you selected for it, on the classic
   settings form as well as on the block based payment settings screen. They used
   to be lost, because a bank account has no id of its own and WooCommerce had already
   replaced it by the time the plugin heard about the save.
 * Hiding the BACS gateway works on the classic as well as the block based checkout.
   On the block based one the gateway disappears about a second after the billing
   address reaches the server, and the browser hides it even when that update never
   arrives, so a customer on a flaky connection is not offered an account meant 
   for somebody else.
 * Only country codes are sent to the customer’s browser, never your bank account
   details.

This WooCommerce addon is compatible with:
 * WooCommerce 3.4 or newer * both the
classic and the block based Cart and Checkout

## Screenshots

[⌊Country Based Bank Accounts settings page for WooCommerce⌉⌊Country Based Bank 
Accounts settings page for WooCommerce⌉[

Country Based Bank Accounts settings page for WooCommerce

## Installation

 1. Go to Plugins > Add New > Search
 2. Type Country Based Bank Accounts for WooCommerce in the search box and hit Enter
 3. Click on the button Install and then activate the plugin

#### Manual Installation

The manual installation method involves downloading our plugin and uploading it 
to your webserver via your favourite FTP application. The WordPress codex contains
[instructions on how to do this here](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation).

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

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

Contributors

 *   [ Marian Kadanka ](https://profiles.wordpress.org/mariankadanka/)

[Translate “Country Based Bank Accounts for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/woo-country-based-bank-accounts)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/woo-country-based-bank-accounts/),
check out the [SVN repository](https://plugins.svn.wordpress.org/woo-country-based-bank-accounts/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/woo-country-based-bank-accounts/)
by [RSS](https://plugins.trac.wordpress.org/log/woo-country-based-bank-accounts/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 3.0

 * Add: block based Checkout support, the BACS gateway can be hidden there too, 
   including while the checkout cannot reach the server
 * Fix: all bank accounts are printed instead of none when the billing country is
   not selected for any account
 * Fix: the countries selected for a bank account are kept when the bank account
   details are edited, instead of being left behind under the details the account
   had, on both the classic Direct bank transfer settings form and the block based
   payment settings screen
 * Tweak: the “disable BACS” checkbox became two radio buttons spelling out what
   customers from other countries get, the stored setting is unchanged
 * Tweak: the settings page now explains what the plugin does and warns when hiding
   the gateway cannot work, because a bank account with no country selected matches
   every country
 * Tested up to WordPress 7.1, WooCommerce 11.2

#### 2.0.2

 * Tweak: change plugin name due to trademark violation
 * Tested up to WordPress 6.8, WooCommerce 10.1

#### 2.0.1

 * Add: HPOS support
 * Tested up to WordPress 6.4, WooCommerce 8.2, PHP 8.1

#### 2.0

 * Added option to disable BACS payment gateway on the checkout page if customer
   billing country doesn’t match any of the configured countries

#### 1.1

 * Tested up to WordPress version 4.9

#### 1.0

 * Initial release.

## Meta

 *  Version **3.0**
 *  Last updated **4 days ago**
 *  Active installations **200+**
 *  WordPress version ** 4.2 or higher **
 *  Tested up to **7.1.3**
 *  Language
 * [English (US)](https://wordpress.org/plugins/woo-country-based-bank-accounts/)
 * Tags
 * [bacs](https://srd.wordpress.org/plugins/tags/bacs/)[bank account](https://srd.wordpress.org/plugins/tags/bank-account/)
   [country](https://srd.wordpress.org/plugins/tags/country/)[woocommerce](https://srd.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://srd.wordpress.org/plugins/woo-country-based-bank-accounts/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/woo-country-based-bank-accounts/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/woo-country-based-bank-accounts/reviews/)

## Contributors

 *   [ Marian Kadanka ](https://profiles.wordpress.org/mariankadanka/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/woo-country-based-bank-accounts/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=marian.kadanka@gmail.com&item_name=Donation+for+Marian+Kadanka)