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

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

问题描述

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

在所有重试均失败后,通过IPN发送回什么事务类型(subscr_cancelsubscr_eot)?

解决方案

具体情况取决于您所使用的PayPal产品,尽管该逻辑在网站付款"标准订阅按钮和快速结帐"重复付款中均类似(`ish) (通过CreateRecurringPaymentsProfile API):

这取决于您是否设置了MAXFAILEDPAYMENTS.如果设置了MAXFAILEDPAYMENTS> 0,则它将在n次尝试后取消订阅,并且您会收到subscr_cancel.如果将其设置为MAXFAILEDPAYMENTS = 0,您将获得recurring_payment_skipped,并且经常性付款将被标记为未结余额.如果指定AUTOBILLOUTAMT = AutoBillAmt,则未结余额将添加到下一个结算周期.

我建议您看一下 解决方案

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):

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.

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天全站免登陆