<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ravi Patel</title>
    <description>The latest articles on DEV Community by Ravi Patel (@ravi-patel).</description>
    <link>https://dev.to/ravi-patel</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3605927%2F3e34e090-52e8-4b6e-8327-9118aee2aabb.png</url>
      <title>DEV Community: Ravi Patel</title>
      <link>https://dev.to/ravi-patel</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ravi-patel"/>
    <language>en</language>
    <item>
      <title>How to Stop Fake Leads and Spam Signups in WordPress With OTP Verification (Free Plugins for CF7, WPForms, Elementor and WooCommerce)</title>
      <dc:creator>Ravi Patel</dc:creator>
      <pubDate>Thu, 26 Nov 2026 02:10:59 +0000</pubDate>
      <link>https://dev.to/ravi-patel/how-to-stop-fake-leads-and-spam-signups-in-wordpress-with-otp-verification-free-plugins-for-cf7-5b0i</link>
      <guid>https://dev.to/ravi-patel/how-to-stop-fake-leads-and-spam-signups-in-wordpress-with-otp-verification-free-plugins-for-cf7-5b0i</guid>
      <description>&lt;p&gt;If you build WordPress sites for clients, you've probably had this
call: "We're getting 200 leads a week and none of them are real." Fake
phone numbers, &lt;code&gt;test@test.com&lt;/code&gt; emails, bots filling the
contact form at 3 AM. CAPTCHAs help a bit, but they annoy real visitors
and don't tell you whether the phone number someone typed actually
belongs to them.&lt;/p&gt;

&lt;p&gt;The fix that actually works is &lt;strong&gt;OTP verification&lt;/strong&gt;.
Before the form submits, the visitor gets a one-time code on their phone
or email and has to type it back. Bots can't do it, and people who
mistype their number find out right away instead of becoming a dead
lead.&lt;/p&gt;

&lt;p&gt;In this post I'll show how to add OTP verification to the form plugin
you already use, and to WooCommerce login and checkout, using the free
&lt;a href="https://authyo.io" rel="noopener noreferrer"&gt;Authyo&lt;/a&gt; plugins from wordpress.org. No
custom PHP needed.&lt;/p&gt;

&lt;h2 id="why-otp-instead-of-captcha"&gt;Why OTP instead of CAPTCHA?&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;CAPTCHA&lt;/th&gt;
&lt;th&gt;OTP verification&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Stops bots&lt;/td&gt;
&lt;td&gt;Mostly&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Confirms the phone or email is real&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Confirms it belongs to the visitor&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Friction for real users&lt;/td&gt;
&lt;td&gt;Puzzles and image grids&lt;/td&gt;
&lt;td&gt;One short code&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Useful for sales follow-up&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Every lead is reachable&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;For lead-gen sites, the second and third rows are what matter. A
verified phone number is a lead your sales team can actually call.&lt;/p&gt;

&lt;h2 id="pick-the-plugin-for-your-form-builder"&gt;Pick the plugin for your
form builder&lt;/h2&gt;

&lt;p&gt;Authyo has a separate free plugin for each popular form builder, so
you only install what you need:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://wordpress.org/plugins/authyo-otp-for-contact-form-7/" rel="noopener noreferrer"&gt;Authyo
OTP for Contact Form 7&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://wordpress.org/plugins/authyo-otp-for-wpforms/" rel="noopener noreferrer"&gt;Authyo OTP
for WPForms&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://wordpress.org/plugins/authyo-otp-for-elementor-form/" rel="noopener noreferrer"&gt;Authyo
OTP for Elementor Form&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://wordpress.org/plugins/authyo-otp-for-forminator-form/" rel="noopener noreferrer"&gt;Authyo
OTP for Forminator Form&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://wordpress.org/plugins/authyo-otp-for-ninja-forms/" rel="noopener noreferrer"&gt;Authyo
OTP for Ninja Forms&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://wordpress.org/plugins/authyo-otp-for-everest-forms/" rel="noopener noreferrer"&gt;Authyo
OTP for Everest Forms&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://wordpress.org/plugins/authyo-otp-for-met-form/" rel="noopener noreferrer"&gt;Authyo OTP
for Met Form&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://wordpress.org/plugins/authyo-otp-for-sureforms/" rel="noopener noreferrer"&gt;Authyo
OTP for SureForms&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://wordpress.org/plugins/authyo-otp-for-easy-form-builder/" rel="noopener noreferrer"&gt;Authyo
OTP for Easy Form Builder&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;They all send codes by &lt;strong&gt;email, SMS, WhatsApp or voice
call&lt;/strong&gt; (voice call is India-only), and they all use the same
Authyo account, so you can manage every client site from one
dashboard.&lt;/p&gt;

