You have no items in your shopping cart.

Cloudflare Turnstile

Cloudflare Turnstile Security Plugin
$20.00 excl tax

Cloudflare Turnstile Bot Protection for Login, Registration, Checkout and Contact Forms

Turnstile connects nopCommerce to Cloudflare Turnstile and adds its anti-bot challenge to five storefront forms: customer login, registration, guest checkout, Contact Us and Contact Vendor. The widget renders inside each protected form, and the token it returns is verified server-side through Cloudflare's siteverify endpoint before the sign-in, new account, order or enquiry is accepted.

What It Does

  • Login and register validation — replaces the stock LoginModel and RegisterModel validators; a failed check shows "Verification failed. Please try again." on the Email field.
  • Guest checkout gate — guests entering checkout without a pass are redirected to the checkout-as-guest page, where the "Checkout as guest" button carries the challenge.
  • 2-hour entry pass — a solved checkout-as-guest challenge is stored as a store-scoped generic attribute, so a guest passes the entry gate once per checkout session.
  • Billing and confirm checks — the billing address and confirm steps each carry a widget in classic and one-page checkout; a failed confirm never reaches order placement.
  • One-page checkout — widgets render into the AJAX-loaded sections and reset after every save, because Turnstile tokens are single-use.
  • Registered customers exempt — only guests are challenged during checkout; signed-in shoppers go through billing and confirm unchanged.
  • Checkout settings respected — the billing check is skipped when the billing step is disabled, and the entry gate when anonymous checkout is off.
  • Contact form validation — Contact Us and Contact Vendor checks extend the stock validators, keeping their required-field rules; every visitor, signed in or not, is challenged.
  • Per-form switches — a master "Enable plugin" switch plus one toggle per protected form; the plugin, checkout and contact toggles start switched off after install.
  • Cloudflare keys — SiteKey renders the widget, SecretKey authenticates the siteverify call; a missing key counts as "not configured", so it cannot lock customers out.
  • Outage handling — "Allow access when Cloudflare is unavailable" picks fail-open or fail-closed (the default) when siteverify exceeds its 5-second timeout, returns non-2xx or malformed JSON.
  • Per-store settings — SiteKey, SecretKey, the master switch, every form toggle and the outage option each accept a store-level override for multi-store installations.
  • Debug log — the "Enable Debugging" toggle writes a log file to ~/App_Data/ that can be downloaded or cleared from the configuration page.

How It Works

  1. Install the plugin, open its configuration page and enter the Cloudflare Turnstile SiteKey and SecretKey.
  2. Turn on the master switch and the forms to protect, then choose the outage behavior.
  3. In a multi-store installation, set store-level overrides where a store needs its own keys or forms.
  4. Customers solve the widget on each protected form; guests solve it before entering checkout.
  5. A submission with a failed token is rejected with an error message; a verified one proceeds normally.
  6. If verification fails unexpectedly, download the debug log from the configuration page.

Specs & Requirements

  • nopCommerce — 5.00, 4.90, 4.80, 4.70, 4.60
  • Plugin type — Misc; a misc plugin plus a storefront widget, activated automatically on install
  • Requires — a Cloudflare account with a Turnstile site key and secret key, and outbound HTTPS from the store server to challenges.cloudflare.com
  • Store setup — the Contact Vendor form exists only when vendor settings allow customers to contact vendors
  • Theme — must render the stock widget zones and form markup, including the "Checkout as guest" button
  • Admin permission — the customer create/edit/delete permission is required to open the configuration page

Powered by nopCommerce

Copyright © 2026 FoxNetSoft. All rights reserved.