Missing POST variable for g-recaptcha-response

258 views
Skip to first unread message

Joshua Palmeri

unread,
Jan 22, 2018, 6:51:25 AM1/22/18
to reCAPTCHA
Hi,

We have a live reCaptcha v2 implementation at the following URL:


The reCaptcha was working great until reported to me as not working today.

I have identified the following:
  • The reCaptcha JS is loading successfully
  • The reCaptcha is working well on the form -- creating the element, checking the box and adding an encrypted string to the g-recaptcha-response textarea element that is created by the library.
  • However, on the server I am seeing no value for $_POST['g-recaptcha-response']
  • When I var_dump the $_POST array in PHP, I see all other form values but not this one. It does not exist as an index in the $_POST array

I have crawled the docs at https://developers.google.com/recaptcha/docs/verify to no avail.

Thanks,
Josh
reCAPTCHA.jpg
Reply all
Reply to author
Forward
0 new messages