Page 1 of 1

[UPDATED] Braintree Payment Gateway Pro

Posted: Fri Apr 01, 2016 2:35 am
by Johnathan

Current Version: v303.7 (release notes)

OpenCart Versions: 1.5.0.x - 3.0.3.x

To Purchase: Visit OpenCartX or

Image Image Image

This extension allows you to accept payments in OpenCart via Braintree, one of the easiest ways to accept payments online. It allows customers to pay using PayPal or a credit card, including the capability to store your customer's card information in your secure Braintree vault. It also lets you charge subscriptions, and will create an appropriate order in OpenCart when a subscription is charged.

  • Includes all the features of the standard Braintree Payment Gateway extension.
  • Supports 3D Secure 2.0 to meet SCA requirements.
  • Allow your customers to pay via Apple Pay, Google Pay, PayPal Credit, and Venmo.
  • Map OpenCart options and/or recurring profiles to Braintree subscription plans.
  • Allow customers to manage their cards and subscriptions through their own account panel.
  • Create charges for both stored and new cards directly within the admin panel.
  • Supports Braintree's advanced fraud tools.
  • To inquire about upgrading and upgrade pricing, contact Clear Thinking.
Note: This extension requires that you have an SSL certificate installed on your site to securely process payment info.

Image Image Image Image Image Image Image Image Image Image Image Image Image

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Wed Apr 20, 2016 2:37 am
by Johnathan
Updated to v220.2

Release Notes:

- Version number updated to match the base extension

Release notes for the standard version can be found at viewtopic.php?f=124&t=52119&p=614681#p614681

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Tue Jul 19, 2016 4:47 am
by Johnathan
Updated to v220.3

Release Notes:

- Added: support for 3D Secure
- Fixed: New Cards couldn't be added if no cards currently existed
- Fixed: nothing would display on Cards/Subscriptions page if the customer didn't exist in Braintree

Release notes for the standard version can be found at viewtopic.php?f=124&t=52119&p=629345#p629345

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Tue Oct 25, 2016 1:09 am
by Johnathan
Updated to v230.1

Release Notes:

- NOTE: This version is fully compatible with OpenCart 2.3.0.x by using the OpenCart 2.3 Extension Compatibility Fix, which is provided for free with the purchase of the extension

- Added: check for whether the CVV is filled in, since Braintree doesn't do that by default
- Fixed: "Fatal error: call to undefined function format()" when subscriptions are cancellable by customers, but don't have a date of last being charged
- Updated: multiple subscriptions are now possible if multiple options or recurring profiles on a single product are associated with different plans

Release notes for the standard version can be found at viewtopic.php?f=124&t=52119&p=643659#p643659

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Thu Jan 05, 2017 2:30 am
by Johnathan
Updated to v230.2

Release Notes:

- Added: support for Apple Pay! Note that this requires that you have an Apple Developer Account, which costs $99 per year and requires you to generate the Apple Pay certificate properly for your Braintree admin panel
- Added: support for Kount advanced fraud tools, and the ability to change the order status based on the risk data decision

Release notes for the standard version can be found at viewtopic.php?f=124&t=52119&p=652267#p652267

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Fri Mar 10, 2017 11:29 pm
by Johnathan
Updated to v230.3

Release Notes:

- Fixed: issues when 3D Secure was enabled

Release notes for the standard version can be found at viewtopic.php?f=124&t=52119&p=667749#p667749

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Fri Jun 09, 2017 11:35 pm
by Johnathan
Updated to v230.4

Release Notes:

- Fixed: issues caused on the Cards page by mods that add blank data to all server requests

Release notes for the standard version can be found at viewtopic.php?f=124&t=52119&p=676646#p676646

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Tue Jul 11, 2017 2:07 am
by Johnathan
Updated to v300.1

Due to limitations in the license system, a new extension was released on for OpenCart 3.0 compatibility. However, free updates are still available for anyone that has purchased the extension in July 2016 or after --- just contact Clear Thinking here:

