Overview #
The WooCommerce Gateways by Country, State or Postcode plugin allows you to set up WooCommerce payment gateways by the customer’s country, state, or postcode.
Enabling WooCommerce Payment Gateways by Country or State #
To enable and use the WooCommerce Gateways by Country, State or Postcode plugin, you should first download and install Booster for WooCommerce.
1. Navigate to WordPress Dashboard > WooCommerce > Settings > Booster > PAYMENT GATEWAYS > Gateways by Country, State or Postcode.
The WooCommerce Gateways by Country, State or Postcode Module Options page will be displayed.
2. In the Gateways by Country, State or Postcode section, check the box for Enable Module field.
3. Scroll down to the end of the page and click Save changes.
The WooCommerce Gateways by Country, State or Postcode plugin will be enabled for your site.
Configuring Payment Gateways by Country/State/Postcode For WooCommerce #
You can set up WooCommerce payment gateways by the customer’s country, state, or postcode using this option.
1. Navigate to WordPress Dashboard > WooCommerce > Settings > Booster > PAYMENT GATEWAYS > Gateways by Country, State or Postcode.
The WooCommerce Gateways by Country, State or Postcode Module Options page will be displayed.
2. In the General Options section, enter/select required values for the fields. Refer to the table below for field descriptions:
Field | Description |
Detect Country by | Field by which the country of the customer is determined |
Detect State by | Field by which the country of the state is determined |
Detect Postcode by | Field by which the postcode of the customer is determined |
3. In the Payment Gateways section, enter/select required values for the fields. Refer to the table below for field descriptions:
Note: The sub-sections in the Payment Gateways section – Direct bank transfer, Check payments, Cash on delivery, and Paypal – all have the same set of fields. The field descriptions given in the table below are applicable to the fields of all the sub-sections.
Field | Description |
Include Countries | Countries that will be included for the gateway |
Exclude Countries | Countries that will be excluded for the gateway |
Include States (Base Country) | States of the base country that will be included for the gateway |
Exclude States (Base Country) | States of the base country that will be excluded for the gateway |
Include Postcodes | Postcodes that will be included for the gateway. Enter one postcode per line. Postcodes containing wildcards (e.g. CB23*) and fully numeric ranges (e.g. 90210…99000) are also supported. |
Exclude Postcodes | Postcodes that will be excluded for the gateway. Enter one postcode per line. Postcodes containing wildcards (e.g. CB23*) and fully numeric ranges (e.g. 90210…99000) are also supported. |
4. Repeat step 3 for all the payment gateways.
5. Click Save changes.
The WooCommerce payment gateways by country/state/postcode will be configured.