WP Manifestindependent plugin directory
manifest / ecommerce / woo-stripe-express-by-country

Stripe Express Checkout by Country

Restrict the Stripe WooCommerce Express Checkout to specific countries

by Paul Faulkner · github.com/headwalluk/woo-stripe-express-by-country · website

0stars
1release downloads
0forks

Install

The author publishes release zips, so WP-CLI can install straight from GitHub:

wp plugin install https://github.com/headwalluk/woo-stripe-express-by-country/releases/download/v1.0.0/woo-stripe-express-by-country.zip

Readme

Stripe Express Checkout by Country

Make the WooCommerce Stripe Express Checkout (Apple Pay / Google Pay / the Express Checkout Element) conditional on the customer's country.

By default the official WooCommerce Stripe Gateway offers express checkout to everyone, everywhere. This plugin restricts those wallet buttons to a set of countries you choose, in one of two modes:

  • Allow-listonly show express checkout for the selected countries.
  • Block-list — show express checkout for everyone except the selected countries.

Who it's for

Stores that need to steer certain customers into the full WooCommerce checkout rather than the express wallet flow — for example, UK sellers who must keep VAT-exemption-eligible customers (UK, Jersey, Guernsey) in the standard checkout, where the exemption can be applied. Express checkout stays available to everyone else, so conversions elsewhere are unaffected.

How it works

  • Display gate — hides the express-checkout buttons on cart, checkout, and product pages for customers whose country isn't permitted. This is the primary mechanism and is always on.
  • Optional server-side block — off by default; when enabled, also rejects a disallowed express order at checkout (classic and block / Store API flows).

The customer's country is read from their shipping address (falling back to billing) via WooCommerce's customer object, so your WooCommerce geolocation settings apply.

Requirements

Installation

  1. Ensure WooCommerce and the WooCommerce Stripe Gateway are installed and active.
  2. Upload the plugin to /wp-content/plugins/ and activate it.
  3. Go to WooCommerce → Stripe Express by Country, choose a mode, and select the countries.

Documentation

  • Settings — every option explained, including empty-list behaviour and a worked example.
  • Hooks — the wsec_is_customer_allowed filter for custom logic, plus the WooCommerce/Stripe hooks the plugin uses.

Development

See CLAUDE.md for architecture and conventions, and dev-notes/00-project-tracker.md for the roadmap. The codebase follows the WordPress Coding Standards — run phpcs before committing.

License

GPL-2.0-or-later. See LICENSE.

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
v1.0.0 Jul 1, 2026 woo-stripe-express-by-country-1.0.0.zip 0
v1.0.0 Jul 1, 2026 woo-stripe-express-by-country.zip 1