Skip to main content

Examples

Recipes for common verification policies. Each example lists the rule's group operator and conditions — recreate them in the rule editor with Add condition.

State-restricted products

Goal: only verify customers when a regulated product ships to a state that restricts it — for example, ammunition shipping to Connecticut.

Rule: "CT ammunition" — Match ALL (AND)

  • Shipping to state/province — United States, Connecticut
  • Products in collection with a specific metafield — set the real_id.requires_verification metafield to true on your ammunition collection

Orders shipping ammunition anywhere else, or shipping other products to Connecticut, are not verified. Works in every flow.

If several states restrict different product sets, create one rule per state — rules combine with OR, so each policy triggers independently.

High-value, high-risk orders

Goal: screen for fraud without verifying every large order — only orders that are both expensive and flagged by Shopify's fraud analysis.

Rule: "Large risky orders" — Match ALL (AND)

  • Cart total above amount — e.g. 500
  • Order risk level — Medium, High

This rule uses order risk, so it's after checkout only.

Card-not-present fraud screen

Goal: verify orders that show a classic chargeback pattern — paid by credit card with a billing address that doesn't match the shipping address.

Rule: "Card + address mismatch" — Match ALL (AND)

  • Credit card payment
  • Billing/shipping address mismatch

Both conditions depend on order data, so this rule is after checkout only.

Everyone except wholesale accounts

Goal: verify all orders, except from business customers you've already vetted and tagged wholesale in Shopify.

Rule: "All retail orders" — Match ALL (AND)

  • All orders
  • Customer tag — does not contain wholesale

Before checkout, the customer must be logged in for the tag to be read. After checkout, the order's customer is used directly.

tip

For customers who've completed a Real ID check before, use the Remember verified customers exception instead — it skips repeat verification automatically without tagging.

Mixed AND/OR logic with nested groups

Goal: verify orders shipping to Connecticut that contain either ammunition or another regulated product line.

Rule: "CT regulated products" — Match ALL (AND)

  • Shipping to state/province — United States, Connecticut
  • Nested group — Match ANY (OR)
    • Products in collection with a specific metafield (ammunition collection)
    • Cart contains products (specific regulated SKUs)

Use Add nested group inside the rule editor to build the inner OR group. Groups can be nested up to two levels deep.