Page 2 of 2

Re: [UPDATED] Braintree Payment Gateway

Posted: Tue Oct 25, 2016 1:07 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

- Fixed: error in OpenCart 2.3 when the Charge Mode is set to "Authorize if possibly fraudulent, Submit otherwise"
- Fixed: denying cards based on CVV results in stored cards not being useable
- Fixed: "Addresses must have at least one field filled in" error
- Fixed: typo in the default confirmation message when deleting cards
- Updated: added a work-around for bugs caused by third-party checkouts that add blank data to the return value

Re: [UPDATED] Braintree Payment Gateway

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

Release Notes:

- Added: option to use Braintree's "Hosted Fields" (this replaces the "standard inputs" option from previous versions)

- Fixed: multiple quantities of the same subscription were not being calculated correctly
- Fixed: "Object of class ControllerPaymentBraintree" error for webhooks
- Fixed: "Undefined index: title" error for webhooks
- Fixed: webhook orders were not being created properly when using option and recurring profile mappings

- Removed: JCB card image
- Removed: Cardholder Name field, because it's not possible to collect that data with Braintree's Hosted Fields or Drop-in UI

- Updated: webhook URLs now use an MD5 hash of the encryption key, rather than the key itself, to avoid issues with super long URLs --- don't forget to update your webhook URL in Braintree after updating

Re: [UPDATED] Braintree Payment Gateway

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

Release Notes:

- Fixed: "PayPal is not enabled for this merchant" error when PayPal is not set up in the user's Braintree admin panel
- Fixed: product links in the Subscription Products tab were wrong in 2.x

- Updated: "Element already contains a Braintree iframe" error caused by custom checkouts should now be ignored
- Updated: error warning about non-https URLs for live payments should now work better for servers that don't set HTTPS variables properly
- Updated: the default status for "Order Completion Error" is now set to "Failed", to help with users who have mods causing errors during checkout

Re: [UPDATED] Braintree Payment Gateway

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

Release Notes:

- Fixed: issues when apostrophes were in order info or error messages
- Updated: added a few styling edits for compatibility with quick checkouts
- Updated: implemented a better fix for the "Element already contains a Braintree iframe" error
- Updated: added a few styling edits for compatibility with quick checkouts

Re: [UPDATED] Braintree Payment Gateway

Posted: Tue Jul 11, 2017 1:54 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.

- 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

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

Re: [UPDATED] Braintree Payment Gateway

Posted: Sat Oct 14, 2017 1:43 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

Re: [UPDATED] Braintree Payment Gateway

Posted: Tue Jan 16, 2018 7:26 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

- 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

Posted: Sat Mar 10, 2018 12:17 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: changed PayPal button so it doesn't automatically submit the payment, since that causes issues with some quick checkouts

Re: [UPDATED] Braintree Payment Gateway

Posted: Tue Jun 05, 2018 1:19 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)

- 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

- Updated: added some code to check for the drop-in UI double-loading, which happens due to some quick checkouts

Re: [UPDATED] Braintree Payment Gateway

Posted: Wed Nov 14, 2018 2:53 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 button
- Added: separate setting for enabling/disabling PayPal

- 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: address is now set for cards tokenized with Hosted Fields

Re: [UPDATED] Braintree Payment Gateway

Posted: Wed May 29, 2019 5:34 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.

- 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 released. 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: "Other Payment Methods" tab, where the PayPal setting now resides

- Confirmed: compatibility with OpenCart 3.0.3.x

- Fixed: potential order status issue when subscription products are purchased

- Removed: all text strings, styling, and other code that is no longer useful

- 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

Re: [UPDATED] Braintree Payment Gateway

Posted: Wed Aug 14, 2019 12:13 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: the standard version now supports 3D Secure (including 3D Secure 2.0)

- Fixed: "Undefined index: device_data" error

- Removed: typeahead.min.js library since it's only needed for the Pro version

Re: [UPDATED] Braintree Payment Gateway

Posted: Fri Aug 30, 2019 2:47 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

Posted: Tue Nov 12, 2019 1:10 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

- 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