Problem / Motivation

We're currently using a deprecated version of the Braintree SDK (3.31.0). We need to migrate to the latest version (3.63.0).

There's a very detailed migration guide available in the Braintree documentation for the PayPal part (See Migrating from checkout.js to the PayPal JS SDK).

CommentFileSizeAuthor
#5 3161031-5.patch7.79 KBjsacksick

Comments

jsacksick created an issue. See original summary.

jsacksick’s picture

Issue summary: View changes
jsacksick’s picture

Issue summary: View changes
jsacksick’s picture

Title: Upgrade the PayPal Integration to use the latest Braintree SDK (3.63.0) » Upgrade to the latest Braintree SDK (3.63.0)
Issue summary: View changes
jsacksick’s picture

Status: Active » Needs review
StatusFileSize
new7.79 KB
jsacksick’s picture

I tested both the payment via PayPal and the payment via hosted fields and both seem to work correctly with the patch.

The only error I got was with PayPal credit (I get an error in the console saying that I'm not eligible but the customer isn't notified). For some reason, when that happens, the onError() callback isn't called. I'm pretty sure this "bug" exists with the current code though.

  • jsacksick committed 5c5229d on 8.x-1.x
    Issue #3161031 by jsacksick: Upgrade to the latest Braintree SDK (3.63.0...
jsacksick’s picture

Status: Needs review » Fixed

In the absence of feedback, went ahead and committed that since we can't be stuck on old SDKS :).

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.