PayPal 订阅付款失败 [英] PayPal Subscription Payment Failed

查看:30
本文介绍了PayPal 订阅付款失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

订阅付款失败时,PayPal 会重试 n 次.

When a subscription payment fails, PayPal will retry for n times.

在所有重试失败后,通过 IPN 发回什么交易类型(subscr_cancelsubscr_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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