I'm developing a website using PHP and I want to make a human verification in one of the sessions. For the development, I'm initially running the system locally and when it is ready, I'm gonna make put it on in a certain domain.
In the reCAPTCHA website it is said that the plugin will only work at the given domain (and subdomains).
My question is: Is there any way to use the reCAPTCHA plugin on a localhost?
https://developers.google.com/recaptcha/docs/domain_validation
Check the part where it says you can disable the check. Only do it for development.
localhost works now. However, remember that after adding localhost to list of domain names, it takes up to 30 minutes to take effect (according to the help tip shown against the domain names list).
This worked for me:
"With the following test keys, you will always get No CAPTCHA and all verification requests will pass.
Site key:
6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
Secret key:
6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
The reCAPTCHA widget will show a warning message to claim that it's only for testing purpose. Please do not use these keys for your production traffic."
Extracted from here: https://developers.google.com/recaptcha/docs/faq
BR!
when you add Domains in Google recaptcha
Add new domain: Localhost not localhost
"L" is capital letter
Good luck
Remove current REcaptcha key, then register new key and set your key settings with domains:
127.0.0.1 localhost