| 开发者 |
webstepper
freemius |
|---|---|
| 更新时间 | 2026年10月18日 21:01 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv3 or later |
| 版权网址: | 版权信息 |
trustlens/segment_thresholds filter. Module thresholds, such as the return-rate levels, are adjustable in Settings, because a 40% return rate might be alarming for one store and unremarkable for another. For the full mechanics, see the customer risk scoring guide and the segments explained guide.
Eight detection modules, working in the background
Return abuse. Tracks refund rate, refund value, and refund frequency over time rather than judging any single return in isolation. A customer who returns one order out of twelve looks very different from one who returns three out of four.
Order patterns. Watches velocity and behavior across a customer's order history — a signal that's invisible when you're looking at orders one at a time in the WooCommerce admin, but obvious once it's plotted against everyone else's normal buying pattern.
Coupon abuse. Catches the two most common ways discount codes get exploited: a "new customer" welcome code used repeatedly from accounts that are really the same person, and coupon codes applied in patterns that don't match organic use.
Category-aware risk. Return behavior means something different depending on what's being returned — a high return rate on apparel is often just sizing, while the same rate on electronics or consumables is a different story. This module scores returns in the context of the product category rather than one blanket rule for the whole catalog.
Linked accounts. Builds fingerprints from shipping address, billing address, phone number, IP address, payment method, and device user agent, then flags when multiple customer "accounts" share enough signals to plausibly be the same person or fraud ring behind separate identities. This is how TrustLens catches someone opening five accounts to claim five first-order discounts.
Shipping anomalies. Flags address-hopping and reshipping patterns associated with stolen-card fraud — an order pattern that looks like it's testing which shipping addresses a stolen card will get through on.
Chargeback tracking. Automatically ingests disputes from Stripe and WooPayments the moment they're filed, keeps a running per-customer dispute count, and feeds that history into the trust score, so a customer with two prior disputes isn't treated the same as a first-time buyer.
Card-testing defense. Real-time protection against bots that probe your checkout with a rapid burst of small, mostly-declined charges to find out which stolen card numbers are still live. A one-click Panic Freeze button lets you lock down checkout instantly if you spot an attack your automatic thresholds haven't caught yet.
Card-testing attacks: what they are and why they cost more than the declines
A card-testing attack isn't someone trying to buy from you — it's a bot using your checkout to validate a batch of stolen card numbers before using them elsewhere, firing small charges that just want a "declined" or "approved" answer. Most fail, so the pile of declined orders looks harmless. The real cost shows up sideways: gateway fees on every attempt, a higher fraud score with your payment provider, and — if even a handful of those cards are live — chargebacks landing weeks later with your store's name on them.
TrustLens watches decline velocity per device in real time, matching on both the browser fingerprint and a server-side fingerprint (IP and user agent) so a bot can't dodge detection by rotating its browser signature. When a device crosses your threshold, it's locked out of checkout automatically — before the attack reaches your gateway, runs up fees, or produces a chargeback down the line. VIP Customer Bypass is on by default, so real repeat customers are never caught in a velocity rule meant for bots. Full mechanics are in the card-testing defense docs.
The Command Center dashboard
One screen shows your store's health score, trust-score trends, the six-segment distribution, your high-risk list, and a chargeback-ratio alert that appears the moment your ratio crosses a Visa, Mastercard, Amex, or Discover monitoring line.
Chargebacks: seeing the ratio before the card networks do
Visa, Mastercard, Amex, and Discover each run monitoring programs that watch your chargeback ratio — disputes as a percentage of transactions — and enroll merchants who cross a threshold into a program with extra fees, extra scrutiny, and in bad cases the threat of losing processing entirely. Most merchants only learn the exact numbers when their processor emails them: Visa's VAMP marks a merchant Excessive at 1.5% in the US, Canada, Europe, Asia Pacific and Latin America (2.2% in CEMEA) and counts fraud reports as well as disputes, Mastercard's ECP starts at 1.5%, and Amex and Discover's excessive-dispute programs at 1.0%.
TrustLens captures the card brand on every Stripe and WooPayments order and tracks how many end up disputed. The free dashboard alerts you as soon as your monthly ratio crosses one of those lines; Pro's Chargeback Monitor shows the ratio for each network against its line, and how far you are from the nearest one, before you get there. The point isn't to replace your processor's own monitoring; it's to give you the same number they're watching. Visa's VAMP ratio also counts fraud reports that never reach WooCommerce, so treat the Visa figure as a floor. See the chargeback tracking guide for the full picture.
How TrustLens compares
Your payment gateway scores the transaction — the charge itself, at the moment it happens. It's genuinely good at catching an obviously stolen card, but has no memory of what that customer did last month and no way to connect two "different" accounts placing suspiciously similar orders. TrustLens scores the customer, over time, using exactly the signals a per-transaction check can't see.
A simple IP blocklist stops a known-bad address and nothing else — it doesn't adapt when someone switches networks, doesn't know a "new" account is really a repeat offender, and does nothing for friendly-fraud chargebacks or return abuse, since those orders come from real cards on real networks. See the IP blocking vs. behavioral fraud scoring comparison for where each approach holds up and where it doesn't.
For specific alternatives, see FraudLabs Pro vs. TrustLens and TrustLens vs. WooCommerce's built-in anti-fraud tools.
Meet the customers TrustLens catches
The serial returner — sends back a third or more of what they buy; no single return looks wrong, the pattern across a dozen orders does (Return Abuse + Category-Aware Risk).
The coupon farmer — a "new" account every few weeks for the same first-order discount, connected by Linked Accounts and flagged by Coupon Abuse.
The fraud ring — one billing address, payment method, or device spread across several names, surfaced automatically by Linked Accounts.
The card-testing bot — dozens of small, mostly-declined charges hunting for live stolen cards; Card-Testing Defense locks it out before it reaches your gateway.
Integrations and compatibility
TrustLens sits inside the store you already run. Stripe and WooPayments disputes are ingested automatically — no webhook setup required; other gateways (PayPal, Square, offline) use a manual chargeback form on the order screen. Both Classic and WooCommerce Blocks checkout are enforced, so a blocked customer is blocked either way. TrustLens declares full WooCommerce HPOS compatibility, supports GDPR data export and erasure via standard WordPress privacy tools, and includes a REST API for looking up customers, scores, and segments, and for triggering recalculations. Pro adds signed webhooks for pushing trust events to Slack, Zapier, or your own tools — see the webhooks and REST API integration guide.
Already have order history? Historical Sync builds trust profiles from your existing orders in small background batches, so you're not starting from a blank slate. Details in the Historical Sync guide.
You stay in control
TrustLens never auto-blocks a single customer in the free version. It surfaces the risk; you decide — block at checkout, allowlist forever, or just watch the trend. Every score, badge, and detection module is visible and adjustable from Settings.
Privacy is built the same way: everything runs inside your own store, customer identifiers are pseudonymized with keyed HMAC-SHA256 (not reversible, not portable to another site), and no customer data is ever sent to a third party by default.
Free — the complete detection plugin
trustlens folder to /wp-content/plugins/Your payment gateway (Stripe Radar and similar) scores a single transaction at the moment of charge — card, IP, AVS, device — and is blind to what happens before and after on your store. TrustLens scores the customer's behavior over time: refund and return patterns, coupon abuse, multi-account links, dispute history, category-specific returns, and card-testing activity at checkout. Those are signals your gateway never sees. They're complementary, not competing. Your gateway blocks obvious stolen-card charges; TrustLens surfaces friendly-fraud chargebacks, serial returners, coupon abusers, fraud rings, and card-testing bots that slip past a per-transaction view — and it keeps you in control (the free version never auto-blocks; you decide). Everything runs inside your own store, so no customer data leaves your site.
Yes. Customers are identified by a hash of their email address, so guest and registered customers are tracked equally. If a guest later registers, their history carries over.
By default, no. The free version is manual: it surfaces customer risk data, and you decide when to block or allowlist someone. Pro can optionally automate specific actions, including alerts, order holds, verification requirements, and customer blocking if you configure automation rules or chargeback auto-blocking.
TrustLens creates fingerprints from shipping addresses, billing addresses, phone numbers, IP addresses, payment methods, and device user agents. When multiple customer accounts share fingerprints, they are flagged as linked. This helps detect multi-account abuse like repeated first-order discounts.
Yes. TrustLens tracks refund rate, refund value, refund frequency, category-specific return behavior, and related customer patterns over time. This helps you spot serial returners and high-risk refund behavior earlier instead of reviewing refunds one order at a time.
Yes — and the core chargeback tracking is in the free version. TrustLens automatically ingests disputes from Stripe and WooPayments, accepts manual entry for other gateways (PayPal, Square, offline), keeps per-customer dispute counters, and feeds dispute history into trust scores. The free dashboard also alerts you when your chargeback ratio crosses a Visa, Mastercard, Amex, or Discover monitoring line. Pro adds a dedicated Advanced Chargeback Monitor with per-brand breakdown (Visa VAMP, Mastercard ECP, Amex, Discover), 12-month trend, trailing-30-day window, daily ratio email alerts, a one-click Dispute Evidence Report for processor responses, and auto-block after N lost disputes.
TrustLens captures the card brand on every Stripe and WooPayments paid order and tracks how many of those orders end up as disputes. Your monthly chargeback ratio is checked against the Visa VAMP, Mastercard ECP, Amex, and Discover monitoring lines, and the free dashboard alerts you once a line is crossed. Pro shows the ratio for each brand against its line and how close you are to the nearest one — so you can see enrollment coming before it happens — plus the 12-month trend chart, the trailing-30-day window, and daily email alerts. Visa's VAMP ratio also counts fraud reports that never reach WooCommerce, so treat the Visa figure as a floor.
Card-Testing Defense (free) is real-time protection against stolen-card attack bots that probe your checkout with thousands of declined payment attempts. TrustLens watches per-device declines and checkout submissions over a 60-second window and declines over a 1-hour window, matching on both the browser fingerprint and a server-side fingerprint (IP and user agent) so bots can't slip through by rotating their browser fingerprint. When a device crosses a threshold it's locked out of checkout — 90 seconds the first time, then 15 minutes, 1 hour and 24 hours for repeat offenders — blocking the attack before it reaches your payment gateway and runs up gateway fees, fraud fees, and downstream chargebacks. VIP Customer Bypass is enabled by default, so established customers — those who meet your minimum-order threshold (default 3 completed orders) and aren't already in a Risk or Critical segment — are never blocked by velocity rules. A one-click Panic Freeze button halts all checkouts for 15 minutes during an active attack your thresholds haven't caught. Pro adds auto-escalation, a geographic-diversity safeguard so flash-sale traffic isn't mistaken for an attack, fingerprint and IP CIDR allowlists, attack analytics with CSV export, and Slack alerts.
Yes, with Pro. Automation Rules let you build trigger-based rules that fire when customer risk changes, orders are placed, refunds are processed, disputes are filed, linked accounts are detected, card-testing attacks happen, or shipping anomalies are spotted. Each rule supports 30+ condition fields and actions like block customer, hold order, send email, fire webhook, allowlist customer, cancel order, or tag customer. Pro automation also includes a save-time validator that blocks rules that can never fire, an inline inspector that shows exactly why each rule fired or didn't, and async HMAC-SHA256-signed webhooks with automatic retry.
Blocked customers see a customizable message when they try to add items to their cart or proceed to checkout. The block applies to both logged-in users and guest checkouts matching the blocked email. All blocked checkout attempts are logged.
Yes. You can unblock a customer at any time from their profile page or the customer list. You can also add customers to the allowlist, which locks their score at 100 and prevents any negative signals from affecting them.
New WooCommerce orders are analyzed automatically after activation. If you already have historical orders, you can run Historical Sync from the dashboard to build trust profiles from your existing store data without slowing down the frontend.
No. Score calculations run asynchronously via Action Scheduler (the same system WooCommerce uses). Checkout blocking uses a lightweight email-hash lookup. The historical sync processes orders in small batches.
No customer personal data ever leaves your site. TrustLens works inside your WordPress and WooCommerce installation. The only default external call is the optional Pro report-verification feature, which (while enabled) sends a non-personal, one-way fingerprint of a dispute report to the TrustLens verification service so issuers can confirm it is genuine — never customer data, and it can be disabled. All other external delivery (webhooks, email notifications) happens only if you configure it.
Yes. TrustLens declares full compatibility with High-Performance Order Storage and works with both legacy and HPOS-enabled stores.
TrustLens stores customer email addresses and behavioral data (order counts, refund counts, trust scores) in custom database tables. Matching identifiers used for linked-account detection are pseudonymized using keyed HMAC-SHA256 hashes, preventing the raw values from being exposed or reused across sites. The plugin integrates with WordPress privacy tools — customers can request data export or erasure through the standard WordPress privacy workflow.
Yes. TrustLens includes a REST API with 8 endpoints for looking up customers, retrieving scores, filtering by segment, and triggering recalculations. API access requires either the manage_woocommerce capability or a valid API key configured in settings.
Yes. The free version includes core email notifications such as blocked checkout alerts, a welcome summary, and a weekly summary. Pro adds advanced alerts, daily digests, monthly revenue protection reports, and scheduled email reports.
By default, most detection modules wait until a customer has 3 completed orders before scoring them. You can adjust this in Settings > General (Full-confidence Order Threshold). Return-risk signals (weighted for the small sample), linked-account matches and the account-age bonus apply earlier, so a new customer's score — and segment — can move before they reach the threshold.
Yes. All 8 detection modules ship in the free version — returns, orders, coupons, categories, linked accounts, shipping address anomalies, chargebacks, and card-testing defense. There are no trial limits, no disabled scoring, and no locked modules. Pro adds automation rules, webhooks, scheduled reports, payment-method risk controls, the advanced per-brand Chargeback Monitor with daily alerts, Card-Testing Defense Pro (auto-escalation + analytics + Slack alerts), and 10 advanced notification types.
Important: TrustLens uses your WordPress auth secret key (via wp_salt('auth')) as the HMAC keying material for hashing customer emails and linked-account fingerprints. This is a deliberate security choice — it makes stored hashes non-reversible and non-portable across sites.
The trade-off is that regenerating your WordPress secret keys (whether through a security plugin's "regenerate keys" tool or by editing wp-config.php directly) will permanently invalidate every customer hash and fingerprint already stored in your TrustLens tables. After rotation, the plugin won't be able to match a returning customer to their existing trust profile, and linked-account detection will reset.
If you ever need to rotate WordPress secret keys, plan to run Historical Sync afterward so TrustLens rebuilds the customer table from your existing WooCommerce order data using the new keying material. Allowlisted/blocked status set manually on individual customer rows is the exception that won't auto-recover — re-apply those after the sync.