greggilbert / recaptcha

[ABANDONED] reCAPTCHA Validator for Laravel 5
MIT License
713 stars 196 forks source link

Validation Fails #138

Closed adhranjan closed 5 years ago

adhranjan commented 7 years ago

Everything seems perferct but when when i subbmit the form it validator doesnt validate g-recaptcha-response...

farhadkb6868 commented 7 years ago

I have the same problem. Laravel doesn't pass validation rules when I use reCatpcha. any idea?

rvwoens commented 7 years ago

same here

ElenaDevBG commented 7 years ago

I had the same problem and as stupid as it sounds my problem was solved by replacing {!! Recaptcha::render() !!} with <div class="g-recaptcha" data-sitekey="your_site_key"></div> Hope that will help you.

pawel-dubiel commented 7 years ago

Also, check logs for curl errors. In my case in local environment, i was receiving silently this error "CURL error: SSL certificate problem: unable to get local issuer certificate"

you can disable this by setting curl_verify=false in config/recaptcha.php

nanadjei commented 5 years ago

Getting the same issue. But this solution works https://m.dotdev.co/google-recaptcha-integration-with-laravel-ad0f30b52d7d