KlinKode

Hide COD by Province in Shopify: How to Set It Up in 2026 – KlinKode

  • Home
  • PayRules App
  • Hide COD by Province in Shopify: How to Set It Up in 2026 – KlinKode
hide COD by province in Shopify

Hide COD by Province in Shopify: How to Set It Up in 2026 – KlinKode

Introduction

A country-wide payment rule may be too broad for your delivery setup. Maybe your courier takes cash in most of Canada, but not in Ontario. You can hide COD by province in Shopify so the rule only covers the region where it does not work. Use a province condition when your COD policy differs by region.

In this guide, you will learn how to do it. You will hide Cash on Delivery when the shipping province is Ontario and keep Credit card and Bank deposit. You will see a real example, a message you can copy, one Shopify fact that surprises many people, and an honest look at other apps.

What Does It Mean to Hide COD by Province in Shopify?

COD means Cash on Delivery. The shopper pays when the order arrives. A province is a region inside a country, like Ontario in Canada. In other countries the same idea is called a state.

To hide COD by province means shoppers do not see the COD option when the order is going to a certain province. The app reads the delivery address that the shopper types in checkout. If the province matches your rule, COD is hidden. Other payment methods stay.

Here is the difference between a country rule and a province rule:

RuleWhat it doesExample
Country ruleHides COD for every address in a countryNo COD anywhere in Canada
Province ruleHides COD only for one provinceNo COD in Ontario. COD still works in other provinces

A province rule is more precise. You do not turn off COD for places where it works fine.

One Shopify Fact to Know Before You Start

This part is easy to miss. Shopify’s Help Center says that rules based on the shipping country or the shipping province use the address that the shopper enters in checkout. When checkout does not have an address yet, these rules do not match, so they do not hide any payment methods.

What does this mean for you? A shopper may see COD before they type an address. Once they enter an Ontario address, COD should disappear. Test how this looks on your own store, step by step. Also check express checkout buttons, since they can appear before the address is entered.

Why Hide COD by Province?

Here is why store owners do this.

1. Couriers differ by region. A courier may take cash in one province and not in another.

2. It cuts refused orders. If cash cannot be collected, a COD order can come back, and you pay shipping both ways.

3. It keeps COD where it works. You do not take a useful option away from shoppers in other provinces.

4. It helps you avoid extra costs. PayRules’ listing says that hiding methods like COD can help you avoid chargebacks, frozen accounts, and extra shipping costs.

5. It fits your delivery setup. Your shipping zones may not match country borders. A province rule can match them better.

6. It makes your COD policy clear. The checkout shows the same thing your policy says.

One more thing. Rules about cash and delivery can differ from place to place. Check your local laws, and ask a lawyer if you are unsure. I am not a lawyer.

A Real Example: Ontario

Meet Noor. She sells home goods across Canada. Her courier collects cash in most provinces, but not in Ontario.

Noor offers three ways to pay: Credit card, Bank deposit, and Cash on Delivery.

Before, she hid COD for the whole country, because it was easy. But shoppers in other provinces missed it, and some left.

So she changes to one rule in PayRules. When the shipping province is Ontario, hide Cash on Delivery.

Now a shopper in Toronto reaches the checkout and types her address. COD disappears. She sees Credit card and Bank deposits.

A shopper in Alberta types her address. COD stays.

Noor kept COD where it works, and removed it only where it does not.

Write Your COD Policy First

Before you build the rule, write your policy in a few lines. Answer these questions:

  • Which provinces get COD?
  • Why are others excluded? (Courier limits, cost, or risk.)
  • Is there a maximum order amount for COD?
  • Who updates the list when your courier changes?

For Noor, the answers are: every province except Ontario, her courier does not take cash there, no maximum, and Noor updates the list. Then build the rule around your answers. The rule only follows your policy.

How PayRules Works

PayRules is a Shopify app that hides payment methods based on your rules. Its listing says it can hide Cash on Delivery, PayPal, Stripe, Bank deposit, and other methods. Rules can use the cart, the country, the shipping choice, the customer, and more. It has more than 100 reviews. You do not need to write code.

There are a few honest things to know.

First, the free plan is only for development stores. A live store needs a paid plan.

Second, plans limit how many active rules you can have. The smallest paid plan has allowed 5 rules, and “OR” logic is only on the top plan. Plans can change, so check the listing.

Third, the listing names location conditions. I did not find the word “province” in the listing text I read. So check inside the app that you can pick a province. If not, ask the support team.

How to Hide COD by Province in Shopify with PayRules

Menus can change over time, so read the app’s own guide too. But the steps look like this:

  1. Copy your payment method name. Open your Shopify payment settings and copy the exact name of Cash on Delivery.
  2. Check how provinces are written. Some apps use the full name, like Ontario. Others use the province code, like ON.
  3. Install PayRules from the Shopify App Store and open it.
  4. Add a new hide rule.
  5. Pick the method to hide. Choose Cash on Delivery.
  6. Add a condition for the province. Tell the rule to run when the shipping province is Ontario.
  7. Add a country condition (recommended). Set it to Canada, so the rule only fires in the right country.
  8. Save the rule.
  9. Test it with an Ontario address and a different province.