Release Notes:
- NOTE: Due to a change in function names, orders placed before this version will not be able to be refunded in the order history area. If you need to do these actions, you can so in your Braintree admin panel.

- NOTE: Don't forget to update your webhook URLs in your Braintree admin panel, as the extension directory path has changed from previous versions.

- NOTE: Due to OpenCart 3 requirements, the cards/subscriptions page URL and the webhook URL have been changed. Don't forget to update both these things wherever you have placed them.

- Added: compatibility with OpenCart 3.0.0.x - 3.0.1.x
- Added: native compatibility with OpenCart 2.3.0.x (You can remove the compatibility fix, or keep using it if you want to)
- Added: ability to partially refund orders

- Fixed: refund order_status_id being applied even when set to "Ignore"
- Fixed: issues when using a Merchant Account ID for the default currency that that doesn't match that currency code
- Fixed: "Gateway Rejected: cvv" error when adding new cards on the cards page
- Fixed: 3D Secure not working in certain circumstances

- Removed: compatibility with OpenCart 1.5.x and for new versions
- Removed: old code related to checking subscription products no longer needed

- Updated: the cards/subscriptions page now uses Hosted Fields

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Sat Oct 14, 2017 1:46 am
by Johnathan
Updated to v302.1

Release Notes:

- NOTE: Starting with this version, all template files will use the .twig extension. These will still work completely fine on OpenCart 2.x versions, and still use the .tpl-type syntax. However, if you've made edits to the .tpl file, you'll need to port those edits over to the new file.

- Confirmed: compatibility with OpenCart 3.0.2.x
- Fix: "Undefined index" error related to AMEX cards and 3D Secure

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Tue Jan 16, 2018 7:28 am
by Johnathan
Updated to v302.2

Release Notes:

- Fixed: refunds were only changing the order_status_id on the actual order not also putting that order_status_id into the new order history note
- Fixed: "Mastercard" image wasn't being highlighted properly
- Fixed: styling issue caused by Journal checkout
- Fixed: recurring profile mappings were not working in OpenCart 2.0-2.2
- Fixed: typo referencing "Stripe" in the recurring profile mapping section

- Updated: sandbox badge URL
- Updated: the "PayPal" heading text is now hard-coded so that it doesn't interfere with HTML used in the PayPal button text setting
- Updated: Braintree .js library to version 3.27.0 to fix Android issues

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Sat Mar 10, 2018 12:21 am
by Johnathan
Updated to v302.3

Release Notes:

- Fixed: authorized orders that were submitted through the "Submit" link were not updating the order status properly
- Fixed: "Undefined index" errors causing webhook orders to not be processed
- Fixed: Drop-in UI error messages were not being displayed

- Removed: "Name on Card" field, since it was no longer used for Hosted Fields

- Updated: added some more styling fixes for CSS messed up by Journal
- Updated: changed PayPal button so it doesn't automatically submit the payment, since that causes issues with some quick checkouts

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Tue Jun 05, 2018 1:22 am
by Johnathan
Updated to v302.4

Release Notes:

- Added: ability to submit a partial payment (note: only new orders will be able to be submitted, so make sure you submit old orders before installing the update)
- Added: ability to set order status if mismatching billing/shipping addresses

- Fixed: Merchant Account ID's do not always having the currency code in them
- Fixed: currency display on refunds was incorrect for non-default currencies
- Fixed: error when deleting cards and no billing address was attached
- Fixed: cards are no longer stored for unsuccessful transactions
- Fixed: typo referencing Stripe for errors on the cards/subscriptions page
- Fixed: "Undefined index: text_card_name" error

- Updated: added some code to check for the drop-in UI double-loading, which happens due to some quick checkouts
- Updated: the cards page now lets a full address be entered for a new card

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Wed Nov 14, 2018 2:55 am
by Johnathan
Updated to v302.5

Release Notes:

