Skip to main content

WPForms spam

WPForms reCAPTCHA not working, or spam still getting through?

The short answer

Check three things in WPForms: Settings → CAPTCHA has the right type and both keys, the form’s own CAPTCHA switch is on, and the score threshold suits your traffic. A visitor who sees “verification failed” may have had the Google script blocked on their page, a low score, or a key problem. If the junk that gets through is typed by people, reCAPTCHA isn't built to stop it: it tells robots from people, so a typed pitch needs a check that reads the message.

1. Check the type and the keys

  • In WordPress, go to WPForms → Settings → CAPTCHA. Pick the type (Checkbox reCAPTCHA v2, Invisible reCAPTCHA v2 or reCAPTCHA v3), then paste the Site Key and the Secret Key.
  • When you register your site in Google’s reCAPTCHA admin console you choose a type. Choose the same type you picked in WPForms.
  • A key works on the domains you list for it and addresses under them, such as www.yoursite.com. If your form is on a domain the key doesn’t list, add it.
  • Save the settings. WPForms shows a preview of the CAPTCHA once they are saved, and its note says your Secret Key is checked when a form is submitted, so send a test message too.

2. Switch it on for each form

WPForms checks reCAPTCHA only on a form where it is turned on, and only when both keys are saved. In the form builder, open Settings → Spam Protection and Security, find the CAPTCHA section and switch on Enable Google v3 reCAPTCHA (or the v2 option that matches your type). A form with the switch off is not checked at all.

3. Read what went wrong

Three things can stop a message, and the visitor sees WPForms’s Fail Message each time. By default it reads “Google reCAPTCHA verification failed, please try again later.” You can change it under WPForms → Settings → CAPTCHA.

  • No pass code. reCAPTCHA v3 loads a script from google.com on the page. The script adds a pass code to the form when it is sent; if the script is stopped, the form goes without it and is turned away. WPForms doesn’t log this one as spam.
  • A low score. reCAPTCHA v3 scores each visit from 0.0 (very likely a robot) to 1.0 (very likely a good interaction). WPForms turns away a message whose score is less than or equal to the Score Threshold, which is 0.4 unless you change it. The visitor sees the score in brackets after the Fail Message, for example “(0.3)”.
  • A key problem. If Google rejects your Secret Key, or your server can’t reach Google, every message gets the Fail Message. Recent WPForms versions (2.0.2 and later) also show an admin notice that says so and links to the CAPTCHA settings.

4. Fix the usual causes

  • Every message fails: re-check the Secret Key, the type and the listed domains, then send a test.
  • The script doesn’t load: look at the page for anything that blocks or delays scripts from google.com. If another plugin or theme also loads a CAPTCHA, try No-Conflict Mode on the CAPTCHA settings page. WPForms says to use it only when your site has compatibility problems.
  • Real visitors get turned away: lower the Score Threshold (WPForms starts at 0.4; a lower number lets more visits through). Look at your traffic in Google's admin console before you change it.
  • You want to see what was stopped: go to WPForms → Tools → Logs, switch on Enable Logs and include the Spam type. WPForms recommends this only while you debug.

If you are chasing the same problem in Contact Form 7, see Contact Form 7 reCAPTCHA v3 not working.

5. When spam still gets through

reCAPTCHA is built to tell robots from people. A sales pitch, or an offer to get you higher on Google, typed by a person in a real browser is a real visit. It can score well and arrive like any other message.

That kind needs a check that reads the message. Spam Shield does that for WPForms (Lite and Pro) and Contact Form 7:

  • It checks each message that has a sender email address, just before WPForms sends its notification email. You keep reCAPTCHA.
  • A message that looks like spam is held on Settings → Spam Shield → Blocked messages instead of emailed. The sender isn’t told it was held: they see the form’s normal confirmation.
  • If a held message was real, Not spam: deliver it sends the form’s normal notification email. A held message is removed after 30 days, so look over the page now and then.
  • If the check is slow or down, the message is delivered as normal.
  • A message WPForms turns away with an error isn't sent to Spam Shield and uses none of your checks.

To check a message, the plugin sends the sender's name, email address, phone, subject and message to MySiteHandled, which checks it with its own rules and, when they can't decide, an AI model; what is sent and kept is in our privacy policy. The free key covers 50 checks a month.

More questions

Do I have to switch reCAPTCHA on for every WPForms form?

Yes. WPForms checks reCAPTCHA only on a form where it is switched on, and only when both keys are saved. Open the form, go to Settings → Spam Protection and Security, and switch on the CAPTCHA option.

Why does a real visitor see “verification failed”?

Either the reCAPTCHA script didn’t run on their page, so the form was sent without its pass code, or Google scored the visit at or below your Score Threshold. If every visitor sees it, check your Secret Key and the domains the key lists.

What score does WPForms block?

With reCAPTCHA v3, WPForms turns away a message whose score is less than or equal to the Score Threshold under WPForms → Settings → CAPTCHA. It is 0.4 unless you change it.

Does Spam Shield replace reCAPTCHA in WPForms?

No, you can keep both. Spam Shield checks a message after WPForms has accepted it, so it looks at what reCAPTCHA let through, such as pitches typed by people.

Does Spam Shield work with WPForms Lite?

Yes. It works with WPForms Lite and Pro, and with Contact Form 7. Other form plugins aren't supported.

Try Spam Shield on your form

A free key checks 50 messages a month. No card. Pro checks 5,000 a month.