In short. Fake accounts, advertising messages in your contact form, throwaway newsletter sign-ups, bursts of login attempts. LumaCaptcha protects the eight native PrestaShop forms and the forms of your other modules. It silently filters bots first, then shows the captcha of your choice, and makes its decision on the server.
An open form attracts bots, and every automated submission costs you time. You sort through useless messages, delete ghost accounts, and watch your newsletter list fill up with addresses that will never open an email. LumaCaptcha was built to stop that traffic without adding needless friction for real customers. Here is what the module brings, setting by setting.
Contents
Protected forms
You enable protection form by form, and for each one you choose the captcha system and the filters to apply. A heavily targeted contact form can therefore get stricter protection than the newsletter sign-up.
The eight native forms
Forms from your other modules
A quote module, a call-back form, a customer review. The second table in the Forms tab lets you create a rule for any third-party form.
| Rule field | What it is for |
|---|---|
| Name | Find the rule easily in the list |
| Controller(s) | Tell the module which pages display the form |
| CSS selector | Point to the exact form to protect |
| Submission parameter | Recognise the form submission on the server |
| Provider | Choose the captcha system |
| Failure behaviour | Decide what happens to a rejected submission |
Rules can be created, edited, duplicated, reordered and deleted from the same screen.
⚠️ Known limit. Some third-party forms submitted via AJAX may escape validation. This limit is documented. Try each rule in test mode before switching it to real blocking.
Targeted loading
The module's assets only load on pages that actually carry a protected form. The rest of your store ships no extra script, and your product pages keep their speed.
A three-layer circuit
Every form submission goes through the same circuit. Everything happens on the server, the visitor's browser decides nothing.
Pre-checks, captcha, then a server-side decision
- Pre-checks examine the submission without asking the visitor anything. Lists, honeypot field, minimum delay and rate limiting already rule out a large share of bots.
- The captcha chosen for that form then confirms that a human is behind the screen.
- The final decision is made by a single server-side service. The submission is accepted, or blocked with a reason written to the log.
Key point. No override of the PrestaShop core. The module relies on official hooks. For native forms that expose no hook, such as contact or forgotten password, a non-intrusive listener validates the request before PrestaShop processes it, without touching the core or the theme.
Three behaviours worth knowing
Silent filters
Most bots are stopped before a captcha even appears. These filters work in the background, and your customers never see them.
| Filter | What it does |
|---|---|
| 📃 Lists | Allows or blocks by IP, CIDR range, email, domain or banned keyword |
| 🗑️ Disposable domains | Turns away single-use email addresses with a built-in, extendable list |
| 🍯 Honeypot field | Adds an invisible field with an unpredictable name that only bots fill in |
| ⏱️ Minimum delay | Rejects a form sent too fast to have been filled in by a human, 2 seconds by default |
| 🚦 Rate limiting | Counts submissions per IP and per form, then blocks temporarily after repeated abuse |
A real-world example. A bot completes your contact form in 0.3 seconds and fills in the honeypot field along the way. It is rejected before any captcha is shown, and the reason appears in your log. Your customer takes the time to write a message and notices no difference at all.
Lists that are easy to maintain
- Single or bulk entry
- Search and multiple deletion
- CSV import and export
- One-click blocklisting or allowlisting of an IP straight from the log
The minimum delay timestamp is signed on the server, so a bot cannot forge it. Rate limiting only stores a fingerprint of the IP address, never the address in clear.
Five captcha systems
Every audience has its habits. You pick the system that fits, form by form.
The five available systems and the data they involve
The internal math captcha
This is the default system. The visitor solves a small sum, generated and checked on your server.
External services
| Service | What you need | Specifics |
|---|---|---|
| Google reCAPTCHA v2 | Site key and secret key | "I'm not a robot" checkbox |
| Google reCAPTCHA v3 | Site key, secret key and threshold | Invisible, score logged to fine-tune the threshold (0.5 by default) |
| hCaptcha | Site key and secret key | An alternative to Google |
| Cloudflare Turnstile | Site key and secret key | Low friction for the visitor |
Good to know. A test button in the Protections tab checks that the service is reachable and that your keys are valid. Secret keys stay masked on screen and are never sent to the browser.
Security under the hood
This part will mostly interest your developer or agency. It explains why a bot cannot replay a validated submission.
You can also exempt some visitors from any check. Logged-in customers, customer groups, countries or internal IP addresses will never see a captcha.
Log and statistics
The log
Every decision is recorded with a precise reason. When a customer reports a rejected submission, you know exactly why.
- Date, IP that can be anonymised, form, provider, reason, score and user agent
- Filters and pagination
- CSV export and deletion
- Automatic purge based on the retention period, 30 days by default
The statistics
The Statistics tab gives you a summary over 7, 30 or 90 days.
- Number of logged events and blocks
- Breakdown by form, reason and provider
- Daily trend
- Most blocked IP addresses
Charts are generated as SVG by the module itself, with no external library.
Appearance and accessibility
The captcha should blend into your store. The Appearance tab puts you in control of its look and its wording.
A captcha designed for everyone
The math captcha targets WCAG 2.1 AA. The field is labelled and keyboard accessible, focus stays visible and no information relies on colour alone.
The text alternative. You set a simple question and its answer, language by language. A visitor who struggles with the sum answers it instead. And if they refresh the challenge, whatever they already typed in the form is kept.
GDPR and privacy
No data collected by the module is sent to PrestaLuma or to any analytics service.
⚠️ Your responsibility. If you enable reCAPTCHA, hCaptcha or Turnstile, mention the service and its privacy policy in yours, and collect consent where required. No anti-bot protection is 100% foolproof, and the choice of system and filters remains yours.
Installation and first settings
Installation in 4 steps
- Open Modules → Module Manager → Upload a module.
- Upload the
lumacaptcha.ziparchive. - Clear the cache in Advanced Parameters → Performance.
- Click Configure on the module row.
On install, the module creates its tables, the signing secret, the scheduled task token, the default configuration and a preloaded list of disposable domains. No Composer step is needed.
The module ships disabled. Nothing is protected until you enable protection in the General tab and pick your forms. You stay in full control of the go-live.
Upload not possible? Unzip the archive, send the
lumacaptcha/folder to themodules/directory over FTP, then install the module from the Module Manager. With SSH access, the commandphp bin/console prestashop:module install lumacaptchadoes the same job.
Recommended go-live
- Turn on test mode in the General tab.
- Enable your forms in the Forms tab, starting with the math captcha.
- Enter your keys in Protections if you prefer an external service, then run the connectivity test.
- Check the Log for a few days to make sure real customers get through smoothly.
- Turn test mode off. Protection is now live.
The eight configuration tabs
| Tab | Role |
|---|---|
| General | Activation, test mode, fallback, exclusions, trusted proxy, retention |
| Protections | Service keys, reCAPTCHA v3 threshold, math captcha, connectivity test |
| Forms | Native forms and rules for third-party forms |
| Lists | Allowlists, blocklists and disposable domains |
| Log | Recorded decisions, filters, CSV export, purge |
| Statistics | Indicators over 7, 30 or 90 days, built-in chart |
| Appearance | Theme, size, position, CSS, texts per language, accessible alternative |
| Diagnostics | Environment, table and hook checks, export for support |
Settings and their default values
| Setting | Default value |
|---|---|
| Global protection | Disabled |
| Fallback when a service is down | Math captcha |
| Token lifetime | 600 s |
| Minimum fill-in delay | 2 s |
| Log retention | 30 days |
| Math captcha, number range | 1 to 10 |
| Math captcha, operations | Addition, subtraction |
| Math captcha, attempts | 3 |
| reCAPTCHA v3 threshold | 0.5 |
| Widget theme | Automatic |
Scheduling the purge
Expired tokens, stale counters and log lines past their retention period are deleted automatically. For a regular purge, schedule a daily call to the URL shown on the configuration page.
https://your-store.com/index.php?fc=module&module=lumacaptcha&controller=cron&token=YOUR_TOKEN
No scheduler on your hosting? A small purge runs now and then during visits, so data never piles up.
Quick fixes
| Symptom | Solution |
|---|---|
| The captcha does not show | Check that the module and the form are enabled and that the visitor is not excluded, then clear the cache |
| An external service keeps failing | Run the test in Protections and check that your domain is allowed with the provider |
| A legitimate submission is blocked | Read the reason in the Log, adjust the threshold or filters, add the IP to the allowlist if needed |
| The log grows too large | Reduce retention and schedule the purge |
| You need help from support | Export the report from the Diagnostics tab and attach it to your request |
Technical sheet
| Version | 1.2.0 |
| PrestaShop and PHP compatibility | See the product page |
| Tested themes | Classic and Hummingbird |
| Languages included | FR, EN, ES, DE, IT |
| Core override | None |
| Composer dependency | None |
| Updates | 24 months included |
| Support | 3 months included |
| Publisher | PrestaLuma |
| Licence | Commercial, one store per licence |
Ready to clean up your forms?
LumaCaptcha stops bots upstream, lets your customers through and shows you every decision. Start in test mode, watch, then switch protection on when you are ready.

Comments
Be the first to comment on this article.