thinhbuzz / laravel-google-captcha

Google captcha for Laravel 5, Laravel 6, Laravel 7, Laravel 8, Laravel 9 and Laravel 10, support multiple captcha on page
MIT License
200 stars 32 forks source link

Captcha don't validate #46

Closed Samuelbdesouza closed 10 months ago

Samuelbdesouza commented 3 years ago

Hello, I followed all the steps in readme.md, but captcha validation is not running, could you help me or explain to me how validation works? I'm new to laravel, so I still don't understand some parts of the framework

thinhbuzz commented 3 years ago

@Samuelbdesouza Can you please show your code or config? Or you can follow example repo here https://github.com/thinhbuzz/laravel-h-captcha-examples/tree/master/resources/views

kenkioko commented 3 years ago

When validating it throws an error Call to undefined function post()

'g-recaptcha-response' => 'required|captcha',
thinhbuzz commented 3 years ago

@kenkioko What version are you using laravel?

thinhbuzz commented 3 years ago

https://github.com/thinhbuzz/laravel-google-captcha-examples/tree/laravel8 I have tried on version 8 and there is no error

kamcw commented 2 years ago

I have the same problem. Captcha started reporting a validation error

kamcw commented 2 years ago

I have a solution! The problem with validation occurs if google has blocked the service because it has not been used for too long. Need to generate new keys