Documentation for Payment Gateways by Country & Address for WooCommerce Plugin

Author: WPFactory PluginsVersion: 1.5.4Updated: 7 months ago
Requires WordPress version: 4.4Tested up to WordPress version: 6.3

Settings

 

With Payment Gateways by Customer Location for WooCommerce Pro plugin you can set countries, states or postcodes to include/exclude for WooCommerce payment gateways to show up.

Customer’s location can be detected by:

  • country (billing, shipping or automatically by IP),
  • state (billing or shipping),
  • postcode (billing or shipping).

Plugin Options

Plugin settings are located in “WooCommerce > Settings > Payment Gateways by Customer Location”.

Enable plugin
Enables/disables plugin. Useful if you want to set up plugin’s options, before enabling it on frontend.
Default: yes

General Options

Payment Gateways by Customer Location for WooCommerce - Admin Settings - General

Detect country by
Possible values: Billing country; Shipping country; Country by IP.
Default: Billing country
Detect state by
Possible values: Billing state; Shipping state.
Default: Billing state
Detect postcode by
Possible values: Billing postcode; Shipping postcode.
Default: Billing postcode

Advanced Options

Payment Gateways by Customer Location for WooCommerce - Advanced Options

Force JavaScript checkout update
If payment gateways section on the checkout page is not updated automatically when customer changes state or postcode, select fields to force the update. Possible values: Billing state; Shipping state; Billing postcode; Shipping postcode.
Default: None

Countries Options

Payment Gateways by Customer Location for WooCommerce - Countries Options

Include countries
Payment gateway will be available ONLY if customer is from selected countries. If set empty – option is ignored.
Default: None
Exclude countries
Payment gateway will NOT be available if customer is from selected countries. If set empty – option is ignored.
Default: None

States Options

Payment Gateways by Customer Location for WooCommerce - States Options

Include states
Payment gateway will be available ONLY if customer is from selected (base country) states. If set empty – option is ignored.
Default: None
Exclude states
Payment gateway will NOT be available if customer is from selected (base country) states. If set empty – option is ignored.
Default: None

Postcodes Options

Payment Gateways by Customer Location for WooCommerce - Postcodes Options

Include postcodes
Payment gateway will be available ONLY if customer is from selected postcodes. If set empty – option is ignored. One per line. Postcodes containing wildcards (e.g. CB23*) and fully numeric ranges (e.g. 90210...99000) are also supported.
Default: None
Exclude postcodes
Payment gateway will NOT be available if customer is from selected postcodes. If set empty – option is ignored. Same format as in “Include postcodes” option.
Default: None