Checkout7 min read

Shopify Payment Methods by Country: Hide or Show per Market

Offer Cash on Delivery, bank transfer or PayPal only in some countries, regions or postcodes. What Shopify Markets does natively and how to set the rest up.

In this guide
  1. Why payment methods differ by country
  2. What Shopify does natively
  3. Country, region or postcode: choose the level
  4. The address is not known at the start of checkout
  5. Set up a country rule step by step
  6. Rules that are often combined with country
  7. Mistakes to avoid
  8. Where Checkora: Hide Payment Methods fits
  9. FAQ

Shopify shows different payment methods per country in two ways. Shopify Payments turns local methods such as iDEAL or Bancontact on per market, and they appear only for buyers in matching countries. Every other method you activate, including Cash on Delivery, bank transfer and most third-party providers, shows for every country you sell to. To hide those by country, region or postcode you need a payment customization, a Shopify Function from an app that reads the delivery address at checkout. This guide covers what Markets already does, where its limits are, and how to set up country rules that hold up in practice.

Why payment methods differ by country

Selling across borders, the same method can be a good idea in one country and a bad one in the next:

  • Cash on Delivery is common in parts of Europe and elsewhere, but your courier may only collect cash in your home country, or only in mainland regions.
  • Bank transfer suits domestic buyers who can pay in your currency the same day. A foreign buyer may pay fees and wait days for it to clear.
  • Local providers such as a regional invoice or instalment service may only accept buyers from their own countries.
  • Islands and remote regions often have their own courier terms, so Cash on Delivery may be off for the Canary Islands but on for mainland Spain.

What you want is simple to say: show this method only to buyers in these countries, or hide it for those regions.

What Shopify does natively

Shopify Payments and Markets. In Shopify Markets, each market’s payment settings list the local payment methods that fit its countries, and you can turn each eligible one on or off there. To offer a local method in a country, that country has to be part of a market (Shopify Help Center: Local payment methods). If you use Shopify Payments, check this first: for local wallets and bank methods, no app is needed.

Manual methods and other providers. Manual payment methods such as Cash on Delivery or bank deposit have no country setting. Once active, they show at checkout for every destination (Shopify Help Center: Manual payment methods). The same is true of many third-party providers.

Payment customizations. For the rest, Shopify offers payment customizations: Shopify Functions from apps that hide, rename or reorder payment methods at checkout, managed under Settings > Payments > Payment customizations (Shopify Help Center: Checkout customization). They work from the Basic plan up. In the United States and Canada, stores below Plus can customize non-credit-card methods only, which still covers Cash on Delivery, bank transfer and PayPal.

Checkout Blocks. Shopify’s own Checkout Blocks app can hide methods by shipping country or by market, but creating a payment method customization with it is available only on Shopify Plus (Shopify Help Center: Checkout Blocks payment method customizations).

Country, region or postcode: choose the level

Level Use it when Example
Country The method is fine or not fine for a whole country Cash on Delivery only in IT
Region or province Islands, remote areas or one state differ No COD for ES-GC, ES-TF (Canary Islands)
Postcode Your courier covers only some areas Cash on Delivery only for postcodes 20*
Currency You need the rule before the address is known Bank transfer only when paying in CHF

Countries use two-letter ISO codes such as DE or FR; regions join the country and region code with a hyphen, such as IT-SO. Postcodes can be exact codes, prefixes or ranges.

The address is not known at the start of checkout

This is the part most setups miss. An address condition can only match once the buyer has entered an address. Before that, checkout does not know the country, so a well-built rule hides nothing rather than guess. A buyer who opens checkout and looks at the payment section first may see a method that disappears after they type their address.

Two ways to handle it:

  • Accept it. The method vanishes once the address is in, before the buyer can pay. For most shops this is fine.
  • Use the currency. If each country you care about has its own currency in your Markets setup, a Currency condition is known from the first checkout step. A rule on CHF acts for Swiss buyers before they enter an address.

Set up a country rule step by step

The steps use Checkora: Hide Payment Methods; other payment customization apps follow a similar path.

  1. Write the rule as a hide rule. “Cash on Delivery only in Italy” becomes “hide Cash on Delivery when the country is not IT”.
  2. Create the rule. In the app, open Rules, click Add rule and name it.
  3. Add the address condition. Click Add condition and choose Country, Region or province or Postcode. Set Match to is one of or is not one of, and enter the codes, separated by commas or new lines.
  4. Pick the payment method. Under Action, choose Hide payment methods. Under Which payment methods, choose Name contains and enter the name buyers see, such as Cash on Delivery.
  5. Test in the simulator. Enter an address inside your list, one outside, and none at all. Only the address outside should hide the method.
  6. Switch it on. Turn on Switched on, save, and make sure the Payment methods card on Rules shows On.

When it is easier to name what stays than what goes, use Show only these payment methods instead: for buyers in one country, keep only the methods you name and hide the rest. If none of the named methods is available in that checkout, the rule hides nothing, so buyers can always pay.

Rules that are often combined with country

Mistakes to avoid

  • Country names instead of codes. Use DE, not Germany or DEU.
  • “Is one of” when you meant “is not one of”. “Only in Italy” means hiding for every country that is not Italy.
  • A method name that changes by language. Providers can show their methods under another name in another language. Test each checkout language in the simulator, or match a word every version shares.
  • Forgetting the local providers. If Shopify Payments already limits a local method to its market, you do not need a rule for it. Write rules only for methods Shopify shows everywhere.
  • Card payments in the US and Canada. Below Plus, Shopify keeps the card option as it is there, whatever a rule asks.

Where Checkora: Hide Payment Methods fits

Checkora: Hide Payment Methods hides, renames or moves payment methods at checkout with rules that run as a Shopify Function, with no theme changes.

  • Address conditions. Country, Region or province and Postcode with exact codes, prefixes such as 35*, ranges such as 57030-57039, or * for a whole country. UK-style postcodes compare districts, so E1* covers E1 and E1W but not E10.
  • More conditions. City, Address type (PO box, parcel locker), Currency, delivery method, cart, products, customer and order history.
  • Cash on Delivery presets by market. Ready-made rules that keep a local Cash on Delivery method in its own country, created switched off so you can check them first.
  • Rename per language. A new name for a method in English, German, French, Italian, Spanish, Dutch or Polish. Renaming and reordering are on the Pro plan.
  • Simulator. Enter a country, region or postcode and see what the buyer gets, including with no address yet.

What it does not do: it cannot add a payment method, it does not set up Shopify Markets or local payment methods, and below Plus it leaves the credit card option in the US and Canada as it is. Step-by-step help: hide a payment method by country, region or postcode and show only some payment methods. See the app’s page for plans and the full feature list.

FAQ

Can I have different payment methods for different countries on Shopify? Partly. Shopify Payments shows local methods per market. Manual methods such as Cash on Delivery and many other providers show everywhere, and need a payment customization to be hidden by country.

How do I offer Cash on Delivery in only one country? Create a payment customization that hides Cash on Delivery when the delivery country is not that country.

Why does the method show before the buyer enters an address? Address conditions cannot match until checkout knows the address. Use a currency condition if you need the rule earlier.

Do I need Shopify Plus? No. Payment customizations from public apps work from the Basic plan up. Checkout Blocks payment customizations are Plus only.

Can I hide a payment method for one region, such as islands? Yes. Use region or province codes, such as ES-GC and ES-TF for the Canary Islands, or a postcode list for the areas your courier does not cover.