Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

React / Node – PayPal AUTHENTICATION_FAILURE with react-paypal-express-checkout

Im using react-paypal-express-checkout and today i recognized that i cant do a test payment anymore.
I even load a month old build, where everything was fine but still same error.
So i don’t think it’s about my code but on the otherhand I’ve no clue why that error appears

details: []
information_link: "https://developer.paypal.com/docs/api/payment-experience/#errors"
message: "Authentication failed due to invalid authentication credentials or a missing Authorization header"
name: "AUTHENTICATION_FAILURE"

Thats what my network shows

and my console:

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Request to post https://cors.api.sandbox.paypal.com/v1/payment-experience/web-profiles failed with 401 error. Correlation id: unknown

>Solution :

react-paypal-express-checkout is not official, was last updated in 2018, and uses an old implementation of the PayPal checkout that is deprecated

Use the current, official @paypal/react-paypal-js

Storybook

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading