Arbitrary form – Bad hCaptcha nonce!
-
I am trying to use this plugin on a custom form however, when i verify the result of hCaptcha challenge using
hcaptcha_verify_post()
i am receiving the message: “Bad hCaptcha nonce!”.As my custom form is submitted using ajax, i have put this code into a jquery submit form function:
$result = hcaptcha_request_verify(); if ( 'success' !== $result ) { // Block processing of the form. }
I cannot seem to successfully verify the results of the hCaptcha challenge, if anyone could help, that would be great. Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Arbitrary form – Bad hCaptcha nonce!’ is closed to new replies.