Skip to main content

All Questions

Tagged with
65 votes
12 answers
173k views

How to Validate Google reCaptcha on Form Submit

Recently, Google completely overhauled their reCaptcha API and simplified it to a single checkbox. The problem is, I can submit a form with the reCaptcha included without checking it and the form ...
Drew Kennedy's user avatar
  • 4,168
25 votes
8 answers
55k views

Google reCAPTCHA - keep getting `incorrect-captcha-sol`

I am trying to add a reCAPTCHA to my site, but keep getting incorrect-captcha-sol error when I submit the answer. Can anyone tell me if I am correct in doing the following? I have a generic index.php, ...
Anriëtte Myburgh's user avatar
82 votes
11 answers
88k views

Google reCaptcha response "Uncaught (in promise) null"

I'm use reCaptcha v2 but in dev console response Uncaught (in promise) null in in any case (and moving the .reset() function) console: my code for recaptcha: <div class="text-xs-center" style="...
FABBRj's user avatar
  • 980
2 votes
1 answer
6k views

Invisible reCaptcha AJAX Call

I'm trying to implement the invisible reCaptcha onto a website. But I can not get it working. Here is what I'm doing: header <!-- Invisible reCaptcha --> <script src="https://www.google....
jor's user avatar
  • 158
6 votes
1 answer
32k views

"Could not open socket"

How do I alleviate the "Could not open socket" error that is happening on my site? I have troubleshot that it is CAPTCHA (I'm using reCAPTCHA). It is only displaying this error on the two pages where ...
LightningWrist's user avatar
0 votes
0 answers
122 views

(PHP) Stuck making submission form anti spam

So I am almost done creating this anti spam google recaptcha v3 form. I get failure to the end. could you see what is the problem? I dont use this to send data to DB but to my email. let me know if ...
SarahMilner's user avatar
16 votes
2 answers
1k views

reCAPTCHA stopped working - Invalid Encryption

I have been using reCAPTCHA on my site for a while now and suddenly I realized it has stopped to work. The reCAPTCHA is there, however after verifying correctly, the response FAILS which makes the ...
Emir Husic's user avatar
4 votes
3 answers
10k views

Using Google reCaptcha always shows 'incorrect-captcha-sol'

I'm trying to use Google reCaptcha on my website and after following several tutorials, I'm using as follow on my HTML page: <section class="row" id="Contact"> <div class="col-full"&...
user26830's user avatar
  • 1,059
3 votes
1 answer
8k views

New recaptcha doesn't work twice in (basically) the same page

For my website I'm loading all subpages in a div that basically covers everything but the menu via jquery. The structure is like this, you press the account button, and you get the log-in form, then ...
Cârnăciov's user avatar
  • 1,144
2 votes
2 answers
12k views

Contact Form submits without checking reCAPTCHA

I'm making a webapp with a contact form, and have a google reCAPTCHA (v2) on my website to prevent robot-spam. I have added this code to the website: <div class="g-recaptcha" data-sitekey="">&...
Kevin's user avatar
  • 51
2 votes
1 answer
4k views

Google Invisible Recaptcha Using Jquery Ajax and PHP

Trying to get my form which uses google invisible recaptcha to work correctly with my my jQuery AJAX and PHP. From my research it seems that the token is not being sent to my PHP page correctly via ...
Dango's user avatar
  • 159
2 votes
1 answer
9k views

Google reCaptcha - empty error message, not receiving response to challenge (The reCAPTCHA wasn't entered correctly)

EDIT: I'm using reCaptcha 2.0, should I not be using recaptchalib.php? Live DEMO http://josiahbertoli.com/ I'm getting the following error when I submit a form (ignore the blank values for the ...
user1395909's user avatar
0 votes
1 answer
2k views

Google reCAPTCHA V2 checkbox HTML and PHP Contact Form Code

I have used this site to find answers in the past and have decided to create an account, so I can share and help others. This post is not a question, but rather to share the code I have been using for ...
Technoyd's user avatar
0 votes
1 answer
1k views

Why does my PHP reCAPTCHA only display on Chrome and Safari?

I'm using the PHP reCAPTCHA on my company's website. I basically just followed this tutorial https://developers.google.com/recaptcha/docs/php which is pretty straightforward. Anyway, everything ...
Traug's user avatar
  • 59
0 votes
1 answer
1k views

Contact form with reCaptcha [closed]

I know this may have been submitted before (sorry) I have basic form, these are the details id like to be sent, however i cannot get the reCaptcha to work with it. I have googled all day, but when i ...
JoeyG's user avatar
  • 721