jpayam Posted October 13, 2016 Share Posted October 13, 2016 Hi, Is this possible i remove recaptcha from checkout confirm and only keep it on contact, registration pages ? thanks Quote Link to comment Share on other sites More sharing options...
Noodleman Posted October 13, 2016 Share Posted October 13, 2016 I think you can just remove it from your store template, although I've not tested to see if the cart expects a captcha value when it's enabled in the admin area. Best to test it out and see. I think content.checkout.php and similarly names template files are th eones you want. Quote Link to comment Share on other sites More sharing options...
jpayam Posted October 13, 2016 Author Share Posted October 13, 2016 Removing recaptcha code just from store template not works. Quote Link to comment Share on other sites More sharing options...
jpayam Posted October 13, 2016 Author Share Posted October 13, 2016 this works: In the file cubecart.class.php : 1- Find: if (!isset($this->_basket['recaptcha'])) { Change to: if (false && !isset($this->_basket['recaptcha'])) { 2-Find: if ($GLOBALS['config']->get('config','recaptcha') && !$GLOBALS['session']->get('confirmed', 'recaptcha')) { Change to: if (false && $GLOBALS['config']->get('config','recaptcha') && !$GLOBALS['session']->get('confirmed', 'recaptcha')) { Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted October 19, 2016 Share Posted October 19, 2016 Thanks for this @jpayam ! I can now use recaptcha without worrying about discouraging a paying customer! Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted October 20, 2016 Share Posted October 20, 2016 https://github.com/cubecart/v6/issues/1292 Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 22, 2017 Share Posted April 22, 2017 Until I can get the invisible recaptcha to work with all my edits and plugins I need to be able to turn off v2 captcha on checkout with 6.1.7. Has anyone figured out how to modify @jpayam 's code for 6.1.7? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 22, 2017 Share Posted April 22, 2017 I just solved 21 challenges to prove I'm human on ONE test order! I desperately need to have a fix so checkout does not use recaptcha v2. For now I have no choice but to turn off recaptcha entirely. Quote Link to comment Share on other sites More sharing options...
bsandall Posted April 24, 2017 Share Posted April 24, 2017 On 4/22/2017 at 9:19 AM, Dirty Butter said: I just solved 21 challenges to prove I'm human on ONE test order! I desperately need to have a fix so checkout does not use recaptcha v2. For now I have no choice but to turn off recaptcha entirely. Same here. I deal with manually deleting the obvious bot/would-be-hacker customer registrations so that paying customers don't have to be inconvenienced so much that they'll probably decide it's not worth placing an order. Quote Link to comment Share on other sites More sharing options...
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.