braintree / braintree-web

A suite of tools for integrating Braintree in the browser
https://developer.paypal.com/braintree/docs/start/hello-client/javascript/v3
MIT License
444 stars 134 forks source link

Incompatible Versions - Client vs 3D Secure #725

Closed chrisbeldam closed 1 month ago

chrisbeldam commented 2 months ago

General information

Issue description

I'm upgrading versions of Braintree-Web (and other payment packages) from 3.84.0 to the latest. However when I toggle between payment methods I'm consistently getting back the following: "Client (version 3.84.0) and 3D Secure (version 3.107.1) components must be from the same SDK version.". However I do not see anything in my code which specifies 3.84.0?

Is this a known bug? The documentation does not make it clear to me what Client is and where I would find this.

Screenshot 2024-09-13 at 11 33 47
chrisbeldam commented 2 months ago

I have downgraded versions to 3.92.1 and have logged out the braintree version we the application is creating the hostedFields. It is using 3.92.1 yet I am still getting theincompatible versions error

Screenshot 2024-09-13 at 11 51 48
chrisbeldam commented 2 months ago

Somehow it seems the wrong versions of Braintree scripts are being imported?

Screenshot 2024-09-13 at 16 06 08
chrisbeldam commented 1 month ago

This was caused due to React-Paypal-JS