Version 1.1.0
December 2, 2026
Added
- A specific message for each blocked situation, following the order of the Fraud Protection implementation guide: a suggested email correction, an invalid, disposable, no-reply or undeliverable address, a shared inbox, a Tor or open proxy connection, a blocklisted IP or a VPN or cloud provider connection (the network messages only at high and highest risk), then the generic message. Each message is editable in the new Messages settings and translatable in the
sitecategory. Messages never show the score, level or factor codes. - Email messages are shown on the email field: on registrations, Formie, Contact Form, Freeform and Wheel Form. Network and generic messages are form-level, and Commerce shows the message as the payment error. Contact Form and Formie keep treating other blocked submissions as spam.
- “Help visitors fix email problems” setting (
helpFixEmail, off by default): stops a front-end submission with a fixable email problem and shows the email message even below the risk level. A separate setting (helpFixRoleAddress) includes shared inboxes such asinfo@. - “In-flight email validation” setting (
emailValidationEnabled, off by default, accepts an environment variable): with browser signals on, addsdata-opty-email-validationto the script tag so the script checks email fields as visitors type. Each check uses Email Insights credits, and the typed email address is sent to Opportify before submit. - The email and IP signals of the API response (
sources.email,sources.ip) are read intoAnalysisResult::$emailandAnalysisResult::$ip, with every field optional.Decision::$situation,Screening::getMessage()andScreening::isEmailMessage()give custom forms the same messages. - Log lines name the message key (
message=email_disposable), and submissions stopped below the risk level are logged withreason=email_guidance.
Fixed
- An exhausted quota is no longer logged as a rejected API key. The API answers it with HTTP 403 and
errorCodeQUOTA_EXCEEDED; the plugin now reads theerrorCodefirst and logs “the plan quota is exhausted” for 403 or 402. Submissions still continue (fail open).
Changed
- The browser script URL is read from the CDN manifest (
https://cdn.opportify.ai/f/latest.json) and cached for two hours. Onlyhttps://cdn.opportify.ai/f/v<version>.min.jsURLs of version 1.4.0 or later are accepted; otherwise the plugin uses the pinned v1.6.0 (previously v1.3.8). v1.4.0 is the first version with in-flight email validation. - The default generic message for new installs is now “We couldn't verify some of the details you entered. Please check them and try again.” The setting is labeled Generic message. Sites that saved the plugin settings in the control panel keep their saved text; sites that configure everything in
config/opportify-fraud-protection.phpwithoutblockedMessageget the new default.
Version 1.0.2
December 2, 2026
Changed
- Plainer wording in the control panel: settings, the Commerce order panel and the Formie integration now say “check … for fraud” and “risk score”. Settings labels now read “What to check for fraud”, “New sign-ups”, “Contact Form messages”, “Orders at checkout”, “What happens next” and “Block risky orders”. Config keys such as
screenRegistrations, theScreeningservice and thebeforeScreen/afterScreenevents are unchanged, so existing code and config keep working.
Version 1.0.1
December 2, 2026
Changed
- The security policy now lists GitHub private vulnerability reporting next to security@opportify.ai, links the Vulnerability Disclosure Policy and states the supported versions.
- The support contact is now support@opportify.ai.
- Added package keywords so Packagist and the Plugin Store searches for security and fraud tools find the plugin.
Version 1.0.0
December 1, 2026
Added
- Settings page with environment variable support for the API key (
$OPPORTIFY_API_KEY), risk level, monitor or block mode, blocked message, timeout and logging. Every setting can also be set inconfig/opportify-fraud-protection.php. - Screening of front-end user registrations before the user is saved (
submissionTyperegistration). - Formie captcha integration that screens form submissions on the server (
submissionTypecontactForm). - Screening of Contact Form submissions (
submissionTypecontactForm). Screeningservice,SubmissionTypeenum andbeforeScreen/afterScreenevents for screening custom forms.- Dedicated log file with outcome, risk level, score and factor codes; personal data and the API key are never logged.
- Fail-open handling: submissions continue when the API key is missing, the API cannot be reached or it returns an error.
- Request Context: front-end submissions send the visitor's user agent, accept language, referrer (without query string or fragment) and Client Hints in
formData. Control panel, console and impersonated requests send no visitor context. formDatasupport for custom forms throughScreeningRequest::$formData, kept within the API's 20-key limit with the Request Context keys first.- Browser signals setting (off by default): loads the pinned Opportify browser script on front-end pages with submit interception disabled, and forwards its
opportifyTokenandopportifyFormUUIDfields with the page hostname asorigin(from the browser'sOriginheader, else the site URL) when all three are present. phone2for a second Formie Phone field, and theusernamehandle for Formie text fields.- Craft Commerce 5 integration: checkouts are screened when the customer submits payment, before the gateway is called (
submissionTypecheckout), with the order email, billing address, visitor IP, Request Context and browser signals. Monitor mode by default; the separate “Block risky Commerce checkouts” setting stops the payment and shows the blocked message. The latest result (outcome, risk level, score, top factors) is stored per order and shown on the order's control panel page. Checkout without payment is screened in monitor mode only. - Freeform 5 integration: submissions are screened after Freeform validates the last page and before they are saved (
submissionTypecontactForm); a blocked submission gets a form error. - Wheel Form 4 integration: submissions are screened after Wheel Form validates them and before they are saved or emailed (
submissionTypecontactForm); a blocked submission gets a form error. - Settings to turn each new integration on or off:
screenFreeform,screenWheelForm,screenCommerceCheckoutsandblockCommerceCheckouts. - Text fields with name and address handles (such as
firstName,name,address1,city,state,zip,country) and Freeform Website fields are sent for Formie, Freeform and Wheel Form. Screening::screen()takes an optionalblockingEnabledargument, andScreening::isVisitorRequest()tells whether the current request was made by a front-end visitor.- The Commerce order page lists the top factors as plain-language sentences (for example "Email uses a disposable address provider") instead of raw codes such as
email:disposable-domain.
Fixed
- Saving the settings no longer fails when the API key or public key refers to an environment variable that is not set. An unset key means the plugin is not configured: screening is skipped and the browser script is not loaded.