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?
Asked
Active
Viewed 9,765 times
1 Answers
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
-
There's a lot of HttpContext reliance there. Anyone seen anything more testable? – Iain M Norman Jun 11 '10 at 08:47
-
The first link is 404 now – gyosifov Jul 22 '16 at 14:27
-
1@gyosifov thanks for the notification. I found the original video that was the meat of the article. I replaced the link. – Brian Jul 28 '16 at 17:28
-
1I also find this to be concise: http://www.markstraley.com/Code/PayPalIPN – Earlee Nov 09 '17 at 07:36
-
1@Earlee, good suggestion! I added the link to the answer. – Brian Nov 09 '17 at 14:24