简体   繁体   English

贝宝定期付款状态

[英]Paypal recurring payment status

I'm trying to set up a recurring billing situation with Paypal using Rails with ActiveMerchant and the ruby-paypal gem. 我正在尝试使用带有ActiveMerchant的Rails和ruby-paypal宝石与Paypal设置经常性计费情况。 Wondering how the status of subscriptions is commonly managed - IPN? 想知道通常如何管理订阅状态-IPN? Or a cron job to check the status of all subscriptions? 还是cron作业来检查所有订阅的状态?

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. SaaS Rails套件中,我在PayPal中设置了一个周期性的计费配置文件,然后使用cron作业在需要计费时检查该配置文件的状态。

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. 另一种方法是使用参考交易(也称为计费协议),然后使用cron作业为贝宝用户何时何地计费。 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. 这是我最初在SaaS套件中实现的,但是很多人不喜欢为PayPal帐户启用参考交易的麻烦。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM