Personal tools
Namespaces

Variants
Actions

Anti-Fraud And Email Verification For WHMCS

From ModulesGarden Wiki
(Difference between revisions)
Jump to: navigation, search
(About Anti-Fraud & Email Verification For WHMCS)
(About Anti-Fraud & Email Verification For WHMCS)
Line 125: Line 125:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 30px;"|✔ Easy [https://www.docs.modulesgarden.com/How_To_Upgrade_WHMCS_Module Module Upgrade] To [https://www.modulesgarden.com/products/whmcs/anti-fraud-email-verification#open-source-version Open Source Version]
+
|style="padding: 0px 0px 30px 30px;"|✔ Easy [https://www.docs.modulesgarden.com/How_To_Upgrade_WHMCS_Module Module Upgrade] To [https://www.modulesgarden.com/products/whmcs/anti-fraud-and-email-verification#open-source-version Open Source Version]
 
|}
 
|}
  

Revision as of 13:47, 2 September 2026

Contents

About Anti-Fraud & Email Verification For WHMCS

Anti-Fraud & Email Verification For WHMCS enables you to verify client email addresses during checkout or before granting access to the client area.

The module can deliver a clickable verification link or a code for the client to enter manually, while the verification form may be displayed directly on the page or in a modal window.
Configurable validity periods, reminders, account lifecycle actions, CAPTCHA protection, rate limiting and blocklist management give you greater control over client verification and help reduce fraudulent activity.

  • Core Features:
✔ Require Client Email Verification During Checkout Or Before Client Area Access
✔ Deliver Verification Through Clickable Links Or Codes Entered Manually
✔ Display Verification Forms Inline Or In Modal Windows
✔ Automate Reminders And Management Of Accounts That Remain Unverified
✔ Protect Verification Forms With CAPTCHA, Rate Limiting And Automatic Bans
  • Addon Module:
✔ View Verification Activity From The Last 30 Days
✔ View And Filter Email Verification Records By Status:
✔ Pending
✔ Verified
✔ Rejected
✔ Expired
✔ Review Verification Mode, Status And Important Dates
✔ Mark Verification Records As Unverified
✔ Delete Verification Records
✔ Manage Blocklist Entries For Email Addresses, IP Addresses And Email Domains
✔ Create Permanent Or Time-Limited Blocklist Entries
✔ View Manually And Automatically Added Blocklist Entries
✔ Select Checkout Or All Pages Verification Mode
✔ Deliver Verification Through Clickable Link Or Code To Type In
✔ Display Verification As Inline Form Or Modal Popup
✔ Define Verification Link And Code Validity Periods
✔ Configure Verification Reminders And Resend Cooldown
✔ Automatically Set Unverified Client Accounts To Inactive
✔ Configure Automatic Termination And Deletion Of Unverified Accounts
✔ Configure Verification Attempt Rate Limits And Automatic Bans
✔ Protect Verification Forms With Built-In CAPTCHA, reCAPTCHA V3 Or Cloudflare Turnstile
✔ View And Manage Module Logs
  • Client Area:
✔ Verify Email Address To Place Orders Or Access Client Area
✔ Verify Email Address Through Clickable Link Or Verification Code
✔ Request Another Verification Email
✔ Complete CAPTCHA Challenge When Enabled
  • General Info:
✔ Multi-Language Support
✔ Supports PHP 8.3 Back To PHP 8.2
✔ Supports WHMCS Themes "Twenty-One" And "Nexus"
✔ Supports WHMCS V9.X
✔ Requires ionCube Loader V14 Or Later
✔ Easy Module Upgrade To Open Source Version

Installation

This tutorial will show you how to successfully install and configure Anti-Fraud & Email Verification For WHMCS.

We will guide you step by step through the whole installation and configuration process.

1. Log in to our client area and download the module.
File:AFEV download.png
2. Extract the package and upload its content into the main WHMCS directory.

The content of the package to upload should look like this.

File:AFEV package.png
3. When you install Anti-Fraud & Email Verification For WHMCS for the first time, rename the 'license_RENAME.php' file.

The file is located in 'modules/addons/EmailVerificationAntiFraud/license_RENAME.php'. Rename it from 'license_RENAME.php' to 'license.php'.

AFEV license.png
4. To configure your license key, edit the previously renamed 'license.php' file.

Enter your license key between quotation marks, as shown on the following screen. You can find the license key in our client area under 'My Products'.

File:AFEV license2.png
5. Activate the module in your WHMCS system.

