Aller au contenu
WordPress.org

Français

  • Thèmes
  • Extensions
  • Actualités
    • Documentation
    • Forums
  • À propos
  • Compositions
    • Équipes
    • Guide de contribution
  • Obtenir WordPress
Obtenir WordPress
WordPress.org

Plugin Directory

Country Based Bank Accounts for WooCommerce

  • Envoyer une extension
  • Mes favoris
  • Se connecter
  • Envoyer une extension
  • Mes favoris
  • Se connecter

Country Based Bank Accounts for WooCommerce

Par Marian Kadanka
Télécharger
  • Détails
  • Avis
  • Installation
  • Développement
Support

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

Captures d’écrans

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.

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs/contributrices & développeurs/développeuses

« Country Based Bank Accounts for WooCommerce » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs
  • Marian Kadanka

Traduisez « Country Based Bank Accounts for WooCommerce » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal des modifications

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.

Méta

  • Version 3.0
  • Dernière mise à jour il y a 4 semaines
  • Installations actives 100+
  • Version de WordPress 4.2 ou plus
  • Testé jusqu’à 7.1.4
  • Langue
    English (US)
  • Étiquettes
    bacsbank accountcountrywoocommerce
  • Vue avancée

Évaluations

Aucun avis n’a encore été envoyé.

Votre avis

Tout voir

Contributeurs

  • Marian Kadanka

Support

Quelque chose à dire ? Besoin d’aide ?

Voir le forum de support

Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

Faire un don à cette extension

  • À propos
  • Actualités
  • Hébergement
  • Confidentialité
  • Vitrine
  • Thèmes
  • Extensions
  • Compositions
  • Apprendre
  • Support
  • Développeurs & développeuses
  • WordPress.tv ↗
  • Contribuer
  • Évènements
  • Faire un don ↗
  • Boutique
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

Français

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • Visitez notre compte X (précédemment Twitter)
  • Visiter notre compte Bluesky
  • Visiter notre compte Mastodon
  • Visiter notre compte Threads
  • Consulter notre compte Facebook
  • Consulter notre compte Instagram
  • Consulter notre compte LinkedIn
  • Visiter notre compte TokTok
  • Visiter notre chaîne YouTube
  • Visiter notre compte Tumblr
Le code est une poésie.