Skip to navigation Skip to main content

Free Grow sales & stop fraud — Smart Cycle Discounts + TrustLens, free on WordPress.org Two free WooCommerce plugins

Explore both

Free Grow sales & stop fraud — Smart Cycle Discounts + TrustLens, free on WordPress.org Two free WooCommerce plugins

Explore both
  • WordPress
    WordPress Plugins
    View all
    Smart Cycle Discounts logo

    Smart Cycle Discounts

    Automate discount campaigns with scheduling, analytics, and smart product targeting.

    7 Discount Types Cycle AI
    Free Pro from $59
    TrustLens logo

    TrustLens

    Customer trust intelligence for WooCommerce. Score customers, spot abuse, protect revenue.

    Trust Scores Abuse Detection
    Free Pro from $79

    New Plugin

    Coming Soon

    Something exciting is in the works. Join the waitlist to be first to know.

    Get Notified
    Notify Me
    Secure Checkout
    WordPress.org
    14-Day Refund
    Resources
    Documentation Guides & tutorials
    Discount Calculator Plan your strategy
    Support Get help
    SCD Changelog Discount plugin updates
    TrustLens Changelog Trust intelligence updates
    Get notified on new releases
  • Affiliate
    Program
    Overview How the program works
    How It Works 4 steps from apply to earn
    Commission Details 30% · 60-day cookie · recurring
    Get Started
    Apply Now Open
    Takes ~2 minutes
    Earnings Calculator Estimate your monthly income
    FAQ Payouts, cookies, renewals
    Resources
    Brand Kit Logos, banners, copy, social
    Playbook Tactics that actually convert
    FTC Disclosure How to disclose properly
    Affiliate Terms Full program agreement
    Contact Team Open the contact form
    Earn 30% recurring on every sale Free to join · 60-day cookie · monthly PayPal payouts
    Apply Now
  • Blog
  • DOCS
    Docs & Resources

    Guides, references, and answers for every Webstepper plugin.

    Smart Cycle Discounts Automated WooCommerce discount campaigns
    Getting started › Discount types › Cycle AI ›
    TrustLens Customer trust & fraud intelligence
    Trust scoring › Detection modules › Card-testing defense ›
    Docs Home Guides FAQ Pricing Support
    WordPress tools that solve real problems
  • Contact Us
  • About
    Company

    Our Story

    Founded 2020

    Built by store owners, for store owners. We create WordPress tools that solve real problems.

    Learn more
    Built from Experience Real solutions we use ourselves
    Time is Precious Simple, intuitive tools
    Real Support Talk to the founders
    Legal & Contact
    Contact Us Privacy Policy Terms of Service Refund Policy
    14-Day Money-Back Guarantee No questions asked
Popular requests
  • smart cycle discounts
  • trustlens
  • chargeback protection
GET STARTED

Glossary

1
  • TrustLens Glossary

Detection Modules

9
  • Card Testing Defense
  • Chargeback Tracking
  • Shipping Anomalies
  • Linked Accounts Detection
  • Category Aware Risk
  • Coupon Abuse Detection
  • Order Pattern Analysis
  • Return Abuse Detection
  • Modules Overview

Card Testing Defense

9
  • Attack History
  • Allowlists
  • Geo Diversity
  • Auto Escalation
  • Fingerprinting
  • VIP Bypass
  • Panic Button
  • Velocity Thresholds
  • Overview

Chargeback Monitor

7
  • Ratio Email Alerts
  • Dispute Evidence Report
  • Chargeback Monitor
  • Manual Dispute Entry
  • Stripe WooPayments Ingestion
  • Card Network Thresholds
  • Chargeback Ratio Speedometer

Customer Management

7
  • Admin Notes
  • Checkout Enforcement
  • Order Trust Column
  • Bulk Actions
  • Blocking and Allowlisting
  • Customer Detail Profile
  • Customer List

Automation

7
  • Async Dispatch Retries
  • Webhooks and HMAC
  • Rule Inspector
  • Actions Reference
  • Conditions Reference
  • Triggers Reference
  • Automation Overview

Trust Scoring

5
  • Account Age Loyalty Bonus
  • Signals Explained
  • Six Customer Segments
  • The 0–100 Score
  • How Trust Scoring Works
View Categories
  • Home
  • Docs
  • Trustlens
  • Detection Modules
  • Order Pattern Analysis

Order Pattern Analysis

4 min read

The Order Pattern Analysis module is TrustLens’s positive-signal workhorse. While most modules look for abuse, the Orders module’s primary job is to recognize loyal repeat customers and reward them with score lifts. It also catches the smaller class of order-side abuse: serial cancellations, order manipulation, and unusual ordering velocity.

Module ID: orders. Default: enabled. Free tier (complete).


What It Observes #

The module hooks into WooCommerce order lifecycle events — order created, order status changed, order completed, order cancelled. For each event the module:

  1. Updates the customer’s total_orders, cancelled_orders, and total_order_value aggregates
  2. Updates first_order_date (on first ever order) and last_order_date
  3. Logs an event to the timeline (order_placed, order_completed, order_cancelled)
  4. Queues a score recalculation

