如何将PayPal与ASP.NET集成?

时间:2022-12-02 10:41:52

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

如何将PayPal与ASP.NET集成,您是否有任何可以让我入门的网站或链接到任何教程?

5 个解决方案

#1


10  

Read paypal integration in asp.net from Rick Strahl

阅读来自Rick Strahl的asp.net中的paypal集成

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

更新:WebP矩阵有PayPal Helper,可以轻松集成到asp.net mvc或asp.net Web表单中。

#2


7  

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

你必须使用Paypal IPN。我的网站运行Perl,但它的基本工作方式如下:

  1. Customer fills out an order form at my site with their name, address, email.
  2. 客户在我的网站上填写一份订单,其中包含姓名,地址和电子邮件。
  3. Customer is being redirected to Paypal
  4. 客户被重定向到Paypal
  5. Upon successful payment via Paypal, Paypal calls my IPN-compliant script
  6. 通过Paypal成功付款后,Paypal会调用我的IPN兼容脚本
  7. My script sends me an e-mail notifying me about the completed order
  8. 我的脚本给我发了一封电子邮件,通知我已完成的订单

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.

如果客户在30分钟左右没有付款,我的数据库还会向他发送一个提醒,其中包含相应订单的Paypal付款链接。

#3


2  

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

下载ASP.NET电子商务入门套件,现在是“DashCommerce”。它已实施PayPal。 http://dashcommerce.org/

#4


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

您可以尝试在C#(asp.net)中使用此Paypal NVP API示例: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.

试图给出一个简单的例子,让你快速上手。 paypal SDK示例并不是很好。干杯。

#5


1  

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

Michael987汇集了来自不同论坛的帖子,提出了一个适合他的解决方案。

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

NathanRidley整合了上面链接中的代码,并在Github上发布了一个开源库

#1


10  

Read paypal integration in asp.net from Rick Strahl

阅读来自Rick Strahl的asp.net中的paypal集成

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

更新:WebP矩阵有PayPal Helper,可以轻松集成到asp.net mvc或asp.net Web表单中。

#2


7  

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

你必须使用Paypal IPN。我的网站运行Perl,但它的基本工作方式如下:

  1. Customer fills out an order form at my site with their name, address, email.
  2. 客户在我的网站上填写一份订单,其中包含姓名,地址和电子邮件。
  3. Customer is being redirected to Paypal
  4. 客户被重定向到Paypal
  5. Upon successful payment via Paypal, Paypal calls my IPN-compliant script
  6. 通过Paypal成功付款后,Paypal会调用我的IPN兼容脚本
  7. My script sends me an e-mail notifying me about the completed order
  8. 我的脚本给我发了一封电子邮件,通知我已完成的订单

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.

如果客户在30分钟左右没有付款,我的数据库还会向他发送一个提醒,其中包含相应订单的Paypal付款链接。

#3


2  

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

下载ASP.NET电子商务入门套件,现在是“DashCommerce”。它已实施PayPal。 http://dashcommerce.org/

#4


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

您可以尝试在C#(asp.net)中使用此Paypal NVP API示例: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.

试图给出一个简单的例子,让你快速上手。 paypal SDK示例并不是很好。干杯。

#5


1  

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

Michael987汇集了来自不同论坛的帖子,提出了一个适合他的解决方案。

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

NathanRidley整合了上面链接中的代码,并在Github上发布了一个开源库