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
- Default:
General Options
- Detect country by
- Possible values: Billing country; Shipping country; Country by IP.
- Default:
Billing country
- Default:
- Detect state by
- Possible values: Billing state; Shipping state.
- Default:
Billing state
- Default:
- Detect postcode by
- Possible values: Billing postcode; Shipping postcode.
- Default:
Billing postcode
- Default:
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
- 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
- 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
- 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