Blesta Addons Posted July 28, 2017 Report Posted July 28, 2017 i have activated the recaptcha in signup page, the captcha always return error . the i'm no robot cpatcha is showing well, but every time the client validate the signup page he get a error about captcha . we are using 4.0.0, captcha v2. any feedback or any tips to test . after some investigation, we found the repatche response is recaptcha validation invalid-json Quote
0 Blesta Addons Posted July 28, 2017 Author Report Posted July 28, 2017 we have found the issue. allow_url_fopen with https issue . the fix is simple, we changed the method from post to curl . by chaning only this line of code $recaptcha = new ReCaptcha( $order_settings['recaptcha_shared_key'], new \ReCaptcha\RequestMethod\CurlPost() ); i encourage blesta to use the curl method instead of the post, as now some host block allow_url_fopen , also is rebust to connect to a https site by curl . activa 1 Quote
Question
Blesta Addons
i have activated the recaptcha in signup page, the captcha always return error .
the i'm no robot cpatcha is showing well, but every time the client validate the signup page he get a error about captcha .
we are using 4.0.0, captcha v2. any feedback or any tips to test .
after some investigation, we found the repatche response is
recaptcha validation invalid-json
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.