How to integrate PayPal API with Node.js
ฝัง
- เผยแพร่เมื่อ 29 มี.ค. 2024
- In this video, we're gonna learn how to integrate the PayPal Orders API with a Node.js project.
We're gonna use Express, EJS and Axios to create a simple page with a product that will lead the buyer to the PayPal Checkout page and then complete the payment.
🔗 GitHub Repository:
github.com/manfraio/paypal_wi...
Thanks for the video really brief and helpful
perfect tutorial, god bless you!!
Exacly what I needed! Thank you for sharing.
Thank you very much for the useful and clear explanation! It helped me a lot in understanding the topic and applying it correctly. I appreciate your effort and time in helping us.
Thank you. Glad I could help🤜🏻🤛🏻
Gracias por tu video! Me ayudo bastante
Superb mate ❤
wow great tutorial !!!
Please create full fledged production grade projects that will be very useful
Yes, in a few weeks there will be a full project with emails and payment handling.
@@manfraio need more from you : )
could you guys
please save this video for future reference
Thanks for this video. Do you know if it's possible to retrieve all the transactions of my application using this Restful API? and is it time sensitive? I did everything correctly but when I try the endpoint of transaction in Postman, it never shows up
Thank you for the comment. Are you calling the GET /v1/reporting/transactions endpoint?
Great video! Could you please make video for Paypal/Stripe subscription and webhooks 😊. Thank you
Thank you. Therw will be a Stripe Connect video first, and a Subscription checkout video.
Error: AxiosError: Request failed with status code 403
Ok so there might be a few reasons for that. First check if you’re using the sandbox credentials and the api url is pointing to the sandbox base url as well.
Is axios returning more information like an error message?
how to implement subscription
This month we’ll have a video about Subscriptions with Stripe and after, with Paypal API.
How to track our item and user after successful payment? item ID and user ID
You can track by the order ID
Can you start making Typescript projects 🙏
Yes, soon we’ll create entire projects using TypeScript.
bro you are amazing.
But can you explain how to live because it is different from sandbox mode?!
Thank you.
To move to production, first you have to obtain your live credentials:
- Log into the Dashboard with your merchant account
- On My Apps & Credentials page, change to Live
- You will have to create new app for the Live mode, on Create App option
- Then paste the new client id and secret on your code (remember to put in somewhere save like a .env file)
Then all calls to the PayPal api endpoints should be with the domain: api-m.paypal.com (instead of the sandbox)
@@manfraio @@manfraio
@@manfraio Thank you, it worked. However, when logging in to make a payment, this message appears: "We were unable to process your payment using your PayPal account at this time. Please return to the merchant and try using a different payment method." and the payment screen does not appear. What is the solution?
@user-lv7hf8ip2q Are you trying to make a payment with another merchant account or personal?
@@manfraio account business
U save my school year , thanks
Glad I could help🤜🏻🤛🏻