Help CenterContact support
All Checkora: Hide Payment Methods articles

How do I create a payment rule?

Updated

On this page
  1. Create the rule
  2. Turn the function on
  3. Order, switching off and copies
  4. Names in the buyer’s language
  5. Good to know

A rule has Conditions (when it applies) and one Action (what happens to the payment methods at checkout). Rules run inside Shopify checkout through a Shopify Function, without theme changes or an app embed.

Create the rule

  1. Open Rules and click Add rule. (To start from a ready-made rule, click Add from preset instead; see Use the Cash on Delivery presets.)

  2. Under Rule, enter a Name. Only you see this name.

  3. Under Conditions, click Add condition and pick a Condition type:

    • Products in the cart: Product tag, Collection, Product type, Vendor, SKU. Under Match, choose Any item has one of, Every item has one of or No item has any of. A SKU ending in * matches every SKU that starts with it.
    • Cart: Cart subtotal and Item quantity, each with a Minimum, a Maximum or both. Amounts are in your store currency.
    • Delivery: Country (two-letter codes such as IT), Region or province (codes such as IT-MI), Postcode (exact codes, prefixes such as 35*, ranges such as 57030-57039, or * for the whole country) and Delivery method (Shipping, Local delivery, Local pickup, Pickup point).
    • Customer: Customer tag, Customer login (the buyer is logged in / is not logged in), B2B buyer (checks out for a company in Shopify B2B, optionally only named companies).
    • Cart, address and schedule: Shipping method name, Cart weight, Cart contents, City, Address type, Address lines, Day of the week, Date, Time of day, Currency and Cart attribute. See Hide a payment method by shipping method, cart contents, address details or time.
    • Order history: Customer orders, Customer total spent, Open COD orders and Cancelled COD orders. See Hide Cash on Delivery by order history.

    With no conditions, the rule applies to every checkout.

  4. Under Apply the rule when, choose All conditions match or Any condition matches.

  5. Under Action, choose What should happen:

    • Hide payment methods
    • Show only these payment methods: hides every other payment method. See Show only some payment methods.
    • Rename payment methods: write the New name per language. {title} keeps the current name, for example {title} – pay at the door.
    • Move payment methods: Move to the Top of the list, the Bottom of the list or A position (1 is the first payment method shown).
  6. Under Which payment methods, set Name match to Any name, Name contains or Name is exactly, and enter the Name text, for example Cash on Delivery. Names are compared without letter case, against the name the buyer sees at checkout.

  7. Turn on Switched on when the rule is ready, and click Save.

The Summary box shows the rule in plain words (“When all of these are true: … Then: …”) while you edit.

Turn the function on

Rules reach checkout only when the payment function is on. On the Rules page, click Turn on on the Payment methods card. After that, saving rules updates checkout automatically. If the card shows Needs update, click Update checkout.

Order, switching off and copies

  • Rules run from the top of the list down. Use the move up and move down actions in the list to change the Priority.
  • Every matching rule hides its payment methods; for Show only, renames and moves the higher rule wins. A hidden payment method is never renamed or moved.
  • Use the On switch in the list to stop a rule without deleting it.
  • Duplicate a rule to start a similar one. The copy starts switched off.

Names in the buyer’s language

Manual payment methods such as Cash on Delivery keep the name you gave them in Settings > Payments. Payment providers can show their methods under other names in other languages, so check the names in the simulator. For renamed methods, checkout uses the name for the buyer’s language (English, German, French, Italian, Spanish, Dutch or Polish), then the Default language set under Settings › Buyer languages, then English.

Good to know

  • The app cannot add a payment method or change a price. It works on the payment methods your store already offers.
  • Each store can have up to 200 rules. Without Pro, one rule runs at checkout at a time, and renaming, reordering and conditions on the customer’s order history need Pro (stores that installed the app before November 12, 2026 keep them). Shopify also limits functions (up to 100 product tags, customer tags and collections each, and a processing budget per checkout). The Rules page shows how many different items a cart can hold while your rules are still checked. Bigger carts show every payment method.

Built and supported by StoreFleet, Shopify app developers since 2021.