Official Craft CMS Plugin

Fraud Protection for Craft CMS

The plugin checks each sign-up, form submission and Craft Commerce order for fraud, and gives each one a risk score from 200 (low risk) to 1,000 (high risk). You decide what happens next.

  • Checks front-end registrations, Formie, Freeform, Contact Form and Wheel Form submissions, and Craft Commerce orders.
  • Starts in monitor mode. You choose whether, and from which risk level, submissions are blocked.
  • Visitors see a specific message, such as a suggested email correction, so real people can fix the problem and continue.

14-day free trial · No credit card required · Accessible pricing

Also on Packagist as opportify/craft-fraud-protection for Composer installs.

Opportify
Risk score
200 (low risk) to 1,000 (high risk)
Explainable
Top factors in plain language on each order
Fails open
If the API is unreachable, submissions continue

You decide what happens next

Monitor

The default: every check is logged and nothing is blocked.

Block

From the risk level you choose, with a specific message for the visitor.

See the Plugin in Craft

Settings, the Commerce order panel, the message for each situation, and optional in-flight email validation.

Choose what to check for fraud

New sign-ups, Contact Form messages, Freeform and Wheel Form submissions, and orders at checkout.

Screenshot 1 of 6: Choose what to check for fraud

How It Works on Craft CMS

Install the plugin, add your API key and choose what to check for fraud. Each submission gets a risk score, and you decide what happens next.
  1. Install the plugin

    In the control panel, open Plugin Store, search for “Opportify Fraud Protection” and click Install. Or run composer require opportify/craft-fraud-protection and install it from the command line.
  2. Add your API key

    Put your key in .env as OPPORTIFY_API_KEY and enter $OPPORTIFY_API_KEY in the plugin settings, so the key stays out of project config.
  3. Choose what to check for fraud

    Turn on sign-ups, Contact Form, Freeform, Wheel Form and Commerce orders. For Formie, enable the Opportify captcha integration on each form.
  4. Review, then decide

    Start in monitor mode and review the log and the order panel. When you are ready, turn on blocking at the risk level that suits your site.

Or Install With Composer

From your Craft project directory:
composer require opportify/craft-fraud-protection
php craft plugin/install opportify-fraud-protection

Then add your API key under Settings, Plugins, Opportify Fraud Protection. The plugin documentation covers every setting and the config file.

What the Plugin Checks for Fraud

Turn each source on or off in the plugin settings.

What the plugin checks for fraud

  • User registrationsNew front-end sign-ups, before the account is created
  • FormieA captcha integration that checks submissions on your server, with nothing shown to visitors (Formie 3 or 4)
  • FreeformAfter validation and before the submission is saved (Freeform 5)
  • Contact FormBefore the email is sent (Contact Form 3)
  • Wheel FormBefore the message is saved or emailed (Wheel Form 4)
  • Craft CommerceOrders when the customer pays, before the payment gateway is called (Commerce 5)
  • Your own formsWith the plugin's PHP API

Requirements

  • Craft CMS 5.0 or later
  • PHP 8.2 or later
  • An Opportify account and API key
  • OptionalFormie 3 or 4, Freeform 5, Contact Form 3, Wheel Form 4, Craft Commerce 5

What You Get in the Plugin

Everything in the current release, version 1.1.

Monitor or block

Monitor mode logs every check and blocks nothing. Turn on blocking for registrations and forms at the risk level you choose. Commerce checkouts have their own blocking setting, off by default.

A specific message for each situation

A blocked visitor sees the most specific message: a suggested email correction, an invalid, disposable, no-reply or undeliverable address, a shared inbox, a connection problem at high risk, or a generic message. Email messages appear on the email field. Every message is editable and translatable, and none shows the score. See the implementation guide.

Help visitors fix email problems

Optional, off by default. Asks visitors to fix a likely typo or a disposable, no-reply or undeliverable address even when the risk is below your blocking level. Shared inboxes such as info@ are included only if you turn that on too.

