ForumApps Posted April 16, 2020 Share Posted April 16, 2020 Hi, I'm looking for a developer to make Braintree integration with the latest version of WHMCS 7.10. 1. It has to support Tokenized Credit Card storage so that I don't have to worry about PCI-DSS compliance 2. WHMCS cron should be able to charge the card without CVV. 3. Support for 3DSecure is optional. Looking for quotes. Thanks 0 Quote Link to comment Share on other sites More sharing options...
bendrop Posted April 16, 2020 Share Posted April 16, 2020 Here you go, but 2 things to bear in mind. 1. It doesn't use the Braintree drop in client Javascript code, so credit card details go to your server first, then (instantly) sent out to Braintree. Technically this means you need to be SAQ D compliant (the same as the ASPNix module) 2. It doesn't support 3D Secure (and unlikely to in the future) I built this just to use in the transition period as I move over to Stripe 🙂 put the braintree.php file (zip root) in the /modules/gateway folder and if you want to use advanced fraud tools, put the hooks/braintree.php file in the /includes/hooks folder. 🙂 braintree.zip 1 Quote Link to comment Share on other sites More sharing options...
bendrop Posted April 16, 2020 Share Posted April 16, 2020 (edited) Argh I just realised I forgot to put the braintree library in the zip. You can download it yourself and put it in a braintree folder in the modules/gateway dir, or wait for me to get home and I'll reupload 🤣 Edited April 16, 2020 by bendrop 0 Quote Link to comment Share on other sites More sharing options...
ForumApps Posted April 16, 2020 Author Share Posted April 16, 2020 Love it! Thanks! Was wondering is this DisplayName and Metadata necessary? function braintree_MetaData() { return [ 'DisplayName' => 'Barintree Tokenisation Gateway Module', 'APIVersion' => '1.1', // Use API Version 1.1 ]; } 0 Quote Link to comment Share on other sites More sharing options...
bendrop Posted April 16, 2020 Share Posted April 16, 2020 Here's the updated zip with the braintree library. So braintree.php and braintree folder in /modules/gateway hooks/braintree.php in /includes/hooks braintree.zip 0 Quote Link to comment Share on other sites More sharing options...
bendrop Posted April 17, 2020 Share Posted April 17, 2020 14 hours ago, ForumApps said: Love it! Thanks! Was wondering is this DisplayName and Metadata necessary? function braintree_MetaData() { return [ 'DisplayName' => 'Barintree Tokenisation Gateway Module', 'APIVersion' => '1.1', // Use API Version 1.1 ]; } I don't think so, but I was just using the whmcs example framework from their git which does have that 😊 0 Quote Link to comment Share on other sites More sharing options...
ejmerkel Posted April 28, 2020 Share Posted April 28, 2020 On 4/16/2020 at 12:50 PM, bendrop said: Here's the updated zip with the braintree library. So braintree.php and braintree folder in /modules/gateway hooks/braintree.php in /includes/hooks braintree.zip Ok, probably a dumb question, I assume you keep all of the existing BrainTree files in modules/gateways/braintree and just copy these over the top of them or do you get rid of the exist JS files, etc? 0 Quote Link to comment Share on other sites More sharing options...
ForumApps Posted April 28, 2020 Author Share Posted April 28, 2020 Yep 1 minute ago, ejmerkel said: Ok, probably a dumb question, I assume you keep all of the existing BrainTree files in modules/gateways/braintree and just copy these over the top of them or do you get rid of the exist JS files, etc? 0 Quote Link to comment Share on other sites More sharing options...
bendrop Posted April 29, 2020 Share Posted April 29, 2020 18 hours ago, ejmerkel said: Ok, probably a dumb question, I assume you keep all of the existing BrainTree files in modules/gateways/braintree and just copy these over the top of them or do you get rid of the exist JS files, etc? Yes, it's a direct replacement. It's been alerted to me that CVV isn't working properly when adding a new card, but don't worry, I've found that problem, just waiting for one chap to confirm it works then I'll post the updated zip here. If you don't want to wait, simply look in the /modules/gateways/braintree.php file and replace both occurrences of: $params['cccvv'] with $params['cardcvv'] 0 Quote Link to comment Share on other sites More sharing options...
Kumar Raju Posted April 29, 2020 Share Posted April 29, 2020 Thanks a lot Ben! That did the trick and all working fine now. 0 Quote Link to comment Share on other sites More sharing options...
bendrop Posted April 29, 2020 Share Posted April 29, 2020 Updated to fix the CVV error (confirmed working) I've zipped it up with the proper folder structure now too, so you can just unpack it to root and it will put everything in the correct place 🙂 Braintree.zip 2 Quote Link to comment Share on other sites More sharing options...
NH87R Posted July 18, 2020 Share Posted July 18, 2020 Thanks. You're all talking just about cards via Braintree. Does this module support PayPal via Braintree as well? 0 Quote Link to comment Share on other sites More sharing options...
Evolve Web Hosting Posted March 17, 2022 Share Posted March 17, 2022 Wanting to add Braintree and not seeing many good options. Does this work with v8.3.x or v8.4.x ? Plans to keep it updated? Are there any other alternatives? Looking to expand upon what Paypal offers and not a fan of the 'new' Paypal module that WHMCS created a year or two ago. 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.