【问题标题】:Is there a PayPal IPN when a suspended subscription is reactivated?重新激活暂停的订阅时是否有 PayPal IPN?
【发布时间】:2012-12-26 17:04:35
【问题描述】:

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

recurring_payment_suspended
recurring_payment_suspended_due_to_max_failed_payment

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

recurring_payment_reactivated

我找不到关于 SO、Google 和 https://www.x.com/developers/paypal/documentation-tools/ipn/integration-guide/IPNandPDTVariables 的任何信息

或者有谁知道为什么 PayPal 会提供 IPN 来告诉我们何时暂停定期付款 但重新激活时不会。

【问题讨论】:

    标签: paypal paypal-ipn paypal-subscriptions


    【解决方案1】:

    我刚刚在沙盒上测试了这个场景。我使用CreateRecurringPaymentsProfile 创建了一个新配置文件,并立即按预期获得了recurring_payment_profile_created IPN。

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

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

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

    也就是说,我始终建议在用户登录您网站的付费区域(或尝试访问需要有效个人资料的任何内容)时使用GetRecurringPaymentsProfileDetails API 检查个人资料的当前状态。

    【讨论】:

    • 我在生产环境中进行了测试,它产生的结果与您的沙盒测试相同。沙盒有时与他们的生产系统不一致。有一个 ipn 来通知暂停,那么有一个可以逆转暂停是合乎逻辑的,显然不是。那好吧。谢谢你的建议,我会同意的。
    猜你喜欢
    • 2015-07-24
    • 2016-03-09
    • 2020-08-14
    • 2018-08-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-12-25
    • 2015-08-26
    相关资源
    最近更新 更多