Subscriptions with Paypal IPN

后端 未结 4 1221
我寻月下人不归
我寻月下人不归 2020-12-02 09:04

I am adding subscriptions to a site using Paypal IPN which works very well, I can successfully create a new subscription and verify it. The subscription has a two week free

4条回答
  •  天涯浪人
    2020-12-02 09:58

    subscr_eot is sent when a user's last paid interval has expired. subscr_cancel is sent as soon as the use cancels the subscription - for example:

    User signs up on day 1 for a subscription which is billed once a month. subscr_signup is sent immediately, subscr_payment is sent as soon as payment goes through (usually immediately as well).

    On day 13, the user cancels. subscr_cancel is immediately sent, although the user has technically paid through to day 30. Cancelling at this point is up to you.

    On day 30, subscr_eot is sent - the user has cancelled, and this is the day which his last payment paid until.

    Not much changes with trial subscriptions - if a user cancels before a trial subscription is up, subscr_cancel is sent immediately, and subscr_eot is sent at the end of the trial.

提交回复
热议问题