- NOTE: Make sure to save your settings after updating to this version, since there are new settings

- Added: separate button styling options for the PayPal buttons
- Added: separate setting for enabling/disabling PayPal
- Added: support for a PayPal Credit button, separate from the normal button
- Added: Create a Charge data is now added to the order if Order ID is present

- Fixed: "Device Data" wasn't being captured if PayPal was not enabled
- Fixed: "Device Data" wasn't showing as captured in Braintree due to an HTML encoding issue with quotes

- Updated: country ISO code is now used for Hosted Fields instead of name
- Updated: PayPal e-mail address is now displayed after entering PayPal info
- Updated: default PayPal button text is now a PayPal button image
- Updated: Create a Charge "Customer" field no longer auto-completes in Chrome, so it doesn't hide the dropdown below

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Wed May 29, 2019 5:40 am
by Johnathan
Updated to v303.1

Release Notes:

- MAJOR RELEASE: This version is a major redesign of the front-end code, so make sure to read all the release notes below carefully. The main change is a switch to using the v3 Braintree Drop-in UI on the front-end payment process. This does not affect the "Stored Cards" page, or the "Create a Charge" tab in the admin panel, which work the same way as before.

- NOTE: Using the v3 Drop-in UI will make it much easier to keep updated with Braintree's new features, including 3D Secure 2.0 once that is finalized. Consequently, I don't plan on restoring the Hosted Fields option in the future. If you don't like the look or functionality of the Drop-in UI, you should stick with version v302.5 for the time being.

- NOTE: This release does NOT include support for 3D Secure 2.0 at this time. Braintree's API for this is not finalized, and they have said not to use it in production at this time. Once that is ready I will update the extension for 3D Secure 2.0.

- NOTE: The 1.5.x version is now feature-comparable with the 2.x/3.x version. The extension uses a vQmod file to accomplish this, which has been tested but might have some issues in the initial version. If you're using OpenCart 1.5.x and have any trouble with it, please contact Clear Thinking.

- NOTE: If updating from a previous version, please ensure that you visit the admin panel afterwards, look over all settings, and then click "Save". Many of the settings have changed, added to, or removed.


