onliner Posted April 5, 2015 Share Posted April 5, 2015 Hello, Has anyone actually succeeded in getting captcha to work on the Checkout page, file 'viewcart. tpl'? I guess as WHMCS hasn't enabled it for checkout page, there must be some quirks, why they haven't enabled it at the most crucial place of WHMCS. I have tried to copy the code from the registration page, but it is just dead... Any idea? Cheers. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted April 5, 2015 Share Posted April 5, 2015 I have tried to copy the code from the registration page, but it is just dead... the verification of entered value done in PHP file not in Smarty so you need to copy the these too. why would you need to add captcha to your shopping cart, no order placed until the user registered or logged-in, do you get false orders? 0 Quote Link to comment Share on other sites More sharing options...
onliner Posted April 5, 2015 Author Share Posted April 5, 2015 why would you need to add captcha to your shopping cart, no order placed until the user registered or logged-in, do you get false orders? I'm getting a bot-signups, and I can't use "no signup without order placed" because then affiliates can't sign up. Which PHP files do you mean? From WHMCS root? They are all encoded. Maybe I've missed something? 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted April 5, 2015 Share Posted April 5, 2015 all files are encoded yes, you may use one of these hook actions to validate the captcha: http://docs.whmcs.com/Hooks:Order_Process http://docs.whmcs.com/Hooks:ClientAdd 0 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.