Optional Browser Signals

Off by default. When on, our script runs on front-end pages with submit interception turned off, so it never submits or changes your forms. Its token is sent with each check, so the score can include how visitors use your forms. This is Full Signal: the Fraud Protection API and the JS script together. Update your privacy notice first, see Cookies and Browser Storage.

In-flight email validation

Optional, off by default, and needs Browser Signals. The script checks email fields as visitors type and shows a hint for a mistyped, invalid, undeliverable, disposable or high-risk address. Each check uses Email Insights credits, and the typed address is sent to us before submit. How it works.

Request Context

Front-end checks include the visitor's user agent, accepted languages, referrer (scheme, host and path only) and client hints, which help tell scripts apart from browsers. Learn more.

Environment variables and config file

The API key and public key accept references such as $OPPORTIFY_API_KEY. Every setting can also live in config/opportify-fraud-protection.php and differ per environment.

Fails open

If the API cannot be reached, times out or returns an error, the submission continues as normal.

Your own forms

Check any custom form from a module or plugin with the PHP API, and use the beforeScreen and afterScreen events to change a check or act on its result.

Data, Privacy and Control

Each check sends one HTTPS request with only the fields the submission has, plus Request Context and, when enabled, the Browser Signals token. Control panel, console and impersonated requests send no visitor data.

Log lines hold the outcome, risk level, score and factor codes only. Emails, names, IP addresses, messages and the API key are never logged.

Tell your visitors that submissions are checked by a third party. See our Privacy Policy.

Resources and support

Official Craft CMS Plugin

Check Craft CMS submissions for fraud

Install the plugin, add your API key, and give every sign-up, form submission and order a risk score. You decide what happens next.

  • Risk score from 200 to 1,000 with the main factors
  • Monitor first, block when you are ready

Craft CMS plugin FAQ

How do I install the Craft CMS plugin?

In the control panel, open Plugin Store, search for “Opportify Fraud Protection” and click Install. To use Composer instead, run composer require opportify/craft-fraud-protection in your project, then php craft plugin/install opportify-fraud-protection.

What do I need to use it?

Craft CMS 5.0 or later, PHP 8.2 or later, and an Opportify API key. The plugin is open source under the MIT license. Fraud Protection is a paid Opportify service: 14-day free trial · No credit card required · Accessible pricing. See pricing.

Does it block anything out of the box?

No. It starts in monitor mode: every sign-up, form submission and order is checked for fraud and logged, and nothing is blocked. You choose whether, and from which risk level, submissions are blocked. Commerce checkouts have their own blocking setting, also off by default.

What do visitors see when a submission is blocked?

The most specific message that applies, such as "Did you mean jane.doe@gmail.com? Please confirm your email address." for a likely typo. Email messages appear on the email field so the visitor can fix it. You can edit and translate every message, and none shows the risk score, level or factors.

Do I still need CAPTCHA?

CAPTCHA challenges no longer stop modern bots on their own, and they slow down real visitors. Our multi-layer fraud protection eliminates the need for CAPTCHA: each submission is checked for fraud on your server, with no challenge for visitors. For Formie, the plugin is added as a captcha integration that shows nothing to visitors.

What happens if the API is unavailable?

The plugin fails open. If the API cannot be reached, times out or returns an error, the submission continues as normal. You can set the timeout in the plugin settings.

What data is sent to Opportify?

Only the fields the submission has: email, visitor IP, name, username, phone, company, address, website, subject and message, plus Request Context and, when enabled, the Browser Signals token. Control panel, console and impersonated requests send no visitor data. Log lines hold the outcome, risk level, score and factor codes only. See our Privacy Policy.

Can I check my own forms?

Yes. The plugin has a PHP API to check any custom form from a module or plugin, and beforeScreen and afterScreen events. See the plugin documentation.