[英]Verify paypal payment using C#
I'm quite new to PayPal integration. 我是PayPal集成的新手。
Currently I'm working on a mobile app that allows me to make payment to my merchant. 目前,我正在开发一个移动应用程序,该程序可以让我向商家付款。 However, after making a payment using the app, the transaction is reflected as "pending".
但是,使用该应用程序付款后,该交易会反映为“待处理”。 I've read in some places I am required to verify the payment.
我已在某些地方阅读过要求验证付款的信息。
I've don't quite understand how it works, because I need to write it in C# however most of the documentation requires me to do a cURL command. 我不太了解它是如何工作的,因为我需要用C#编写它,但是大多数文档都要求我执行cURL命令。
Any place or documentation that allows me to get started with the verification of payment? 有什么地方或文件可以让我开始进行付款验证?
Any help would be greatly appreciated, thank you! 任何帮助将不胜感激,谢谢!
I use the IPN (Instant Payment Notification) from Paypal and used this site as a base for my code. 我使用贝宝(Paypal)的IPN(即时付款通知),并将此站点用作我的代码的基础。 The PayPal developer site has plenty of tips, you just have to apply the logic C#, where there isn't a code example.
PayPal开发人员站点上有很多技巧,您只需要应用逻辑C#(没有代码示例)即可。
Another Controller is available on https://mvcsamples.svn.codeplex.com/svn/trunk/Kona.Web/Controllers/PayPalController.cs 可以在https://mvcsamples.svn.codeplex.com/svn/trunk/Kona.Web/Controllers/PayPalController.cs上找到另一个控制器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.