获取与 Paypal 中的定期付款配置文件关联的交易
我已经浏览了几乎所有与使用 Paypal 定期付款相关的问题,但没有找到解决我的问题的方法。
我们正在实施一种按月(固定金额)订阅的系统。出于安全原因,我们不想存储 CC 详细信息,因此我们尝试使用 Paypal 的 Website Payments Pro。 一旦用户同意定期付款,我们就会为该用户创建一个 RecurringPaymentProfile 并存储为该用户返回的 Profile_Id。
现在我们需要获取与此 Recurring Profile_Id 相关的所有交易的信息。当我们登录 Paypal 帐户时,此信息可用,但这需要自动化,以便应用程序了解所有付款以及用户当前的订阅。
我们(可能)找到了两种方法来实现这一点。 1. IPN(即时付款通知,为此我们必须创建一个服务来监听通知,这似乎很麻烦并且信息量比我们需要的更多) 2. TransactionSearch(但这会返回 Paypal 帐户的交易,而不是 Profile_Id)
由于我们只想知道与定期配置文件关联的交易历史记录以及本月付款是否成功(暗示用户是活跃会员),那么什么是最好的方法来实现这个?
谢谢,
I have gone through nearly all the question related to Recurring Payment using Paypal and have not found a solution to my problem.
We are implementing a system that is subscription based on a monthly basis (fixed amount). We do not want to store CC details for security reasons, hence we are trying to use Website Payments Pro from Paypal.
Once a user agrees to recurring payments, we are creating a RecurringPaymentProfile for that user and are storing the returned Profile_Id for the user.
Now we need to get information about all the transactions related to this Recurring Profile_Id. This information is available when we login to the Paypal account but this needs to be automated so that the application is aware of all the payments and also of the current subscription of the user.
We have found two methods (possibly) to implement this.
1. IPN (Instant Payment Notification, for this we will have to create a service to listen to notifications, which seems to be cumbersome and is more informational than we require)
2. TransactionSearch (but this returns transactions for the Paypal account and not Profile_Id)
Since we just want to know the transaction history associated with the Recurring Profile and whether this months payment was successful (implying the user is active member), what is the best method to implement this ?
Thanks,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您正在寻找 GetRecurringPaymentsProfileDetails API 操作< /a>.通过此操作,您可以使用有效的
PROFILEID
查看与定期付款资料相关的大部分详细信息。您可能感兴趣的相关详细字段:
You're looking for the GetRecurringPaymentsProfileDetails API Operation. This operation will allow you to view a majority of the details associated with a recurring payment profile using a valid
PROFILEID
.Relevant detail fields you may be interested in: