重新激活暂停的订阅时是否有PayPal IPN?

PK.*_*PK. 4 paypal paypal-subscriptions paypal-ipn

当paypal定期付款暂停时,txn_type将发送具有以下任一项的IPN

recurring_payment_suspended
recurring_payment_suspended_due_to_max_failed_payment
Run Code Online (Sandbox Code Playgroud)

问题:是否有IPN通知重新激活,例如:

recurring_payment_reactivated
Run Code Online (Sandbox Code Playgroud)

我在SO,Google和https://www.x.com/developers/paypal/documentation-tools/ipn/integration-guide/IPNandPDTVariables上找不到任何信息

或者有人知道为什么PayPal会提供IPN来告诉我们何时暂停定期付款,而不是重新激活时.

Dre*_*ell 7

我刚刚在沙盒上测试了这个场景.我创建了一个新的配置文件CreateRecurringPaymentsProfile,我立即得到了recurring_payment_profile_created预期的IPN.

然后我暂停了配置文件ManageRecurringPaymentsProfileStatus并立即recurring_payment_suspended按预期获得了IPN.

然后我使用重新激活配置文件ManageRecurringPaymentsProfileStatus,但我没有从此操作获得任何新的IPN.

基于这些发现,我会说,不,你也不会在生产中得到一个.

也就是说,我总是建议使用GetRecurringPaymentsProfileDetailsAPI在用户登录站点的付费区域时检查配置文件的当前状态(或尝试访问需要有效配置文件的任何内容.)

  • 我在生产中测试它产生与沙盒测试相同的结果.沙箱有时与他们的生产系统不一致.有一个ipn告知暂停,那么有一个反转暂停是合乎逻辑的,显然不是.那好吧.并感谢你的建议,我将继续这样做. (4认同)