paypal / paypal-js

Loading wrapper and TypeScript types for the PayPal JS SDK
Apache License 2.0
229 stars 78 forks source link

[Bug] Incompatible Client vs 3D secure Version. #563

Open chrisbeldam opened 2 weeks ago

chrisbeldam commented 2 weeks ago

Library used

react-paypal-js (8.6.0)

🐞 Describe the Bug

We're using Braintree Web - 3.107.1 to take card payments. However when using React-Paypal-Js, the scripts being loaded are always for Braintree 3.84.0 which is causing a conflict when attempting to make payments. I have removed React-PayPal-JS from our project and payments are successful and no scripts load for 3.84.0.

🤔 Expected Behavior

React-PayPal JS to use the same version of Braintree Web or provide an option to specify which version we're using

🌍 Environment

➕ Additional Context

Screenshot 2024-09-13 at 16 35 54 Screenshot 2024-09-13 at 11 33 47
chrisbeldam commented 1 week ago

I see the version of Braintree is hard-coded. This is causing us quite a few problems. Is it likely to be updated any time soon?

Screenshot 2024-09-16 at 09 46 57