NoCaptcha in Recaptcha

ClassiBase classifieds script Forums General help NoCaptcha in Recaptcha

This topic contains 1 reply, has 2 voices, and was last updated by  ClassiBase 1 year, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2669 Reply

    Hello,

    I tried updating the recaptcha with nocaptcha (v2) though it’s working on the frontend but when the form is submitted, it’s just return blank. Do you know how to fix those blank error?

    I updated this page: /sys/app/models/Captcha.php

    		return '<span id="recaptcha_wrap"></span>
    			<script type="text/javascript">
    			addLoadEvent(function(){
    				$.getScript("https://www.google.com/recaptcha/api/js/recaptcha_ajax.js",function(){
    					function showRecaptcha(element) {
    						Recaptcha.create("' . $publickey . '", element, {theme: "clean"});
    					}
    					showRecaptcha("recaptcha_wrap");
    				});
    			});
    			</script>';

    to

    <div class="g-recaptcha" data-sitekey="PUBLIC-KEY-HERE"></div>

    along with .js on the footer but when submitted it returned blank.

    Thanks!

    #2706 Reply

    ClassiBase
    Keymaster

    Hello,

    It is not enough to change captcha display code to change to version 2 you have to change captcha checking code to version 2 as well.

    We scheduled recaptcha v2 integration for our next script update. But no certain time set for it.

    Regards.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: NoCaptcha in Recaptcha
Your information: