Skip to navigation Skip to main content
Free on WordPress.org 4.9 / 5 WordPress.org Explore both Plugins
Free on WordPress.org 4.9 / 5 WordPress.org Explore both Plugins
  • WordPress
    Products
    Smart Cycle DiscountsDiscount automation › TrustLensCustomer trust intel › Cycle AI AIPlain-English campaigns ›
    New pluginComing soon
    Resources & toolsDocs, pricing, support ›
    Smart Cycle Discounts

    Smart Cycle Discounts

    Automate WooCommerce discount campaigns — schedule, target, and measure.

    62%
    Free Pro $59 5 discount types Recurring
    Jump into the page
    How it works Capabilities Promo codes Pricing
    Docs
    Getting started Discount types Scheduling
    Explore Smart Cycle Discounts → Changelog
    TrustLens

    TrustLens

    Customer trust intelligence — score buyers, spot abuse, protect revenue.

    Trust 86
    Free Pro $79 6 segments Abuse detection
    Jump into the page
    How it works Detection Outcomes Pricing
    Docs
    Trust scoring Detection modules Card-testing defense
    Explore TrustLens → Verify a report Changelog

    Cycle AI inside Smart Cycle Discounts

    Describe a sale in plain English — Cycle AI builds the whole campaign.

    “20% off hoodies this weekend”
    Included in Pro Natural language Catalog-aware
    See it work

    Type a sentence, get a ready-to-launch discount campaign that already understands your products, prices, and schedule.

    Live demo How it works
    Meet Cycle AI →

    A new plugin Coming soon

    Something is loading in the lab. Join the list to get the reveal first.

    Notify me on launch →

    Resources & tools

    Everything around the plugins — docs, free tools, and help.

    Learn
    Documentation Pricing & bundle Support
    Free tools
    Discount Calculator Sale Calendar
    Stay current
    SCD changelog TrustLens changelog
    Compare all plans →
    Secure checkout WordPress.org 14-day refund View pricing →
  • Affiliate
    Program
    OverviewHow the program works How it works4 steps from apply to earn Commission details30% · 60-day cookie · recurring
    Get started
    Apply nowOpen Takes ~2 minutes Earnings calculatorEstimate your monthly income FAQPayouts, cookies, renewals
    Resources
    Brand kitLogos, banners, copy, social PlaybookTactics that actually convert FTC disclosureHow to disclose properly Affiliate termsFull program agreement Contact teamOpen the contact form
    Earn 30% recurring on every saleFree to join · 60-day cookie · monthly PayPal payouts Apply now
  • Blog
  • DOCS
    Docs & resources

    Guides, references, and answers for every Webstepper plugin.

    Smart Cycle DiscountsAutomated WooCommerce discount campaigns
    Getting started› Discount types› Cycle AI›
    TrustLensCustomer 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 make WordPress tools that solve real problems.

    Learn more
    Built from experienceTools we use ourselves
    Time is preciousSimple, intuitive UX
    Real supportTalk to the founders
    Legal & contact
    Contact us Privacy policy Terms of service Refund policy
    14-day money-backNo 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 18, 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 — plus 10% off either of our plugins as a welcome.

We respect your privacy. Unsubscribe at any time.

10% off welcome gift — A code for either plugin, on us
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...
10% off inside
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.

Products

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

Company

  • About Us
  • Blog
  • Contact
  • Affiliates
  • Log In

Resources

  • Help Center
  • Guides
  • Verify a report
  • 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

Get 10% off
Smart Cycle Discounts or TrustLens

Drop your email and we’ll send you a unique, single-use code — works on either plugin at checkout. New customers, first payment.

23 hours
:
59 minutes
:
59 seconds

No spam. Unsubscribe anytime.

  • WordPress
    Back
    Products
    Smart Cycle DiscountsDiscount automation › TrustLensCustomer trust intel › Cycle AI AIPlain-English campaigns ›
    New pluginComing soon
    Resources & toolsDocs, pricing, support ›
    Smart Cycle Discounts

    Smart Cycle Discounts

    Automate WooCommerce discount campaigns — schedule, target, and measure.

    62%
    Free Pro $59 5 discount types Recurring
    Jump into the page
    How it works Capabilities Promo codes Pricing
    Docs
    Getting started Discount types Scheduling
    Explore Smart Cycle Discounts → Changelog
    TrustLens

    TrustLens

    Customer trust intelligence — score buyers, spot abuse, protect revenue.

    Trust 86
    Free Pro $79 6 segments Abuse detection
    Jump into the page
    How it works Detection Outcomes Pricing
    Docs
    Trust scoring Detection modules Card-testing defense
    Explore TrustLens → Verify a report Changelog

    Cycle AI inside Smart Cycle Discounts

    Describe a sale in plain English — Cycle AI builds the whole campaign.

    “20% off hoodies this weekend”
    Included in Pro Natural language Catalog-aware
    See it work

    Type a sentence, get a ready-to-launch discount campaign that already understands your products, prices, and schedule.

    Live demo How it works
    Meet Cycle AI →

    A new plugin Coming soon

    Something is loading in the lab. Join the list to get the reveal first.

    Notify me on launch →

    Resources & tools

    Everything around the plugins — docs, free tools, and help.

    Learn
    Documentation Pricing & bundle Support
    Free tools
    Discount Calculator Sale Calendar
    Stay current
    SCD changelog TrustLens changelog
    Compare all plans →
    Secure checkout WordPress.org 14-day refund View pricing →
  • Affiliate
    Back
    Program
    OverviewHow the program works How it works4 steps from apply to earn Commission details30% · 60-day cookie · recurring
    Get started
    Apply nowOpen Takes ~2 minutes Earnings calculatorEstimate your monthly income FAQPayouts, cookies, renewals
    Resources
    Brand kitLogos, banners, copy, social PlaybookTactics that actually convert FTC disclosureHow to disclose properly Affiliate termsFull program agreement Contact teamOpen the contact form
    Earn 30% recurring on every saleFree 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 DiscountsAutomated WooCommerce discount campaigns
    Getting started› Discount types› Cycle AI›
    TrustLensCustomer 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 make WordPress tools that solve real problems.

    Learn more
    Built from experienceTools we use ourselves
    Time is preciousSimple, intuitive UX
    Real supportTalk to the founders
    Legal & contact
    Contact us Privacy policy Terms of service Refund policy
    14-day money-backNo 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