Go to 'System Settings' 'Addon Modules'. Find 'Anti-Fraud & Email Verification' and press 'Activate'.

File:AFEV 2.png
6. Permit access to the module.

Press 'Configure', select the required administrator roles under 'Access Control', and press 'Save Changes'.

File:AFEV 1.png
7. You have successfully installed Anti-Fraud & Email Verification For WHMCS!

You can access the module under 'Addons' 'Anti-Fraud & Email Verification'.


Management

Anti-Fraud & Email Verification For WHMCS lets you control when clients must confirm their email addresses and provides tools to manage the complete verification lifecycle.

In this guide, we will walk you through every section and option of the module in detail.

Dashboard

The dashboard presents a chart of verification activity recorded during the last 30 days.

It compares successfully 'Verified' records with 'Unverified' attempts, helping you quickly review recent activity and trends.

File:AFEV 3.png

Verifications

The 'Verifications' section contains all email verification records created by the module.

Five counters provide a quick overview:

  • Pending - verification has been initiated but not yet completed.
  • Verified - the email address has been successfully verified.
  • Rejected - the verification attempt has been rejected.
  • Expired - the verification link or code is no longer valid.
  • Total - the total number of verification records.

Press 'Show' on a counter to filter the table by the selected status.

File:AFEV 4.png
The table lists:
  • Email - the email address used for verification.
  • Mode - 'Checkout' or 'All Pages'.
  • Status - 'Pending', 'Verified', 'Rejected' or 'Expired'.
  • Created At - when the verification was initiated.
  • Verified At - when the email address was verified; 'Never' is shown if verification has not been completed.
  • Expires At - when the verification link or code expires.

Use the search field to find a record. The row actions allow you to mark it as unverified or delete it.

Mark As Unverified

Press the 'Mark As Unverified' icon to return a record to 'Pending', then confirm the action.

Important: This changes the verification status only. It does not undo any order or account action already taken while the address was considered verified.

AFEV 5.png

Delete Verification Record

Press the trash bin icon to permanently remove the selected verification record.

The related WHMCS client account and order, if any, remain unaffected. This action cannot be undone.

AFEV 6.png

Blocklist

The 'Blocklist' prevents selected email addresses, IP addresses and complete email domains from using the verification process.

Entries may be added manually or created automatically after the configured number of failed attempts is reached.

AFEV 7.png
The table includes:
  • Type - email address, IP address or email domain.
  • Value - the blocked value.
  • Source - 'Manual' or 'Automatic'.
  • Reason - an optional internal explanation.
  • Expires At - the expiration date; 'Never' indicates a permanent block.
  • Created At - when the entry was created.

Press the eye icon to view the complete reason when it is shortened in the table. Use the trash bin icon to delete an entry.

Add Blocked Entry

Press 'Add Blocked Entry' and configure:
  • Type - select 'Email', 'IP Address' or 'Email Domain'.
  • Value - enter a value matching the selected type.
  • Reason (Optional) - enter an internal note explaining the entry.
  • Expires At (Optional) - select an expiration date or leave the field empty to create a permanent block.

Press 'Confirm' to add the entry.

File:AFEV 8.png

Settings

The 'Settings' section controls the verification workflow, reminders, account lifecycle and anti-fraud protection.

The options are divided into five panels. Press 'Submit' to save the configuration.

File:AFEV 9.png

Verification Mode

  • Verification Mode - choose where verification is required:
    • All Pages - locks the entire client area until verification is completed.
    • Checkout - prevents an unverified client from placing an order.
  • Verification Delivery - choose 'Clickable Link' or 'Code To Type In'.
  • Verification Display - show the form as an 'Inline Form' or through a 'Modal Popup'.
  • Checkout Token Validity (Days) - how long a link or code created in 'Checkout' mode remains valid.
  • All Pages Token Validity (Days) - how long a link or code created in 'All Pages' mode remains valid.

Reminders

  • Checkout Reminder After (Days) - send a reminder this many days after an unverified checkout attempt. Enter 0 to disable it.
  • All Pages Reminder After (Days) - send a reminder this many days after registration if still unverified. Enter 0 to disable it.
  • Resend Cooldown (Minutes) - the minimum wait before another verification email can be requested.

Account Lifecycle

