expiration date not updated after subscription cancellation?

5 replies [Last post]
andrew.toelle
Offline
Joined: 09/22/2009
Status: 
Answered

wildkatan, thanks for making your work available for others to use!

a quiestion about how subscriptions expire when cancelled via paypal.

I have a subscription set to charge a user $40 every 3 months, and to limit the subscription to four payments (so it's basically a yearly subscription paid in quarterly installments).

On the users page, while looking at "current memberships" the expiration date seems to reflect the final expiration date (ie, when the account would expire, should all 4 payments be made)

This seems well enough, as that is the projected expiration date, should a user continue payments.

The problem i am having, is that that once the user clicks on the handy "cancel subscription" link, and terminates payments, the change is not reflected in the expiration date.

This seems a bug, as i would expect for a user's access to be limited by the duration paid for, as opposed to that simply projected. With the module acting in this manner, if i allow my users to pay quarterly for ten years, could they not simply pay for the initial quarter, discontinue membership, and still have an active account for ten years unpaid?

I made a point to run cron after making the cancellation, but with no effect.

Here are screenshots of my settings, and the content of "current memberships" after cancellation:

Leighton Whiting
Offline
Joined: 06/02/2009
Andrew, Thank you very much

Andrew,
Thank you very much for the detailed bug report. What is happening is the stored date is only a projected expiration date. It is not used to determine when a subscription is cancelled (this is done by Paypal's 'End of Term' IPN). So the subscriptions that are canceled early should expire at the correct time.
This is, however, a bug that needs to be fixed, namely, that the expiration date should be updated or changed to reflect when someone cancels early. I will add this to the planned update.

Sincerely,
Leighton

andrew.toelle
Offline
Joined: 09/22/2009
just a display tweak then

Well that's good news. having the display updated is minor compared with an accurately timed role removal!

Thanks for the quick response.

-AT

jaybee
Offline
Joined: 08/14/2009
Also when renewing

Hi Leighton - this issue also affects the expiry date when a sub has been renewed. The expiry date displayed in the user account shows the original expiry date rather than the new expiry date following renewal. Screenshot attached for clarity.

Thanks! 

AttachmentSize
expirydate.JPG 22.11 KB
Leighton Whiting
Offline
Joined: 06/02/2009
Jaybee, Sorry for the slow

Jaybee,
Sorry for the slow response to this, work has been a flood this week. I will get this issue fixed in the next release and hopefully get it out this weekend.

Sincerely,
Leighton

Leighton Whiting
Offline
Joined: 06/02/2009
Both of these bugs are fixed

Both of these bugs are fixed in the new 4.13 version of Paypal Subscriptions. Namely, when a subscription is cancelled, the expiration date is set to the time of cancellation. When a subscription is modified, the start date is set to the time it was modified (since it is a new subscription) and the expiration date is set to what it should be for the new subscription. Also, subscriptions with no expiration date (ones that renew indefinitely until the user cancels) show 'None' for the expiration.

Cheers!

-Leighton

Twitter Feed