PayPal Subscription Payment Failed

前端 未结 2 1218
眼角桃花
眼角桃花 2021-01-23 01:39

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

What transaction type (subscr_cancel or subscr_eot) is sent back via IPN, aft

相关标签:
2条回答
  • 2021-01-23 02:24

    Paypal returns subscr_failed for this case, and the possible return values are:

    subscr_signup: subscription sign-up.
    subscr_cancel: subscription cancellation.
    subscr_failed: subscription payment failure.
    subscr_payment: subscription payment.
    subscr_eot: subscription’s end-of-term.
    subscr_modify: subscription modification.
    

    Please click here for further clarification.

    0 讨论(0)
  • 2021-01-23 02:27

    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.

    0 讨论(0)
提交回复
热议问题