24

How can i integrate PayPal with ASP.NET, do you have any sites that can get me started or links to any tutorials?

Ólafur Waage
  • 68,817
  • 22
  • 142
  • 198
  • 1
    Paypal has several integration options. Which option are you wanting to use? ie: Website Payments Pro, Website Payments Standard, Express Checkout, Payflow Pro,.... – NotMe Feb 26 '12 at 19:53

5 Answers5

10

Read paypal integration in asp.net from Rick Strahl

Update: There is PayPal Helper for web matrix that could be easily integrated to asp.net mvc or asp.net web forms.

suhair
  • 10,895
  • 11
  • 52
  • 63
8

You'll have to use Paypal IPN for that. My site runs with Perl, but the way it basically works is as follows:

  1. Customer fills out an order form at my site with their name, address, email.
  2. Customer is being redirected to Paypal
  3. Upon successful payment via Paypal, Paypal calls my IPN-compliant script
  4. My script sends me an e-mail notifying me about the completed order

If the customer does not pay within 30 minutes or so, my database also sends him a reminder with a Paypal payment link for the respective order.

Adrian Grigore
  • 33,034
  • 36
  • 130
  • 210
2

Download the ASP.NET E-Commerce Start Kit, which is now "DashCommerce". It has PayPal implemented. http://dashcommerce.org/

Rebecca
  • 13,914
  • 10
  • 95
  • 136
1

You can give this Paypal NVP API example in C# (asp.net) a try: http://brad.w3portals.com/2008/02/paypal-nvp-api-example-in-c-aspnet.html

Tries to give a simple example to get you up and running quick. The paypal SDK example are not that great. Cheers.

brad oyler
  • 3,669
  • 1
  • 20
  • 22
1

Michael987 put together posts from different forums to come up with a solution that worked well for him.

NathanRidley integrated the codes from the link above and released an open source library on Github

elwyn
  • 10,360
  • 11
  • 42
  • 52
alders
  • 11
  • 1