| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#81
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
Have this installed on x-cart 4.7.11 responsive template but still getting registrations like this...
Quote:
any idea how they are getting through the recaptcha on the registration page?
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
#82
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
reCAPTCHA's certainly not bulletproof, but I'd go through the install steps again in case you missed anything.
Also I'd consider adding the 'honeypots' that were added in the latest version, which seem to do the trick
__________________
xcartmods.co.uk |
|||||||
#83
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
great, thanks. I'll add that and see if that blocks them.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
#84
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
Here's some feedback from a V4.4.5 user:
This awesome mod has been on my to-do list for a couple years. The spammers have been very active the last few weeks so I was finally compelled to installed reCAPTCHA on my v4.4.5 branch. I only incorporated the mods for Register, Login, PW Recovery, and Contact. I was surprised to find that my stock /include/help.php was missing the antibot_pwd_err section of code, so I copied what I needed from the XC 4.7.8 release. In case it helps another 4.4.5 user, here is what I did: In /include/help.php file patch, BEFORE ... Code:
INSERT ... Code:
My site is running and the error logs are clean. Hopefully this mod reduces the spammer chatter. Many thanks for sharing the reCAPTCHA mod for X-Cart Classic! EDIT Jan-21-2020: So far not a single Contact-Us or Registration spam. Glad to see the robot spammers are being blocked.
__________________
Thomas / USA XCart V4.4.5 Gold XCart Mobile V1.4.12 XCart X-PDF XCart X-HotProducts AlteredCart Checkout One (One Page Checkout) BCSE Back In Stock CFL Holiday Message CFL System Message Smack Digital (WebsiteCM) Remember Anon Carts xcartmods Testimonials xcartmods reCAPTCHA for X-Cart Classic Unix, PHP 7.0 (patched 5.4). MySQL 5.6 |
|||||||
|
#85
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
In /skin/common_files/modules/reCAPTCHA/reCAPTCHA_js.tpl
This line can be commented out, as it's not really necessary and might interfere... Code:
__________________
xcartmods.co.uk |
|||||||
|
#86
|
|||||||||
|
|||||||||
Re: reCAPTCHA for X-Cart Classic
Hi Phil,
I realized that I had made some of the reCAPTCHA tpl updates to both common_files and reboot (though reboot 4.7.11 had all the updates in the needed modules). My confusion. However, in testing, checking out with 'anonymous' (eg, I don't require customer to register), there is no recaptcha on the screen. The URL for the module follows https://www.mystore.com/cart.php?mode=checkout#regdlg I've attached the screen capture - Is there maybe a missing tpl update for reCAPTCHA, or do I still have an install problem? Thanks Peggy
__________________
X-Cart GP 4.7.12 | XCARTMODS.CO.UK reBOOT (reDUX)4.7.12.8 | Live IONOS Hosting | Linux | PHP 7.4.33 | MySQL 5.7 |
|||||||||
#87
|
|||||||||
|
|||||||||
Re: reCAPTCHA for X-Cart Classic
Hi
I've had a customer using the module hit with spam through the contact form - so I've updated the module to the latest with the honeypot. It says the honeypot is "optional" - but how do we make sure it's enabled?
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#88
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
@ Paul, you can use your browser inspector to find the hidden honeypot field HTML.
Right click on the form -> 'Inspect Element' or CTRL + SHIFT + I and then CTRL + F to search for the field. Once you've located the honeypot field, give it a value, then submit the form.
__________________
xcartmods.co.uk |
|||||||
|
#89
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
Today I discovered that the reCAPTCHA mod causes Altered Cart's Checkout One registered user Sign On to fail. It also fails when XCart Mobile is used. However Sign On works correctly from desktop mode using the shopping cart's side bar Authentication area.
When I applied the mod to my XC V4.4.5, the reCAPTCHA patch instructions for /include/login.php didn't match my version. Specifically this "BEFORE" code section doesn't exist: Code:
By comparing V4.4.5 with V4.7.8 I found what I thought was the equivalent code; I inserted the new reCAPTCHA code before this sequence: Code:
The only other notable discrepancy was described in my post #84. I rechecked my reCAPTCHA edits and couldn't find any unpatched code or edit mistakes. So I created a workaround for the login issue by commenting out the reCAPTCHA code block in login.php. BTW, I found that the $main var is an empty string in login.php (in the reCAPTCHA function). Not sure if this is important, but thought I should mention it. Although it's now working on the desktop view, XC Mobile fails on contact us, register, password reset, etc (but login is now OK). For simplicity I think it's best to have reCAPTCHA ignore mobile users; Still working on that. I could use some advice on how to fix the reCAPTCHA login for my 4.4.5 branch. Edit Feb-14-2020: I've disabled the reCAPTCHA feature during mobile phone access (only desktop and tablet users see reCAPTCHA). Basically I wrapped the reCAPTCHA code in the /include/*.php files with this: Code:
- Thomas
__________________
Thomas / USA XCart V4.4.5 Gold XCart Mobile V1.4.12 XCart X-PDF XCart X-HotProducts AlteredCart Checkout One (One Page Checkout) BCSE Back In Stock CFL Holiday Message CFL System Message Smack Digital (WebsiteCM) Remember Anon Carts xcartmods Testimonials xcartmods reCAPTCHA for X-Cart Classic Unix, PHP 7.0 (patched 5.4). MySQL 5.6 |
|||||||
|
#90
|
|||||||
|
|||||||
Re: reCAPTCHA for X-Cart Classic
@ Peggy, as you're using Fastlane Checkout, you'll need to adjust the logic for the login and / or register steps, ie. removing...
Quote:
Quote:
__________________
xcartmods.co.uk |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|