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.
- 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.
Screenshot 1 of 6: Choose what to check for fraud
How It Works on Craft CMS
Install the plugin
In the control panel, open Plugin Store, search for “Opportify Fraud Protection” and click Install. Or runcomposer require opportify/craft-fraud-protectionand install it from the command line.Add your API key
Put your key in.envasOPPORTIFY_API_KEYand enter$OPPORTIFY_API_KEYin the plugin settings, so the key stays out of project config.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.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
composer require opportify/craft-fraud-protection
php craft plugin/install opportify-fraud-protectionThen 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
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
Monitor or block
A specific message for each situation
Help visitors fix email problems
Optional Browser Signals
In-flight email validation
Request Context
Environment variables and config file
$OPPORTIFY_API_KEY. Every setting can also live in config/opportify-fraud-protection.php and differ per environment.Fails open
Your own forms
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
- Craft Plugin Store listing
Install from the Plugin Store in your control panel.
- Plugin documentation
Every setting, how each form plugin is checked, messages, events and the PHP API.
- Package on Packagist
Install with Composer as opportify/craft-fraud-protection.
- Changelog
What changed in each release.
- Fraud Protection API reference
The risk score, risk level and factors the plugin receives.
- Contact us
Help with setup and rollout.
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?
composer require opportify/craft-fraud-protection in your project, then php craft plugin/install opportify-fraud-protection.What do I need to use it?
Does it block anything out of the box?
What do visitors see when a submission is blocked?
Do I still need CAPTCHA?
What happens if the API is unavailable?
What data is sent to Opportify?
Can I check my own forms?
beforeScreen and afterScreen events. See the plugin documentation.