Paypal 定期付款状态

发布于 2024-08-23 07:22:33 字数 121 浏览 1 评论 0原文

我正在尝试使用 Rails 与 ActiveMerchant 和 ruby​​-paypal gem 设置 Paypal 的定期计费情况。想知道订阅状态通常是如何管理的 - IPN?或者一个 cron 作业来检查所有订阅的状态?

I’m trying to set up a recurring billing situation with Paypal using Rails with ActiveMerchant and the ruby-paypal gem. Wondering how the status of subscriptions is commonly managed - IPN? Or a cron job to check the status of all subscriptions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

白首有我共你 2024-08-30 07:22:33

SaaS Rails Kit 中,我在 PayPal 中设置了定期计费配置文件,然后使用 cron 作业来检查该配置文件在计费时的状态。

另一种方法是使用参考交易(又名计费协议),然后使用 cron 作业在您想要的时间和内容向 PayPal 用户计费。这是我在 SaaS 工具包中的最初实施,但很多人不喜欢为他们的 PayPal 帐户打开参考交易的麻烦。

In the SaaS Rails Kit I set up a recurring billing profile in PayPal then use a cron job to check on the status of that profile when it is time for it to be billed.

Another approach is to use reference transactions (aka billing agreements) and then using a cron job to bill that paypal user when and what you want. This was my initial implementation in the SaaS Kit, but a lot of people didn't like the hassle of getting reference transactions turned on for their PayPal accounts.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文