Help CenterContact support
All Checkora: Hide Payment Methods articles

How do I test rules in the simulator?

Updated

On this page
  1. Build a scenario
  2. Read the result
  3. Saved scenarios

The Simulator runs your saved rules through the same function your checkout runs, so it shows which payment methods buyers see once the checkout function is on. It does not change anything in your store.

Build a scenario

  1. Open Simulator.
  2. Cart: click Pick products to add real products from your store, or Add line by hand and fill in the fields your rules look at (Price per item, Quantity, Product tags, SKU and so on).
  3. Delivery: enter the Country code, Region code and Postcode, and choose the Delivery method the buyer selected (or “Not chosen yet”).
  4. Buyer: tick Logged in for a customer account, add Customer tags, tick Checks out for a B2B company, and enter the order history: Orders placed, Total spent, Open COD orders, Cancelled COD orders. Guests count as 0. Choose the Checkout language.
  5. Payment methods: list the payment methods your checkout offers, in their order, with the names buyers see. Reset to examples puts back the example list.

Read the result

  • Before your rules lists every payment method; the ones a rule hides carry a Hidden badge.
  • What the buyer sees shows the final list, with Renamed from … and Moved from position … badges.
  • Rules shows each rule as Matches, Does not match or Turned off, with every condition marked (met) or (not met).
  • Tick Include turned-off rules to test rules before you switch them on.
  • When a rule matches but checkout does not run it yet, a Not live at checkout yet banner says why: the payment function is off (click Turn on at checkout), checkout still runs an older version of your rules (click Update checkout), or the function is not installed.
  • On a wide screen the result sits beside the scenario and stays in view while you scroll.

Saved scenarios

Enter a Scenario name and click Save scenario to keep the scenario on screen with the result it gives now (up to 20). After you change your rules, click Run all: each scenario shows Pass or Mismatch, and a mismatch lists which payment method changed. Delete asks you to confirm before it removes a scenario.

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