- Added: full compatiblity with OpenCart 1.5.x again
- Added: ability to let customers use Google Pay
- Added: ability to let customers use Venmo (I don't have a Venmo account to test with, so if you have issues with this, please contact me to fix them.)
- Added: "Other Payment Methods" tab, which lists all non-card payment methods, including PayPal and PayPal Credit

- Confirmed: compatibility with OpenCart 3.0.3.x

- Fixed: potential order status issue when subscription products are purchased
- Fixed: issues with currency display on the 3D Secure form

- Removed: all text strings, styling, and other code that is no longer useful
- Removed: separate Apple Pay and 3D Secure template files

- Updated: Braintree PHP library to version 3.39.0
- Updated: Drop-in UI now uses the v3 version of the javascript API
- Updated: Drop-in UI is now automatically translated based on the customer's browser language settings
- Updated: "Store Cards" and "Allow Stored Cards" are now a single setting, due to the way the Drop-in UI has to store cards
- Updated: text strings specific to subscription products are now in that tab
- Updated: the stored cards page now shows the card type logo for stored cards

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Wed Aug 14, 2019 12:17 am
by Johnathan
Updated to v303.2

Release Notes:

- NOTE: Braintree hasn't officially released their API documentation for adding 3D Secure 2.0 to their Drop-in UI, but I used some unofficial documentation to add it into this release. I've tested it and it's working in all my tests, but please let me know if you see any issues with it.

- Added: support for 3D Secure 2.0

- Fixed: "Undefined index: device_data" error

- Updated: the cards.php and cards.twig files have been renamed to "cards_and_subscriptions", so if you've made any edits to those you should copy those over to the new files, and update the link in the customer's account area accordingly

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Fri Aug 30, 2019 2:49 am
by Johnathan
Updated to v303.3

Release Notes:

- Added: restored the option to turn 3D Secure off, since Braintree accounts do not have 3D Secure turned on by default, so not all accounts use it
- Updated: improved error reporting related to 3D Secure setup errors

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Tue Nov 12, 2019 1:16 am
by Johnathan
Updated to v303.4

Release Notes:

- Added: a Braintree support person pointed me towards a hidden parameter in the Drop-in UI that lets customers choose whether to store their cards, so the ability to do that is now restored
- Added: the refund/submit links now only work if the admin user has "Modify" permissions to the "extension/payment/braintree" area
- Added: ability to set translation overrides for Drop-in UI text strings
- Added: ability to use different currencies in the "Create a Charge" tab

- Fixed: bug related to apostrophes in 3D Secure error messages
- Fixed: 3D Secure error when the OpenCart currency wasn't set to 2 decimals
- Fixed: rounding issue when using non-default currencies
- Fixed: potential bug related to "payment method nonce with id ... not found"

- Updated: Braintree Drop-in UI library to version 1.20.4
- Updated: submit/refund prompt now always shows 2 decimal places
- Updated: the extension now automatically renames the built-in Braintree library on OpenCart 3 when installed, since that library is outdated and overrides the extension's library on OpenCart 3 installations

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Wed May 20, 2020 2:57 am
by Johnathan
Updated to v303.5

Release Notes:

- Added: the "taxAmount" field of the transaction is now filled in
- Added: ability to deny all payment attempts from a customer after a certain number of failed tries
- Added: option to turn off the advanced error handling used to catch errors outside the extension (which has issues with some quick checkouts)

- Fixed: errors caused by 3D Secure not processing accented characters
- Fixed: "Undefined property...currencyIsoCode" error when refunding
- Fixed: "Call to undefined method Cart\Customer::getFax()" error on the stored cards and subscriptions page

- Updated: Braintree Drop-in UI library to version 1.22.1

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Wed Aug 26, 2020 2:44 am
by Johnathan
Updated to v303.6

Release Notes:

- Added: ability to override Braintree's default error messages
- Added: support for Braintree's new "PayPal" type of fraud protection

- Fixed: "trying to access array offset" error for PHP 7.4
- Fixed: "round() expects parameter 2 to be long, string given" error
- Fixed: addresses over 50 characters need to be limited for 3D Secure
- Fixed: stored cards weren't being displayed correctly on the Cards and Subscriptions page, due to a recent settings change
- Fixed: subscriptions were still showing as empty on the Cards and Subscriptions page even if they were turned off
- Fixed: "Undefined index: text_ending_in_en-gb" error
- Fixed: "Undefined index: errors in the admin panel on first installation

- Updated: Braintree Drop-in UI library to version 1.23.0
- Updated: if using a quick checkout that does not properly create the order before loading the payment method like it should, then order info will now be filled in as blank (with the exception of the order total, which is calculated based on the Order Total extensions)

Re: [UPDATED] Braintree Payment Gateway Pro

Posted: Tue Jan 05, 2021 2:43 am
by Johnathan
Updated to v303.7

Release Notes:

- Added: a simple e-mail is now sent to the store owner when a subscription is canceled; if you want to turn this off please contact me for a small edit

- Fixed: "Trying to access array offset on value of type null" error in 1.5.x
- Fixed: rare currency conversion issue on installations upgraded from older OpenCart versions which had duplicate currency settings in the database
- Fixed: subscriptions in non-default currencies were missing the MerchantAccountId parameter
- Fixed: shipping address wasn't being passed to PayPal correctly for non-subscription orders
- Fixed: "Undefined index: server_mode" error on Create a Charge tab when first installing the extension
- Fixed: "Undefined index: text_ending_in_" error on the subscriptions page

- Updated: improved the ASCII character filtering for 3D Secure, to avoid issues with non-English languages
- Updated: option/profile mappings will now ignore whitespace at the beginning and end of the option/profile name, to avoid errors due to mistaken spaces