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
  • Chargeback Monitor
  • Stripe WooPayments Ingestion

Stripe WooPayments Ingestion

3 min read

Stores using Stripe or WooPayments get automatic chargeback ingestion in both Free and Pro tiers. TrustLens listens for dispute webhooks delivered by the gateway, maps them to the corresponding WooCommerce order, attributes them to the right customer, and updates the customer’s record and the store-wide ratio in near-real time. This page describes exactly what TrustLens captures and how to verify ingestion is working.


What Triggers Ingestion #

When a dispute is filed against a Stripe or WooPayments transaction, the gateway fires a webhook to your WordPress site. TrustLens subscribes to:

  • charge.dispute.created — initial dispute filing
  • charge.dispute.updated — status changes (under review, won, lost)
  • charge.dispute.closed — final outcome
  • WooPayments equivalents via the woocommerce_woopayments_dispute_* action hooks

Each event triggers the ingestion flow described below.


What Gets Captured #

For each dispute event:

Field Source
Dispute ID Gateway-provided unique ID
Order ID Looked up via gateway transaction ID → WooCommerce order metadata
Customer email hash Derived from the order’s billing email
Card brand Gateway-provided (Visa, Mastercard, Amex, Discover, etc.)
Last 4 Gateway-provided (used for payment-method fingerprinting in Linked Accounts)
Dispute reason Gateway-provided reason code (fraudulent, product not received, etc.)
Dispute amount Gateway-provided
Dispute date Gateway-provided filing date
Status open / under_review / won / lost / warning

All fields except status are immutable after capture — they represent the state of the dispute at filing. Status updates with subsequent webhooks.


The Mapping Flow #

Step by step when a dispute webhook arrives:

  1. TrustLens receives the webhook payload
  2. Extracts the gateway transaction ID
  3. Looks up the WooCommerce order by transaction ID (using gateway’s stored meta)
  4. If order not found, logs a warning and creates an orphan dispute record (visible in the chargeback list but unlinked from any customer)
  5. Reads the order’s billing email and computes the customer email hash
  6. Looks up or creates the customer record
  7. Inserts the dispute into {prefix}trustlens_disputes
  8. Increments the customer’s total_disputes, disputes_won, or disputes_lost as appropriate
  9. Queues a score recalculation for the customer
  10. Fires the trustlens/dispute_recorded and trustlens/chargeback_filed actions — automation rules and notifications subscribe

Verifying Ingestion Is Working #

Three sanity checks:

1. Check Recent Disputes #

Go to TrustLens → Settings → Chargebacks (Free) or Chargeback Monitor (Pro). You should see recent disputes listed with brand, amount, and status. If you have known recent disputes and the list is empty, ingestion isn’t running.

2. Verify the Webhook Endpoint #

Stripe sends webhooks to your WooCommerce Stripe webhook endpoint. In your Stripe Dashboard:

  1. Go to Developers → Webhooks
  2. Find the endpoint matching your WooCommerce installation
  3. Check Recent Events — successful 200 responses mean delivery is working
  4. If you see failures (4xx or 5xx), the endpoint isn’t responding correctly

3. Check the Action Scheduler Queue #

Go to WooCommerce → Status → Scheduled Actions, filter to the trustlens/calculate_score hook. After a dispute webhook arrives, you should see a queued action for the affected customer.


What If a Dispute Doesn’t Appear #

Common causes:

  • Webhook signing key mismatch. Stripe webhooks include a signature; if the secret in WooCommerce Stripe settings is wrong, the webhook is rejected before TrustLens sees it.
  • Webhook endpoint not configured. If you’ve never configured Stripe webhooks in WooCommerce, they’re not delivered.
  • Order metadata missing. If the gateway transaction ID isn’t on the order (rare, but happens on imported orders or with custom integrations), TrustLens can’t map the dispute to an order.
  • Gateway not on the supported list. Only Stripe and WooPayments are auto-ingested. Other gateways need manual entry.

For the first three, fix in WooCommerce Stripe / WooPayments settings. For the fourth, see the manual dispute entry workflow.


What About Lost Disputes That Started as Won? #

Disputes can be re-opened after an initial outcome. Stripe fires additional webhook events for these, and TrustLens updates the dispute’s status. The customer’s disputes_won and disputes_lost counters adjust accordingly, and a score recalculation is queued.

If a dispute is reversed multiple times (unusual but possible), TrustLens tracks the current status only. Historical state transitions are visible in the dispute’s event log.


Dispute Reasons and the Chargeback Signal #

TrustLens captures the gateway-provided reason code but doesn’t weight signals by reason — a lost dispute is a lost dispute regardless of reason. Pro automation rules can use the reason as a condition (e.g. “if dispute reason is fraudulent, block customer immediately”). See Triggers Reference.


Webhook Security #

TrustLens delegates webhook authentication to WooCommerce’s gateway integration. Stripe webhooks are signed; the WooCommerce Stripe plugin verifies the signature before the webhook reaches TrustLens. WooPayments uses the same pattern. This means TrustLens trusts that any dispute event it sees has already been authenticated by the gateway plugin.

The implication: don’t disable signature verification in your gateway plugin. If you do, attackers could potentially inject fake dispute data into TrustLens. Verification is on by default; leave it on.


Limitations #

  • One gateway per dispute. If you’ve migrated between gateways and disputes arrive for both, both ingestions work independently. There’s no cross-gateway deduplication.
  • Currency conversion. Dispute amounts are stored in the gateway’s reported currency. If you operate multi-currency, the chargeback ratio dashboard uses transaction counts, not currency-adjusted values, so currency mix doesn’t affect the ratio.
  • Historical disputes. Webhooks only deliver new events. To capture disputes that happened before TrustLens was installed, run Historical Sync — it pulls past Stripe disputes via the Stripe API where possible.
Updated on June 18, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Manual Dispute EntryCard Network Thresholds
Table of Contents
  • What Triggers Ingestion
  • What Gets Captured
  • The Mapping Flow
  • Verifying Ingestion Is Working
    • 1. Check Recent Disputes
    • 2. Verify the Webhook Endpoint
    • 3. Check the Action Scheduler Queue
  • What If a Dispute Doesn't Appear
  • What About Lost Disputes That Started as Won?
  • Dispute Reasons and the Chargeback Signal
  • Webhook Security
  • Limitations
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