&lt;h2 id="step-1-get-your-authyo-credentials"&gt;Step 1: Get your Authyo
credentials&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Create a free account at &lt;a href="https://app.authyo.io/account/welcome" rel="noopener noreferrer"&gt;app.authyo.io&lt;/a&gt;. New
accounts get &lt;strong&gt;$1 of free wallet credit&lt;/strong&gt; (about 300 email
OTPs), and no credit card is needed.&lt;/li&gt;
&lt;li&gt;Create an application and copy the &lt;strong&gt;Client ID&lt;/strong&gt; and
&lt;strong&gt;Client Secret&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You'll paste these into the plugin settings in the next step.&lt;/p&gt;

&lt;h2 id="step-2-example-with-contact-form-7"&gt;Step 2: Example with Contact
Form 7&lt;/h2&gt;

&lt;p&gt;Contact Form 7 is still the most common form plugin on client sites,
so let's use it as the example.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Install and activate &lt;a href="https://wordpress.org/plugins/authyo-otp-for-contact-form-7/" rel="noopener noreferrer"&gt;Authyo
OTP for Contact Form 7&lt;/a&gt; (CF7 must be active too).&lt;/li&gt;
&lt;li&gt;Enter your Authyo credentials in the plugin settings.&lt;/li&gt;
&lt;li&gt;Turn on OTP for the form you want in the &lt;strong&gt;Form
Integration&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;Add the OTP tags to your form, right after the fields you want to
verify:&lt;/li&gt;
&lt;/ol&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;label&amp;gt; Your name
    [text* your-name] &amp;lt;/label&amp;gt;

&amp;lt;label&amp;gt; Your email
    [email* your-email] &amp;lt;/label&amp;gt;
[authyo_email]

&amp;lt;label&amp;gt; Your phone
    [tel* your-phone] &amp;lt;/label&amp;gt;
[authyo_phone]

[submit "Send"]&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;code&gt;[authyo_email]&lt;/code&gt; goes directly after the email field, and
&lt;code&gt;[authyo_phone]&lt;/code&gt; directly after the phone field. That's it.
Save the form, open it on the front end, and you'll see a verify step
before submission.&lt;/p&gt;

&lt;p&gt;A few extras in the CF7 plugin that are worth knowing about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A &lt;strong&gt;built-in country dropdown&lt;/strong&gt; for phone numbers that
adds the dial code for you (there's an
&lt;code&gt;[only_country_dropdown]&lt;/code&gt; tag if you just want the
selector).&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;Leads Manager&lt;/strong&gt; that stores verified submissions,
with search, filters and CSV export.&lt;/li&gt;
&lt;li&gt;Optional &lt;strong&gt;Google Sheets&lt;/strong&gt; sync and &lt;strong&gt;WhatsApp
notifications&lt;/strong&gt; for verified leads.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The other form plugins follow the same idea: install, add
credentials, enable OTP on the form, and add the email or phone
verification field. For example, the &lt;a href="https://wordpress.org/plugins/authyo-otp-for-wpforms/" rel="noopener noreferrer"&gt;WPForms
version&lt;/a&gt; adds email and phone OTP fields, has optional strict
validation that blocks the form until the user verifies, and optional
phone validation with Google's libphonenumber.&lt;/p&gt;

&lt;h2 id="step-3-what-happens-when-sms-doesnt-arrive"&gt;Step 3: What happens
when SMS doesn't arrive?&lt;/h2&gt;

&lt;p&gt;This is the part that matters for sites in India and Southeast Asia,
where SMS delivery can be slow or blocked by DND and DLT rules.&lt;/p&gt;

&lt;p&gt;You can set up more than one channel. If the code doesn't come
through on the first one, the visitor can retry on another channel (SMS,
WhatsApp or voice call) instead of giving up on the form. That's the
difference between a lost lead and a verified one.&lt;/p&gt;

