用于 ASP.NET MVC 的 Paypal IPN 侦听器 [英] Paypal IPN Listener for ASP.NET MVC
问题描述
PayPal GitHub 上有不少代码示例展示了如何实现 IPN 侦听器以各种语言(php、VB、...).但是,ASP.NET MVC 没有.有没有人成功实施过?或者,是否有类似于其他代码示例的首选/官方实现方式?
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?
推荐答案
一个关于包含 PayPal IPN 的简单 MVC 站点结构的简洁视频:
http://www.asp.net/mvc/videos/mvc-1/aspnet-mvc-storefront/aspnet-mvc-storefront-part-22-restructuring-rerouting-and-paypal
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
直接链接到他的 IPN 控制器
https://mvcsamples.svn.codeplex.com/svn/trunk/Kona.Web/Controllers/PayPalController.cs
Direct link to his IPN controller
https://mvcsamples.svn.codeplex.com/svn/trunk/Kona.Web/Controllers/PayPalController.cs
MVC/C# 示例:
http://www.markstraley.com/Code/PayPalIPN
谢谢@Earlee!
MVC/C# Example:
http://www.markstraley.com/Code/PayPalIPN
Thanks @Earlee!
这篇关于用于 ASP.NET MVC 的 Paypal IPN 侦听器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!