Order data is the foundational layer most other modules build on. Return rate is meaningless without order count; coupon abuse signals need order context; chargeback ratios need an order denominator. So the Orders module’s observation work is always on, even if the Orders module’s scoring contribution is disabled.


What It Signals #

The module emits both positive and negative signals, but skews positive.

Loyalty Bonuses (Positive) #

The Orders module uses clean orders — completed orders minus refunds — as the basis for loyalty bonuses. This naturally discounts customers whose order count is inflated by orders they later refunded.

Mutually exclusive tiers:

Clean Orders (total − refunds) Score Reason Shown on Profile
10+ +15 “10 orders without issues”
5+ +10 “5 orders without issues”
3+ +5 (no reason text)
< 3 0 (no signal)

A separate +5 fires when net customer value (total order value minus refund value) is ≥ $1,000, reflected as “High customer value: $X”.

These bonuses stack with the Account Age bonus from the scoring engine. A customer with 10+ clean orders, $1,000+ net value, and 1+ year tenure gets +15 (Orders loyalty) + +5 (Orders value) + +15 (Age) = +35 cumulative positive contribution before any other signals.

Cancellation Penalties (Negative) #

Gated by an absolute count of 3+ cancelled orders, then thresholded on cancellation rate.

Trigger Score Reason Shown on Profile
3+ cancellations and rate ≥ 50% -15 “High cancellation rate: 60%”
3+ cancellations and rate ≥ 30% -10 “Elevated cancellation rate: 35%”
fewer cancellations or lower rate 0 (no signal)

The absolute-count gate suppresses false positives — one cancellation on three orders is a 33% rate but isn’t a pattern. Cancellation patterns are subtler than refund patterns. A customer placing many orders and cancelling some is sometimes shopping (placing to lock pricing, cancelling after comparison); sometimes manipulating (cancelling after a coupon has been applied to test it, then re-ordering); occasionally abusive (creating cancelled “test” orders to game inventory or loyalty programs).


What Counts as a Completed Order #

The Orders module counts orders with the WooCommerce completed status toward total_orders. Orders in processing, on-hold, pending, or cancelled states are tracked separately and do not count toward the loyalty bonus.

This means:

  • A customer with 10 processing orders and 0 completed orders gets no loyalty bonus — they haven’t actually transacted with you yet
  • A customer’s loyalty bonus can grow over time as processing orders move to completed
  • Cancelled orders do not subtract from the loyalty count, but they do contribute to the cancellation rate

Settings #

Setting Default Description
Module enabled On Master toggle

The Orders module has no tunable thresholds — the loyalty tiers and cancellation rates are calibrated against typical e-commerce data and not exposed as settings. Customization is via the trustlens/score_signals filter for sites that need different behavior.


Common Patterns #

The Loyal Customer #

Signature: 10+ completed orders, near-zero cancellations, low refund rate.

Signals: Orders +15 (10+ clean orders), often + Orders +5 (high net value), Returns “Excellent return history” +10, Account Age +5 to +15.

Profile: Trusted to VIP segment. These are the customers you want to allowlist proactively.

The High-Volume B2B Customer #

Signature: 30+ orders, large order values, occasional cancellations from order edits.

Signals: Orders +15, possibly mild cancellation signal.

Profile: Usually Trusted. If cancellation rate edges over 20%, consider allowlisting to suppress the false positive.

The Order Manipulator #

Signature: Many orders, high cancellation rate, often correlated with coupon usage.

Signals: Orders cancellation signal -10 or -15, Coupons signals -10 to -25, sometimes Linked Accounts.

Profile: Caution to Risk. Pattern: place order with coupon, cancel, place again to test different coupons, etc.

The Slow-Burner #

Signature: 3–4 clean orders, no cancellations, low refund rate.

Signals: Orders +5 (3+ clean orders tier).

Profile: Normal to Trusted depending on Returns and Age. The 3-order tier exists so customers don’t need 5 clean orders to start accumulating recognition.


Interaction with Other Modules #

The Orders module is the denominator for many other module calculations:

  • Returns module uses total_orders to compute return rate
  • Coupons module uses order count to detect first-order coupon patterns
  • Chargebacks module uses order count for per-customer ratio (disputes / orders)
  • Linked Accounts module uses order count to weight which accounts in a link matter most

This is why even if you disabled the Orders module’s scoring, the underlying observation work continues — the data is foundational.


False-Positive Watch List #

  • Restocking B2B customers. A wholesale buyer placing then cancelling orders to update quantities can trip the cancellation signal. Allowlist them — their behavior is operational, not abusive.
  • Customers who use cart-saver tools. Some external apps create then immediately cancel orders. If your store integrates such tools, suppress the cancellation signal on those orders via a custom filter.
  • Recent migrators. A customer migrated from another platform with 10 historical orders may not be marked complete in WooCommerce — they look like 0-order customers until Historical Sync correctly maps statuses.

Disabling the Module #

Disabling Orders is unusual but valid for stores that:

  • Use the loyalty bonus from an external loyalty program and want to avoid double-counting
  • Want only abuse-side signals contributing to scores, with no positive lift from order count

