定期订阅
我想向买家(客户)提供定期服务,因此假设我为我的产品设置了 5 个定期周期。现在我想维护包含所有交易详细信息的数据库,但是当发生定期付款时,我只能收到来自 PayPal 的有关“交易成功或失败”的电子邮件。
谁能告诉我如何将交易确认或失败详细信息数据存储在我的数据库中?
I want to provide recurring facility to buyer (customer) so suppose I have set the 5 recurring cycles for my product. Now I want to maintain my database also which contains all the transaction details , but when the recurring payment will occur, I can get only email from PayPal about the "Transaction Successful or Failure".
Can anyone tell me how can I get that transaction confirmation or failure details data to store in my database ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这将根据您的支付提供商的 API 的工作方式而有所不同。大多数支付网关和第三方处理器都会提供某种通知服务,以提醒您的网站何时进行付款和交易信息。 Paypal 的 IPN 和 Authorize.Net 的 Silent Post 就是两个很好的例子。
免责声明:我是 Silent Post 上那篇文章的作者
This will vary depending on how the API of your payment provider works. Most payment gateways and third party processors offer some kind of notification service to alert your website as to when payments are made and transaction information. Paypal's IPN and Authorize.Net's Silent Post are two good examples of this.
Disclaimer: I am the author of that article on Silent Post