PayPal API, finding the right one

2020-06-19 11:45发布

问题:

I need to add the option to pay with PayPal in my web site. I would like to have a API where i can send PayPal the information and get back right away the transaction ID so i can save it in my DB. What API will be best for me? Is there a way to do this? I saw they have this list:

list

Also do you know were i can find good examples for this? my app is ASP.NET c# I know this a very beginner question, what i really need help with this.

Thank you

EDIT I started working with something but then found a problem I posted a new question here question

回答1:

If all you need is simple Credit Card and PayPal Wallet payments - just use our new Restful Payment APIs - https://developer.paypal.com/webapps/developer/docs/api/

They are much more cleaner and simple APIs to begin with if that's all the payment functionality you need.



回答2:

You can refer below links:

http://www.codeproject.com/Questions/453595/Paypal-Integration-in-asp-net

http://www.codeproject.com/Tips/474197/PayPal-Gateway-Integration-in-ASP-NET

http://paypaldeveloper.blogspot.in/2009/02/how-to-integration-paypal-with-aspnet-c.html

http://www.dotnetfunda.com/articles/article928-online-payments-using-paypal-integration-with-aspnet.aspx

I hope these links will help you.. :)



回答3:

There is an up-to-date sample code for PayPal C# api on that page PayPal C# API.



回答4:

I believe that for beginners integrating with HTML API PayPal is probably the easiest and best way to get started.

This article is slightly outdated, but explains that option along with others in straightforward matter:

Introduction to PayPal for C# - ASP.NET developers http://www.codeproject.com/Articles/42894/Introduction-to-PayPal-for-C-ASP-NET-developers