Members not expiring when subscription ends

Hey there WPMUdev team,

I’m running Membership version 2.0.6 and I’m doing some testing whilst building my site: http://visualtcm.com/

I have 2 levels of membership – 1. everyone and 2. members.

So I can test the process, I’ve set subscriptions to expire after 1 day – but after 3 separate tests, all my users subscriptions are not expiring and they are remaining at the same level.

I’ve added a screenshot of my Edit members area – which shows a test user’s subscription still being active – even though they should have expired.

I am happy to supply test usernames and passwords as needed. Just so you know, I’m not a developer, but a designer with some sl.technical capacity :slight_smile:

Thanks indeed,

Sally

[attachments are only viewable by logged-in members]

  • Barry
    • DEV MAN’s Mascot

    So I can test the process, I’ve set subscriptions to expire after 1 day – but after 3 separate tests, all my users subscriptions are not expiring and they are remaining at the same level.

    Are they expiring when they login in? The checks are only done and the membership moved on when they login themselves.

    Can you post details of your subscriptions? screenshots?

  • mrsflewsie
    • New Recruit

    Hi Barry.

    Thanks for your reply. I'll try and answer your questions as best I can, I'm not sure I fully understand everything you're asking, so please bear with me a little… :slight_smile:

    You asked: Are they expiring when they login in? The checks are only done and the membership moved on when they login themselves.

    I created 3 test users and paid for subscriptions with paypal. I then logged in with their user name and password. None of the test users have expired when they should have – as the last screenshot showed. The date had clearly expired in my Edit members area, but the subscription still remained

    You asked: Can you post details of your subscriptions? screenshots?

    Here are 3 screenshots – I hope they help. Please let me know if I can take more helpful screenshots I will.

    Screenshot 1 – shows the shortcodes available to the members level

    Screenshot 2 – shows the 2 types of subscriptions

    Screenshot 3 – shows details of the 1 week of membership subscription details

    Thanks again,

    Sally

    [attachments are only viewable by logged-in members] [attachments are only viewable by logged-in members] [attachments are only viewable by logged-in members]

  • mrsflewsie
    • New Recruit

    Hey Barry!

    I though the same thing too!!!!!

    Before posting to this forum, I checked the UTC time is set to UTC+12 (see screenshot). Because I live in New Zealand, I waited for 24 hrs to check that there wasn't a time lag, but still no expiry after waiting :slight_frown:

    Um… I'm a bit stuck. I've checked all my ducks are in a row, I reinstalled membership from scratch. I have checked and rechecked my shortcodes, levels and subscriptions. Unless I manually disable all members, they currently never leave that subscription!

    Thanks for your help so far,

    Sally

    [attachments are only viewable by logged-in members]

  • Barry
    • DEV MAN’s Mascot

    I’ve just done another login and the subscription seems to have gone, so (unless you’ve removed it) it looks like it’s working on UTC (+ a bit) and not the actual timezone. I’ll look at that and see if we can get that updated for the beta 2 release of v2.1.

    Of course, if it was you that manually removed it, then shout – because then we’ll have to start getting technical and looking at tables :slight_smile:

  • mrsflewsie
    • New Recruit

    Sorry Barry,

    Apologies: test@test.com did not have a current subscription when you logged in – I manually removed it yesterday :slight_frown:

    I've just set added a new subscription to test@test.com which expires 2011-07-06 12:07 (UTC+12).

    Maybe you could log-in again tomorrow after the expiry and see what happens for you?

    Doh!

    Sally :slight_smile:

    [attachments are only viewable by logged-in members]

  • Barry
    • DEV MAN’s Mascot

    Apologies: test@test.com did not have a current subscription when you logged in – I manually removed it yesterday :slight_frown:

    It had one a short while earlier today when i initially tested it (about 5 minutes before my first reply above) – which is why i figured it had gone when i logged in again a short while ago :disappointed:

  • mrsflewsie
    • New Recruit

    Hey Barry,

    Just to let you know – I think you are onto something with working on UTC (+ a bit) and not the actual timezone.

    Another user (not test@test.com) subscription just expired 30th June (today NZ time), when it was due to expire on 29th June (yesterday NZ time).

    Because I hadn't waited over 24 hours to see if the subscriptions had expired – I did not realise that they were actually expiring – just over 24hrs after their expiry time.

    I'd appreciate any help you can give to get a fix into the beta 2 release of v2.1.

    I am launching my site in 3 weeks time – so if some kind of fix was available in v2.1, or if some temporary php-code I can add, so I can use Membership as I need to, would be deeply appreciated.

    Thanks for all your help thus far,

    Sally :slight_smile:

    [attachments are only viewable by logged-in members] [attachments are only viewable by logged-in members]