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来告诉我们何时暂停定期付款,而不是重新激活时.
我刚刚在沙盒上测试了这个场景.我创建了一个新的配置文件CreateRecurringPaymentsProfile,我立即得到了recurring_payment_profile_created预期的IPN.
然后我暂停了配置文件ManageRecurringPaymentsProfileStatus并立即recurring_payment_suspended按预期获得了IPN.
然后我使用重新激活配置文件ManageRecurringPaymentsProfileStatus,但我没有从此操作获得任何新的IPN.
基于这些发现,我会说,不,你也不会在生产中得到一个.
也就是说,我总是建议使用GetRecurringPaymentsProfileDetailsAPI在用户登录站点的付费区域时检查配置文件的当前状态(或尝试访问需要有效配置文件的任何内容.)
| 归档时间: |
|
| 查看次数: |
1540 次 |
| 最近记录: |