Braintree Payments


Installation
  1. Register an account with Braintree.
  2. Backup your database and all files.
  3. Upload all files in this package while maintaining the directory structure (rename YOUR_ADMIN to your admin folder)

  4. If you are using Numinix's Fast and Easy AJAX Checkout mod (prior to v2.26.1) follow these two steps below:
    1. Open includes/templates/YOUR_TEMPLATE/css/quick_checkout.css and add this at the bottom:
      Select code
      #quickCheckout .ccinfo input#braintree_api-cc-cvv {width: auto !important;}
    2. Open includes/templates/YOUR_TEMPLATE/templates/quick_checkout/tpl_modules_qc_payment.php:
      Find (Around Line 68):
      Select code
      if (SHOW_ACCEPTED_CREDIT_CARDS != '0' && in_array($selection[$i]['id'], array('paypaldp','payflowpro','authorizenet','authorizenet_aim','authorizenet_cim','cc'))) {
      Replace with:
      Select code
      if (SHOW_ACCEPTED_CREDIT_CARDS != '0' && in_array($selection[$i]['id'], array('paypaldp','payflowpro','authorizenet','authorizenet_aim','authorizenet_cim','cc','braintree_api'))) {
  5. Login to your admin and the configuration menu should be found under Modules > Payment.
Tips
  • Make sure the credit cards you want to accept, are turned on in Admin > Configuration > Credit Cards.
  • The Braintree API requires PHP be compiled with the xmlwriter extension. Search for xmlwriter in Admin > Version and see if it's enabled
  • Make sure you have added the appropriate Merchant Key, Public Key, and Private Key that Braintree provides.
  • The mod defaults to sandbox mode which helps with testing, make sure you're using the matching keys if you encounter problems.
  • Make sure to switch it into Production and change the keys before going live.
Uninstall
  1. Uninstall the mod first by clicking the Remove button in Modules > Payment > Braintree
  2. Remove edits performed in the installation procedure (if applicable).
  3. Delete all uploaded files from your store.
About the Plugin
Title:Braintree Payments
Author:Numinix
Description:Add support for Braintree Payments in ZenCart.
Installation Level:Easy
Installation Time:~ 10-15 minutes
Author Notes:Zen Cart is the copyright of the Zen Cart Development Team.
License