Totally confused about implementing a "modern" PayPal interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all
I've previously created a PayPal integration using the old "cgi-bin/webscr" which works, but I believe is very out-of-date nowadays.
I come from a PHP background, can do "classic" Javascript - and have dabbled with node.js and react.js (on my local server), but am not au fait with implementing those on a live website environment.
It looks like PHP guidance documentation has been discontinued in PayPal developer documents, and everything seems to lean towards using the JS SDK, but it seems to imply that node.js is also needed.
I followed a tutorial online at
https://www.freecodecamp.org/news/integrate-paypal-into-html-css-js-product-pages/
Which did seem to point me in the right kind of direction (I liked the JS implementation of the Buy Now button), but I also got an error "Authentication failed due to invalid authentication credentials or a missing Authorization header."
I think I need to also retrieve the "order" details somehow, but am not sure how, and have got really confused with the documentation. Does anyone know of a good tutorial to guide me, and/or advise which way to implement a "modern" PayPal interface?
Thanks,
Andy
![](/skins/images/969EE294DC97B096AB9429A53D934B29/responsive_peak/images/icon_anonymous_message.png)
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- locale doesn't change language in SDKs
- Locale doesn't change language in PayPal Payments Standard
- Securing Return and Error URLs for Payflow Pro Transparent Redirect Implementation in Payflow
- What happened to the Sales Insights chart that provided comparisons to last year's data? in PayPal Reporting
- Need Help With Express Checkout Implementation in Payflow