View Single Post
  #71  
Old 04-24-2019, 06:24 AM
 
voodoo1967 voodoo1967 is offline
 

X-Adept
  
Join Date: Sep 2009
Posts: 431
 

Default Re: reCAPTCHA for X-Cart Classic

Getting 5 or so bogus registrations per day. Recaptcha working on Contactus form but on Registration Form I just get the spinning wheel icon - see attached image.

Re uploaded the latest version , cleared the cache and made the necessary change ie

6) In /include/register.php

BEFORE...

// Check address book
if (isset($address_book)) {

INSERT...

// reCAPTCHA - www.xcartmods.co.uk
if ($current_area == "C" && $main != "checkout" && $config['reCAPTCHA']['reCAPTCHA_enabled'] == "Y" && $config['reCAPTCHA']['reCAPTCHA_site_key'] && $config['reCAPTCHA']['reCAPTCHA_secret_key'] && $config['reCAPTCHA']['reCAPTCHA_enabled_register'] == "Y") {
include $xcart_dir . '/modules/reCAPTCHA/recaptcha_check_register.php';
}
// /reCAPTCHA


Anything else ?
Attached Images
File Type: jpg register-error.jpg (111.2 KB, 14 views)
__________________
x-cart Gold Plus 4.7.12
CDSEO Pro latest ver
ReDux template xcartmods.co.uk - it's great
php 7.x
Reply With Quote