&lt;p&gt;There's also a sensible fail-safe in the WPForms plugin: if Authyo
isn't configured or the wallet runs out of balance, forms keep
submitting without OTP instead of breaking your client's site.&lt;/p&gt;

&lt;h2 id="step-4-otp-login-and-checkout-for-woocommerce"&gt;Step 4: OTP login
and checkout for WooCommerce&lt;/h2&gt;

&lt;p&gt;For stores, fake accounts and fake COD orders are the bigger problem.
&lt;a href="https://wordpress.org/plugins/authyo-otp-authentication-for-woocommerce/" rel="noopener noreferrer"&gt;Authyo
Authentication and Notification for WooCommerce&lt;/a&gt; covers three
things:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Passwordless login and registration.&lt;/strong&gt; Drop these
shortcodes on any page:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;[authyo_otp_login]
[authyo_otp_register]&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Customers log in or sign up with a code sent by email, SMS, WhatsApp
or voice call. No password to forget, so fewer "reset password" emails
and abandoned logins.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Verified checkout.&lt;/strong&gt; You can require customers to
verify their email or phone before placing an order. It works with both
the classic checkout and the Checkout Block. This is a big one for
cash-on-delivery stores, where unverified numbers turn into failed
deliveries.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Automatic channel fallback.&lt;/strong&gt; You pick a priority
channel for mobile numbers. If it fails, the plugin automatically
retries on a fallback channel, for example SMS when WhatsApp fails.
Customers can also tap "Try another method" themselves.&lt;/p&gt;

&lt;p&gt;As a bonus, the same plugin sends &lt;strong&gt;order status
notifications&lt;/strong&gt; by email, SMS or WhatsApp for pending,
processing, completed, on hold, cancelled, refunded and failed orders.
It also has rate limiting, attempt limits, lockouts and an OTP activity
log built in.&lt;/p&gt;

&lt;h2 id="bonus-lock-down-wp-admin-too"&gt;Bonus: lock down wp-admin too&lt;/h2&gt;

&lt;p&gt;If you're already securing the front end, &lt;a href="https://wordpress.org/plugins/authyo-passwordless-login/" rel="noopener noreferrer"&gt;Authyo
Passwordless Login&lt;/a&gt; handles the back end. It adds passkeys for
administrators, brute-force protection with progressive lockouts, an IP
allow and block list, a custom login URL, XML-RPC and REST API
protection, and security activity logs with CSV export. Email OTP login
is optional and uses the same free Authyo keys.&lt;/p&gt;

&lt;p&gt;And if your client wants leads from a chat widget instead of a form,
&lt;a href="https://wordpress.org/plugins/authyo-chatlead/" rel="noopener noreferrer"&gt;Authyo
ChatLead&lt;/a&gt; is a chatbot lead capture plugin that verifies the email or
phone during the chat.&lt;/p&gt;

&lt;h2 id="what-does-it-cost"&gt;What does it cost?&lt;/h2&gt;

&lt;p&gt;The plugins are free on wordpress.org. You only pay for the OTP
messages you send, pay-as-you-go, with volume discounts as usage grows.
Rates depend on the country and channel, and you can check them on the
&lt;a href="https://authyo.io/package/" rel="noopener noreferrer"&gt;Authyo pricing page&lt;/a&gt;. The $1
starting credit is plenty to test the whole setup on a staging site.&lt;/p&gt;

&lt;h2 id="wrapping-up"&gt;Wrapping up&lt;/h2&gt;

&lt;p&gt;OTP verification is one of those changes that clients notice
immediately: the lead count drops a little, and the number of leads that
actually pick up the phone goes way up. With a plugin per form builder,
it takes about ten minutes per site.&lt;/p&gt;

&lt;p&gt;You can browse all the plugins on &lt;a href="https://authyo.io/our-plugins/" rel="noopener noreferrer"&gt;Authyo's plugin page&lt;/a&gt;, or start
with a &lt;a href="https://app.authyo.io/account/welcome" rel="noopener noreferrer"&gt;free Authyo
account&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;How are you handling spam leads on your WordPress sites right now?
CAPTCHA, honeypots, something else? Let me know in the comments.&lt;/p&gt;

</description>
      <category>contactform</category>
      <category>wordpress</category>
      <category>contactform7</category>
      <category>fakelead</category>
    </item>
  </channel>
</rss>
