WP Manifestindependent plugin directory
manifest / ecommerce / dev3-ai-fraud-risk-for-woocommerce

DEV3 AI Order Fraud & Risk Scoring for WooCommerce

Rule-based fraud and risk scoring for WooCommerce orders with hold rules, a review queue, allow/block lists and a DEV3 AI plain-language second opinion.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/dev3tech/dev3-ai-fraud-risk-for-woocommerce/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Rule-based fraud and risk scoring for WooCommerce orders with hold rules, a review queue, allow/block lists and a DEV3 AI plain-language second opinion.

Dashboard with risk levels, top reasons and recent high-risk orders

Features

Every WooCommerce order gets a 0–100 risk score with plain-language reasons. Risky paid orders are put on hold and wait in a review queue, where your team approves, cancels or marks them as fraud. The plugin never cancels an order by itself unless you switch that on.

Rule-based scoring (works without AI)

  • 16 signals: IP and email order velocity, failed payment attempts (card testing), billing/shipping mismatch, IP country mismatch, IP-to-billing distance, high-risk countries, disposable and random-looking emails, high-risk products and categories, unusual quantities, high order value (fixed or a multiple of your average order), first orders, problem history, trusted customers.
  • Payment gateway signals: Stripe Radar risk level and score, manual-review and blocked outcomes, CVC and address checks (WooCommerce Stripe Gateway), WooPayments fraud outcome, any gateway through a filter.
  • Thresholds for flag, review, hold and cancel; auto-hold on by default, auto-cancel off by default.
  • Custom rules: conditions on score, fired signals, countries, total, payment method, first-time customer and gateway risk; actions flag, review, hold, cancel or allow.
  • Dry-run any order against unsaved rule changes.
  • Review queue with bulk approve/cancel, an order risk page with every reason, gateway data, history and velocity, and a decision log in the order notes.
  • Allow and block lists: email, email domain, IP or CIDR range, phone, customer; CSV import/export.
  • Checkout guard (optional): blocks block-listed customers and IP floods in both the classic and the block checkout.
  • Risk column on the WooCommerce orders list and a "Fraud risk" box on the order screen.
  • Email alerts, a neutral shopper notice on held orders, back-scan of past orders, dashboard with risk-level chart and top reasons.
  • HPOS (custom order tables) and Cart/Checkout blocks compatible.

DEV3 AI (Google AI, your own key)

  • Second opinion on an order: verdict, confidence, summary, reasons, checks before shipping and a suggested action. Only minimised facts are sent (countries, totals, product categories, signals): never the customer's name, address, phone or email. Advice only: your team decides.
  • Batch opinions for the whole queue, or automatic opinions for new queued orders.
  • Rule tuning advisor: suggests new signal points and thresholds from how signals fired on approved versus fraud orders. Shown as a draft; nothing changes until you accept.

Requirements

  • WordPress 6.0 or newer (tested up to 6.8)
  • PHP 7.4 or newer
  • WooCommerce 8.0 or newer (required)
  • Optional: your own Google AI API key (from Google AI Studio) to switch on the DEV3 AI features. The rest of the plugin works without one.

Installation

From the release zip

  1. Download dev3-ai-fraud-risk-for-woocommerce.zip from the latest release.
  2. In WordPress, go to Plugins → Add New → Upload Plugin, choose the zip and click Install Now.
  3. Click Activate.

Build from source

git clone https://github.com/dev3tech/dev3-ai-fraud-risk-for-woocommerce.git
cd dev3-ai-fraud-risk-for-woocommerce
composer install --no-dev
npm ci
npm run build

Then copy the dev3-ai-fraud-risk-for-woocommerce folder into wp-content/plugins/ and activate it.

Getting started

  1. Upload the plugin zip under Plugins → Add New → Upload Plugin and activate it (WooCommerce must be active).
  2. Open "DEV3 AI Fraud Risk" in the admin menu. New orders are scored right away.
  3. Optional: Dashboard → "Scan past orders" to score older orders.
  4. Optional: API Config → add a Google AI API key for DEV3 AI second opinions.

FAQ

Does it cancel orders automatically?

No, not by default. High-risk paid orders are put on hold. Automatic cancel is a separate switch under Rules.

Does it work without an AI key?

Yes. Scoring, holds, the queue, lists, rules, alerts and the checkout guard are rule-based.

What does the shopper see?

Only a neutral "routine check" notice on the thank-you page of a held order (can be turned off). Scores and reasons are never shown to shoppers.

Which gateways are supported?

Any gateway is scored. Stripe Radar results are read from the WooCommerce Stripe Gateway, WooPayments fraud outcomes from its order meta; other gateways can add signals with the dev3fr_gateway_signals filter.

Privacy

The plugin stores a keyed hash of the customer email, the IP address and the risk result per order. IP addresses are removed after the retention period (default 180 days). Personal-data export and erase are supported. When staff ask DEV3 AI for an opinion, a minimised order summary is sent to Google AI.

Documentation

The full HTML guide (installation, settings, hooks and FAQ) is in docs/index.html. Open it in a browser after cloning or downloading the repository.

Changelog

1.0.0

  • Initial release.

Licence

Released under the GNU General Public License v2.0 or later (GPL-2.0-or-later). See LICENSE.

More from DEV3