These options automate actions against client accounts that remain unverified:
  • Checkout Auto-Inactivate After (Days) - set the account to 'Inactive' after this many unverified days following checkout. Enter 0 to disable it.
  • All Pages Auto-Inactivate After (Days) - set the account to 'Inactive' after this many unverified days following registration. Enter 0 to disable it.
  • Checkout Auto-Terminate After (Days) - permanently remove the client and all WHMCS data after this many unverified days following checkout. Enter 0 to disable it.
  • All Pages Auto-Terminate After (Days) - permanently remove the client and all WHMCS data after this many unverified days following registration. Enter 0 to disable it.
  • Auto-Delete Unverified Accounts - enable automatic cleanup of unverified accounts without active orders.
  • Auto-Delete After (Days) - define the delay after Auto-Terminate before an eligible account is closed.

Important: Auto-Terminate actions are permanent and irreversible and may remove the client account together with all related WHMCS data. Review these settings carefully before enabling them in production.


Rate Limiting & Anti-Fraud

  • Rate Limit: Max Attempts - the maximum attempts allowed within the configured window.
  • Rate Limit: Window (Minutes) - the rolling period used to count verification attempts.
  • Auto-Ban After Failed Attempts - automatically block the related email address and IP address after this many failures. Enter 0 to disable it.
  • Auto-Ban Window (Minutes) - the rolling period used to count failed attempts for automatic bans.


CAPTCHA

  • CAPTCHA Enabled - require a CAPTCHA challenge on verification and resend forms.
  • CAPTCHA Provider - choose:
    • Built-In (Arithmetic Challenge) - requires no external account.
    • reCAPTCHA V3 - requires a Google site key and secret key.
    • Cloudflare Turnstile - requires a Cloudflare site key and secret key.

When an external provider is selected, configure the corresponding 'Site Key' and 'Secret Key'. For reCAPTCHA V3, also set the 'Minimum Score' between 0 and 1; lower scores indicate traffic more likely to be automated.

Client Area

When verification is required, the client sees the 'Email Verification' page with the account email address.

The exact form depends on the selected delivery and display options. In the example below, a verification link has already been sent and the client can press 'Resend' if it did not arrive or expired.

File:AFEV 10.png
The available flows are:
  • Clickable Link - open the link received by email.
  • Code To Type In - enter the email address and code in the verification form.
  • Inline Form - display the form directly on the page.
  • Modal Popup - open the form in a modal window.

If CAPTCHA is enabled, the selected challenge is also shown. After successful verification, the client can continue to the restricted page or complete checkout.


Logs

The "Logs" tool makes monitoring and managing module activity records simple and efficient. It provides options to categorize, filter and view detailed entries, giving you control over the logs.

For detailed guidance, check its dedicated article, available here.

File:AFEV 11.png

Tips

1. Test every verification flow before applying restrictions to all clients.

Use a test account to check the selected delivery method, display mode, email and redirect behavior.

2. Use reminders and account inactivation before enabling permanent account removal.

This gives legitimate clients additional time to complete verification and reduces the risk of unintended data loss.

3. Set a resend cooldown and reasonable rate limits.

These measures reduce repeated email requests while allowing legitimate clients to try again after a short wait.

4. Review the blocklist and logs regularly.

Check automatically created entries and repeated failures before removing a block or changing the anti-fraud thresholds.

Update Instructions

An essential guide to updating the module is available here.

Follow every step carefully to prevent data loss or other unexpected issues.

Upgrade Guide

Looking for greater flexibility, custom modifications and unrestricted access to the source code?

Choose the Open Source version of Anti-Fraud & Email Verification For WHMCS to receive these benefits together with prioritized support services.

Press 'Get Source Code' or 'Upgrade To Lifetime' on the product page in our client area to complete the upgrade, with a dedicated discount already applied.
Follow the comprehensive guide for the complete transition process.

Common Problems

1. The client does not receive the verification email.

Check the module and WHMCS mail logs, verify the mail configuration and ask the client to check the spam folder. Wait until the 'Resend Cooldown' ends before trying again.

2. The verification link or code is rejected.

The verification details may have expired, already been used or may not match the pending record. Request a new message and use the newest link or code within its validity period.

3. The client cannot request another verification email.

The resend cooldown or rate limit may have been reached. Wait until the relevant window ends or review the limits under 'Settings'.

4. A legitimate client cannot complete verification.

The client's email address, domain or IP address may be on the blocklist. Review 'Blocklist' and 'Logs', then remove the entry only after confirming the request is legitimate.

5. External CAPTCHA verification fails.

Confirm that the site and secret keys are correct and assigned to the WHMCS domain. For reCAPTCHA V3, also review the minimum score.


Navigation
WHMCS Modules
WHMCS Module Bundles
WHMCS Widgets
Tools And Applications
Translations
General
FAQ
Community