Parsing PayPal Subscription Ran Out

前端 未结 3 1495
北海茫月
北海茫月 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:44

    If you've gone through the subscription button mechanism, and it's not one of the pre-approved recurring payment things then you'll only see the "subscr" prefixed ones, I think.

    I personally don't respond to "subscr_cancel" in my app. The IPN for that is sent the moment the users cancels. I don't want to disable their access at that point so I wait for the "subscr_eot" one and do it then.

    So if they sign up for a year, and cancel the next day, they still have access to the end of the year, which is when PayPal will send the "subscr_eot". They'll always send both.

提交回复
热议问题