I've got a problem with recaptcha validation.
I've set a small test form with just 2 text fields / 1 recaptcha / 1 submit button

the recaptcha module is filled with my site and secret keys
in the submit action I've put a "check google recaptcha" filled with the secret key.
In success I've put a message
in fail I've put a message and a event loader "load"
i've enabled the debug mode.

When I didn't check the "i'm not a robot" case, I get this result :
red warning with ""You didn't pass the NoCaptcha verification."
debug :
When I check the "i'm not a robot" case, I get this result :
The message put in the "fail" and " You didn't pass the NoCaptcha verification."
debug :
The "timeout or duplicate" is worring...
Have you got any idea on what's wrong ??
thanks !
I've set a small test form with just 2 text fields / 1 recaptcha / 1 submit button
the recaptcha module is filled with my site and secret keys
in the submit action I've put a "check google recaptcha" filled with the secret key.
In success I've put a message
in fail I've put a message and a event loader "load"
i've enabled the debug mode.
When I didn't check the "i'm not a robot" case, I get this result :
red warning with ""You didn't pass the NoCaptcha verification."
debug :
Array ( [submit_google_nocaptcha] => Array ( [response] => Array ( [success] => [error-codes] => Array ( [0] => missing-input-response ) ) [_error] => The NoCaptcha verification has failed. [var] => ) )
When I check the "i'm not a robot" case, I get this result :
The message put in the "fail" and " You didn't pass the NoCaptcha verification."
debug :
Array ( [submit_google_nocaptcha] => Array ( [response] => Array ( [success] => 1 [challenge_ts] => 2020-04-12T16:09:56Z [hostname] => www.camping-la-besorgues-ardeche.com ) [_success] => The NoCaptcha verification was successfull. [var] => 1 ) [submit_validate_fields] => Array ( [log] => Automatic validation enabled. [var] => 1 ) [google_nocaptcha5] => Array ( [response] => Array ( [success] => [error-codes] => Array ( [0] => timeout-or-duplicate ) ) [_error] => The NoCaptcha verification has failed. [var] => ) )
The "timeout or duplicate" is worring...
Have you got any idea on what's wrong ??
thanks !
I think its because you have the v6.1 and you have enabled the "Check security actions" in the form general settings already, you should not use the "Check Google captcha" action anymore in v6.1
Best regards
Best regards
This topic is locked and no more replies can be posted.