When disabled, no Orders signals fire, but order events are still observed — total_orders, last_order_date, etc. continue to update because other modules depend on them.


Reading the Orders Section of a Profile #

On the Customer Detail page:

  • Signal breakdown shows one Orders signal (loyalty tier) and optionally a cancellation signal
  • Stats panel shows total_orders, cancelled_orders, total_order_value, first/last order dates
  • Event timeline shows each order_placed, order_completed, and order_cancelled event with the order ID and amount

The event timeline is the easiest way to spot patterns — clusters of cancellations, sudden spikes in order velocity, or long quiet periods between orders all show up visually.

Updated on June 4, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Coupon Abuse DetectionReturn Abuse Detection
Table of Contents
  • What It Observes
  • What It Signals
    • Loyalty Bonuses (Positive)
    • Cancellation Penalties (Negative)
  • What Counts as a Completed Order
  • Settings
  • Common Patterns
    • The Loyal Customer
    • The High-Volume B2B Customer
    • The Order Manipulator
    • The Slow-Burner
  • Interaction with Other Modules
  • False-Positive Watch List
  • Disabling the Module
  • Reading the Orders Section of a Profile
Newsletter

Insights that grow your business

Join thousands of WooCommerce store owners who get actionable tips, plugin updates, and industry news every week.

We respect your privacy. Unsubscribe at any time.

Weekly updates — Fresh content every Tuesday
Exclusive content — Tips you won't find on our blog
Early access — Be first to know about new plugins
Webstepper
Weekly WooCommerce Tips
Just now
This week: 5 proven strategies to boost your average order value using smart discount campaigns...
New issue!
Webstepper

Tools for store owners who'd rather grow than grind.

Simple, powerful plugins that help WooCommerce store owners sell more — without the learning curve.

500+ happy stores

Products

  • Smart Cycle Discounts
  • TrustLens
  • Discount Calculator
  • Sale Calendar

Company

  • About Us
  • Blog
  • Contact
  • Affiliates

Resources

  • Help Center
  • Guides
  • Affiliate Program
  • Become a Partner

Questions? We actually answer.

Real humans, real help. No bots, no runaround. Usually within a few hours.

Get in touch
Operated by Setmood LLC · 7901 4th St N, St Petersburg, FL 33702 · United States

© 2026 Webstepper. All rights reserved.

Privacy Terms Refunds
Visa Mastercard PayPal Apple Pay Google Pay & more
Limited Time Offer

Save 15% on
SCD, TrustLens & the Bundle

Smart Cycle Discounts and TrustLens — buy either plugin or grab both in the bundle. Use code at checkout.

WELCOME15
23 hours
:
59 minutes
:
59 seconds
Claim My Discount

Just want one? Smart Cycle Discounts · TrustLens

  • WordPress
    Back
    WordPress Plugins
    View all
    Smart Cycle Discounts logo

    Smart Cycle Discounts

    Automate discount campaigns with scheduling, analytics, and smart product targeting.

    7 Discount Types Cycle AI
    Free Pro from $59
    TrustLens logo

    TrustLens

    Customer trust intelligence for WooCommerce. Score customers, spot abuse, protect revenue.

    Trust Scores Abuse Detection
    Free Pro from $79

    New Plugin

    Coming Soon

    Something exciting is in the works. Join the waitlist to be first to know.

    Get Notified
    Notify Me
    Secure Checkout
    WordPress.org
    14-Day Refund
    Resources
    Documentation Guides & tutorials
    Discount Calculator Plan your strategy
    Support Get help
    SCD Changelog Discount plugin updates
    TrustLens Changelog Trust intelligence updates
    Get notified on new releases
  • Affiliate
    Back
    Program
    Overview How the program works
    How It Works 4 steps from apply to earn
    Commission Details 30% · 60-day cookie · recurring
    Get Started
    Apply Now Open
    Takes ~2 minutes
    Earnings Calculator Estimate your monthly income
    FAQ Payouts, cookies, renewals
    Resources
    Brand Kit Logos, banners, copy, social
    Playbook Tactics that actually convert
    FTC Disclosure How to disclose properly
    Affiliate Terms Full program agreement
    Contact Team Open the contact form
    Earn 30% recurring on every sale Free to join · 60-day cookie · monthly PayPal payouts
    Apply Now
  • Blog
  • DOCS
    Back
    Docs & Resources

    Guides, references, and answers for every Webstepper plugin.

    Smart Cycle Discounts Automated WooCommerce discount campaigns
    Getting started › Discount types › Cycle AI ›
    TrustLens Customer trust & fraud intelligence
    Trust scoring › Detection modules › Card-testing defense ›
    Docs Home Guides FAQ Pricing Support
    WordPress tools that solve real problems
  • Contact Us
  • About
    Back
    Company

    Our Story

    Founded 2020

    Built by store owners, for store owners. We create WordPress tools that solve real problems.

    Learn more
    Built from Experience Real solutions we use ourselves
    Time is Precious Simple, intuitive tools
    Real Support Talk to the founders
    Legal & Contact
    Contact Us Privacy Policy Terms of Service Refund Policy
    14-Day Money-Back Guarantee No questions asked
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies.
More info More info Accept