View Single Post
  #484  
Old 12-19-2022, 11:08 AM
 
Dougrun Dougrun is offline
 

X-Adept
  
Join Date: Apr 2012
Posts: 898
 

Default Re: X-Cart reBOOT (reDUX) Template

question. I implemented google recaptcha as i was getting tons of bot accounts. google page says :
We detected that your site is not verifying reCAPTCHA solutions. This is required for the proper use of reCAPTCHA on your site. Please see our developer site for more information.


I can see the code in reCAPTCHA_js.tpl, has it changed or been updated?


Code:
{literal} <script> var CaptchaCallback = function() { $('.g-recaptcha').each(function(index, el) { grecaptcha.render(el, { 'sitekey':'{/literal}{$config.reCAPTCHA.reCAPTCHA_site_key}{literal}', 'theme':'{/literal}{$config.reCAPTCHA.reCAPTCHA_theme}{literal}' }); }); }; </script> {/literal} <script async defer src="https://www.google.com/recaptcha/api.js?onload=CaptchaCallback&render=explicit&hl={$shop_language|lower}"></script> {*{if $main eq "catalog" && $cat eq "0"}{else}<noscript><meta http-equiv="refresh" content="0.0;url=home.php"></noscript>{/if}*}
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote