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
  • 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_filed action — 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 4, 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.

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