braintree-web-drop-in-react icon indicating copy to clipboard operation
braintree-web-drop-in-react copied to clipboard

Doesn't seem to work with latest Braintree versions

Open osseonews opened this issue 4 years ago • 6 comments

We are using version 1.2.1 of this package. When we installed it about a month ago, it installed as dependencies braintree-web 3.71.0 and braintree-web-drop-in 1.26.0" and it worked fine. However, when installing currently, the package installs braintree-web: "version": "3.74.0" and braintree-web-drop-in": "version": "1.27.0". The package no longer works with those versions. All you get it is the "Loading" and the actual drop in form never displays. How do we prevent installation of those versions? Or is it possible to update this package so it works with the current braintree versions? I'm not sure what the issue is exactly, but for some reason it's incompatible.

BTW, when we locally run: "npm install [email protected]" - we can override the installation of 1.27.0 and this package works fine. However, we actually have to build the packages again, this package installs braintree-web-drop-in": "version": "1.27.0" and everything breaks.

Thanks.

osseonews avatar Apr 18 '21 13:04 osseonews

I'm with the same issue

miguelBarreiro85 avatar Apr 29 '21 07:04 miguelBarreiro85

The way to solve this issue is to just make sure your main package.json locks in use of braintree-web-drop-in 1.26.0. That way when you install this package, it won't use 1.27.0. For some reason it doesn't work with 1.27.0. The drop in will never load. Not sure why.

osseonews avatar Apr 29 '21 09:04 osseonews

Ok thanks, i will check it out... I have cloned this repo and by strange this sounds when i console.log(this.instance) after componentDidMount it renders the Dropin.... i will try to dig some more on this..

miguelBarreiro85 avatar Apr 29 '21 10:04 miguelBarreiro85

@miguelBarreiro85 had some news about it?

McRipper avatar Nov 15 '21 18:11 McRipper

this repo looks dead, still work?

pencilcheck avatar May 05 '23 14:05 pencilcheck