11

There is quite a few code samples on PayPal GitHub showing how to implement IPN listener in various languages (php, VB, ...). However, there is none for the ASP.NET MVC. Has anybody successfully implemented it? Or is there, similarly to the other code samples, a preferred/oficial way of implementing it?

Michal Hosala
  • 5,570
  • 1
  • 22
  • 49
Omu
  • 69,856
  • 92
  • 277
  • 407

1 Answers1

17

A neat video on a simple MVC site structure that includes PayPal IPN:
http://www.asp.net/mvc/videos/mvc-1/aspnet-mvc-storefront/aspnet-mvc-storefront-part-22-restructuring-rerouting-and-paypal

Direct link to his IPN controller
https://mvcsamples.svn.codeplex.com/svn/trunk/Kona.Web/Controllers/PayPalController.cs

MVC/C# Example:
http://www.markstraley.com/Code/PayPalIPN
Thanks @Earlee!

Brian
  • 4,974
  • 2
  • 28
  • 30