在 CreateRecurringPaymentsProfile API 操作的 PayPal 文档中,它指定:
MAXFAILEDPAYMENTS: (Optional) Number of scheduled payments that can fail before the profile is automatically suspended. An IPN message is sent to the merchant when the specified number of failed payments is reached.
Character length and limitations: Number string representing an integer
但是,它没有提及将 MAXFAILEDPAYMENTS 设置为零时会发生什么情况。
来自这个SO答案: PayPal Subscription Payment Failed
If MAXFAILEDPAYMENTS > 0 is set, it will cancel the subscription after n number of attempts and you'll receive a subscr_cancel. If you have it set to MAXFAILEDPAYMENTS=0, you'll get recurring_payment_skipped and the recurring payment will be marked as having an outstanding balance.
我相信设置 MAXFAILEDPAYMENTS=0 将创建一个 MAXFAILEDPAYMENTS 显示为“无限制”的帐户。谁能证实情况确实如此?
最佳答案
确认设置 MAXFAILEDPAYMENTS=0 将创建一个 MAXFAILEDPAYMENTS 在 PayPal 上显示为“无限制”的帐户。设置 MAXFAILEDPAYMENTS=1 将在第一次付款失败时触发 IPN 消息“recurring_ payment_suspended_due_to_max_failed_ payment”。
关于paypal - PayPal MAXFAILEDPAYMENTS 何时设置为无限制?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33769586/