PayPal 订阅付款失败 [英] PayPal Subscription Payment Failed
问题描述
订阅付款失败时,PayPal 会重试 n 次.
When a subscription payment fails, PayPal will retry for n times.
在所有重试失败后,通过 IPN 发回什么交易类型(subscr_cancel
或 subscr_eot
)?
What transaction type (subscr_cancel
or subscr_eot
) is sent back via IPN, after all retries fail?
推荐答案
具体取决于您使用的 PayPal 产品,尽管在网站付款标准订阅按钮和快速结账定期付款中的逻辑工作方式相似(`ish)(通过 CreateRecurringPaymentsProfile API):
The specifics depend on the PayPal product you're using, although the logic works similar(`ish) across both Website Payments Standard subscription buttons and Express Checkout Recurring Payments (via the CreateRecurringPaymentsProfile API):
这取决于您是否设置了 MAXFAILEDPAYMENTS.如果设置了 MAXFAILEDPAYMENTS > 0,它将在 n 次尝试后取消订阅,您将收到 subscr_cancel.如果您将其设置为 MAXFAILEDPAYMENTS=0,您将获得 recurring_payment_skipped 并且定期付款将被标记为有未结余额.如果您指定 AUTOBILLOUTAMT=AutoBillAmt,未结余额将添加到下一个结算周期.
This depends on whether you've set MAXFAILEDPAYMENTS or not. 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. If you specify AUTOBILLOUTAMT=AutoBillAmt, the outstanding balance will be added to the next billing cycle.
我建议看看 https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_IPNandPDTVariables#id091EB0901HT 其中列出了所有 IPN 变量,包括定期付款的变量.
I would suggest taking a look at https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_IPNandPDTVariables#id091EB0901HT which lists all IPN variables, including the ones for recurring payments.
这篇关于PayPal 订阅付款失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!