[英]PayPal - Adaptive Payment: how do I know PaymentId on Success page?
I use PayPal Adaptive Payments SDK for .NET and I try to implement simple payment. 我使用适用于.NET的PayPal自适应付款SDK,并尝试实现简单付款。 There is the following flow: 有以下流程:
The problem is there is no way to add some customer data to PayRequest object. 问题是无法将某些客户数据添加到PayRequest对象。 And I do not know how to get transactionId on success page, because we initialize PayRequest.ReturnUrl before transaction created. 而且我不知道如何在成功页面上获取transactionId,因为我们在创建交易之前初始化了PayRequest.ReturnUrl。
How can I get transactionId on success page? 如何在成功页面上获取transactionId? Thank you. 谢谢。
在您的返回网址中,您可以将查询字符串数据添加为transactionId,然后paypal将返回该网址,因此您可以轻松获取您的transactionId
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.