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.
I intend to do a video about this but with a complete project. But for now here are the steps you can follow to move from sandbox to production (live mode): Make sure to create a PayPal business account. Then login to that account - switch to the Live mode by selecting the option at the top-right corner - in the dashboard, navigate to My Apps & Credentials - create an app - replace the sandbox credentials, inside your code, to the live credentials (clientId and secret) - replace the endpoints in your code, with the production (live) one (api.paypal.com). PayPal may require additional information (e.g., business details) before allowing your app to go live. They might also review your integration to ensure compliance with their policies.
Thanks for the video it helps a lot. I have some question, will it work for more than one product purchase? could you please make tutorial for that? thanks again.
@@manfraio thank you, I really appreciate your immediate response, regarding with your response I actually tried that and I am getting this error "Error: AxiosError: Request failed with status code 422"
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
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?
Please Help!! Followed same flow but facing below error. We’re sorry. This seller doesn’t accept payments in your currency. Please return to the seller and choose another way to pay. Thank you in Advance 🙌
Hey my friend, hope this will fix your issue: 1. Log in to the PayPal business account. 2. Go to Profile > Account Settings. 3.Under Money, banks, and cards, click Manage currencies. 4. Add the currency you want to accept payments in.
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 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?
Thanks from South Africa, this was really helpful
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🤜🏻🤛🏻
Thanks from Brazil
Good video
Thanks for the video really brief and helpful
Exacly what I needed! Thank you for sharing.
Superb mate ❤
perfect tutorial, god bless you!!
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 : )
wow great tutorial !!!
U save my school year , thanks
Glad I could help🤜🏻🤛🏻
Gracias por tu video! Me ayudo bastante
bro can you make video on ' how to switch from sandbox to live' if you are not able to make it then please guide me
I intend to do a video about this but with a complete project. But for now here are the steps you can follow to move from sandbox to production (live mode):
Make sure to create a PayPal business account. Then login to that account - switch to the Live mode by selecting the option at the top-right corner - in the dashboard, navigate to My Apps & Credentials - create an app - replace the sandbox credentials, inside your code, to the live credentials (clientId and secret) - replace the endpoints in your code, with the production (live) one (api.paypal.com).
PayPal may require additional information (e.g., business details) before allowing your app to go live. They might also review your integration to ensure compliance with their policies.
Thanks for the video it helps a lot. I have some question, will it work for more than one product purchase? could you please make tutorial for that? thanks again.
Yes. All you need to do is add more objects inside the items array, inside the purchase_units array:
purchase_units: [
{
items: [
{
name: 'First product',
description: 'First product description',
quantity: 1,
unit_amount: {
currency_code: 'USD',
value: '100.00'
}
},
{
name: 'Second product',
description: 'Second product description',
quantity: 1,
unit_amount: {
currency_code: 'USD',
value: '500.00'
}
}
],
amount: {
currency_code: 'USD',
value: '150.00',
breakdown: {
item_total: {
currency_code: 'USD',
value: '150.00'
}
}
}
}
]
@@manfraio thank you, I really appreciate your immediate response, regarding with your response I actually tried that and I am getting this error "Error: AxiosError: Request failed with status code 422"
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?
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?
Hi mat, how to do this live mode transfer one account to another account in nodejs
Hey. I’m not sure I understand. You want to transfer money from one PayPal account to another? Just transferring, not purchasing something?
I am looking for same thing transferring from one PayPal account to another not purchasing anything.
could you guys
please save this video for future reference
Please Help!! Followed same flow but facing below error.
We’re sorry. This seller doesn’t accept payments in your currency. Please return to the seller and choose another way to pay. Thank you in Advance 🙌
Hey my friend, hope this will fix your issue:
1. Log in to the PayPal business account.
2. Go to Profile > Account Settings.
3.Under Money, banks, and cards, click Manage currencies.
4. Add the currency you want to accept payments in.
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.
how to implement subscription
This month we’ll have a video about Subscriptions with Stripe and after, with Paypal API.
Can you start making Typescript projects 🙏
Yes, soon we’ll create entire projects using TypeScript.
How to track our item and user after successful payment? item ID and user ID
You can track by the order ID
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
🔥
5:10