Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在处理贝宝定期付款,我已将 MaxFailedPayments 设置为 3。我想在最大失败付款达到 3 时向用户发送电子邮件。因此,从 IPN 消息中的哪个状态字段,我们可以了解 MaxFailedPayments 已达到?
提前致谢
博尼
有一个“txn_type”值告诉您循环配置文件何时达到最大失败付款尝试限制 -txn_type=recurring_payment_suspended_due_to_max_failed_payment
txn_type=recurring_payment_suspended_due_to_max_failed_payment
您可以使用它来触发您对买家的通知。
付款失败时,您应该会收到 IPN 帖子 -txn_type=recurring_payment_failed 在两个付款失败的 IPN 帖子到达后触发通知发送,而不是等待第三次失败和个人资料进入暂停状态。
txn_type=recurring_payment_failed