Here is one thing to watch. Make sure Credit cards and Bank deposits stay visible. A checkout with no methods loses every sale.

Test Your Rule

Before you tell anyone, test it. Try these cases:

  • An Ontario address: COD should be hidden. Credit card and Bank deposit should show.
  • An address in another province: COD should show.
  • Before the address is typed: Check what shoppers see. Shopify says province rules need a delivery address to match.
  • Change the address mid-checkout: Start with Alberta, then switch to Ontario. Check that the list updates.
  • The province code: Try an address with the full name and one with the short code, and check the result.
  • A US address with the same code: Check that your country’s condition keeps the rule in Canada only.
  • Quick-pay buttons: The listing mentions hiding express checkout too. Decide what you want.
  • Guest and signed-in shoppers: Test both.
  • Your phone: Many shoppers buy on mobile.

Tell Shoppers Early

Don’t wait until checkout to share your policy. Say it in a few places:

  • On your shipping or payment page
  • In your FAQ
  • On product pages, if COD is a big draw
  • In the cart, as a short note

When shoppers know early, they pick the right method. That means fewer surprises and fewer abandoned carts.

PayRules vs. Other Apps: An Honest Comparison

PayRules is not the only tool for the job. Some apps are simpler. Some do not fit every store. Here is a fair look. I could not verify every detail, so always check the app listing before you choose.

OptionBest forWatch out for
PayRulesHiding methods by location, cart, product, or customerFree plan is for dev stores only; confirm the province option in the app
HidePayHiding, sorting, and renaming methods by geography, cart total, product, and moreProvince option not verified; free plan is for dev stores only
PayfyHiding methods by country, address, products, and customer tagListing details were old; province option not verified
Shopify’s own payment settingsFree, built into your storeI did not verify province-based hiding

PayRules. It is built for this kind of job. It hides methods based on location and many other rules. The reviews are strong. The downsides are the dev-only free plan, the rule limits, and the province option I could not confirm.

HidePay. Its site says you can adjust payment methods by delivery country, zip or postal code, Shopify market, and more, with AND and OR logic. It has a Built for Shopify badge and a 4.8 rating from 390 reviews, and I did not see that badge on PayRules. I did not find the word “province” in what I read, so ask its team. Its free plan is only for development stores. And one merchant wrote that the app embed crashed their theme editor, so test it on a copy of your theme first.

Payfy. Its listing says it can hide methods by country, discount, products, weight, address, and shipping method, with no Plus plan needed. The listing text I saw was old, and I did not see a province option. Read the current listing first.

Shopify’s own payment settings. Shopify has payment settings built in, and they are free. It is worth checking them first. But I did not verify that you can hide a method by province there.

So which one should you pick? Ask each team one clear question: “Can it hide Cash on Delivery when the shipping province is Ontario?” Then test on a trial. If you are on Plus, look at Checkout Blocks too.

Tips to Make It Work Better

  • Use the country and province together. This keeps the rule from firing in the wrong place.
  • Pick one style for the province code. Use the same format everywhere, and ask your app which one it expects.
  • Keep a simple list. Write down each province, the reason, and the date you added it.
  • Add an amount limit. You can also limit COD by cart total. High-value COD orders carry more risk.
  • Review the rule every few months. Couriers and costs change.
  • Offer easy alternatives. Make sure card and bank options work well.

Common Mistakes to Avoid

  • Mixing up the name and the province code. Typing Ontario when the app expects ON, or the other way around, means the rule never fires.
  • Forgetting the country’s condition. The rule may match the wrong place.
  • Hiding every method by accident. Always test a full checkout.
  • Skipping the before-address test. COD may show until the shopper types an address.
  • Typing the method name wrong. Copy it exactly from your payment settings.
  • Forgetting to update. When your courier changes its map, update the rule.

FAQ

Can I hide COD by province in Shopify without Plus?
Yes. PayRules and similar apps can do it on other plans. Checkout Blocks, the native tool, is for Plus stores.

Will Credit card and Bank deposit still show?
Yes. In this example, only Cash on Delivery is hidden for Ontario. The other methods stay.

Does the rule work before the delivery address is entered?
Shopify says province rules do not match until checkout has an address. So COD may show first and disappear after the shopper types an Ontario address. Test it on your store.

Can I hide COD for more than one province?
Probably. You may need more than one rule, or a rule that lists several provinces. Check how your app handles it, and watch your plan’s rule limit.

Do I need to know the code?
No. You build the rule in the app.

Is the free plan enough for a live store?
No. The free plan is for development stores. A live store needs a paid plan.

Final Thoughts on How to Hide COD by Province in Shopify

A country-wide payment rule may be too broad. When your COD policy differs by region, a province rule keeps COD where it works and hides it where it does not.

You can hide COD by province in Shopify with one clear rule. Write your policy first. Copy your method name. Pick the province, and add the country. Test an Ontario address, another province, and the moment before the address is typed. Tell shoppers early.

PayRules lets you build this rule without code. If another app fits you better, use the comparison above to ask the right questions.

Ready? Open the PayRules listing, set your first rule today, and let COD show up only where it should.

Make a comment

Your email adress will not be published. Required field are marked*

Prev
Next
Drag
Map