Parsing PayPal Subscription Ran Out

前端 未结 3 1499
北海茫月
北海茫月 2020-12-19 18:11

On PayPal subscriptions, it appears that all I need to do is treat it like a regular IPN except look at the txn_type field. When I see one of the following stat

3条回答
  •  难免孤独
    2020-12-19 18:55

    I found that these are the ones to watch regarding "end of membership" type reactions in my code:

    • subscr_cancel
    • subscr_eot
    • recurring_payment_profile_canceled
    • recurring_payment_expired

    All others are just "noise" regarding "end of membership" status. For instance, to react to any payment "failure" type IPNs would be wrong because eventually PayPal may rectify that problem with the customer after a reattempt, and so cancellation and expiration events are really what you should look for.

提交回复
热议问题