thinhvo0108 / react-paypal-express-checkout

React component that renders Paypal's express check out button
MIT License
107 stars 71 forks source link

Errors in console #11

Closed mmchast88 closed 6 years ago

mmchast88 commented 7 years ago

screen shot 2017-10-26 at 9 16 21 pm

Im getting these errors in the console. How do I resolve them? I am new to React.

thinhvo0108 commented 7 years ago

Could you please make sure version 1.0.3 is installed (please check your package.json file) and update the library if necessary!

mmchast88 commented 7 years ago

@thinhvo0108 yes, I have that version installed. But, I am still getting the errors?

mmchast88 commented 7 years ago

@thinhvo0108 and the pop-up doesnt come up? Do you know why that is happening? I am not getting the errors in red anymore. I have done a Paypal API in the past with regular javascript and it worked.

thinhvo0108 commented 7 years ago

@mmchast88 it seems that sometimes the original Paypal script has error or timeout or something like that. Actually, this library relies much on their script, I mean the official Paypal Script. Can you make sure your internet speed is stable, then try again? Thanks (or maybe you can clear cache of your browser)

mmchast88 commented 7 years ago

@thinhvo0108 I tried a different browser and got these errors...

screen shot 2017-10-26 at 10 00 27 pm

thinhvo0108 commented 7 years ago

Seems that version 1.0.3 is not so stable yet, I will fix this later when I have time. In the mean time, please delete this 1.0.3 version and use 1.0.1 Please also keep me updated for other issues you may have!

mmchast88 commented 7 years ago

@thinhvo0108 I am using version 1.0.1 and I am still getting the same errors.

thinhvo0108 commented 7 years ago

@mmchast88 oh really, then this problem may originally come from the Paypal script itself! I will try to investigate the problem later, thanks!

tommaso1 commented 7 years ago

The cause of the problem is the shipment prop witch is no more recognised by paypal script, i tried to delete it from moudule source and it worked

thinhvo0108 commented 7 years ago

Hi all!

Just like other issue, this one also comes from original Paypal script itself (the "shipping" attribute has problem) Could you guys please delete the current version of my library, and re-install it using version 1.0.1 (more stable): "npm install --save react-paypal-express-checkout@1.0.1"

Thanks! On Thu, Nov 9, 2017 at 1:11 tommaso1 notifications@github.com wrote:

[image: image] https://user-images.githubusercontent.com/18684459/32559563-c3da0552-c4a7-11e7-8949-b2d42099d82f.png

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/thinhvo0108/react-paypal-express-checkout/issues/11#issuecomment-342866614, or mute the thread https://github.com/notifications/unsubscribe-auth/AE-TmHi_ftU2Gb44vyIpUaIlZCLZWzbQks5s0dKUgaJpZM4QIbIG .

thinhvo0108 commented 6 years ago

I have just updated the latest version (@1.0.4) Could you guys please try using it? Thanks!

thinhvo0108 commented 6 years ago

Close this issue, which was probably fixed in version @1.0.4