• Resolved icyplains

    (@icyplains)


    I had a user sign up on Aug 4, 2014 21:16:49 for a Membership Level that has an expiration set to “1 day”. I just noticed that his account expired in less than 24 hours:

    Membership started: 2014-08-04 23:16:49
    Membership expired: 2014-08-05 16:24:23

    SQL query: SELECT * FROM pmpro_memberships_users WHERE user_id = 54 ORDER BY id ASC LIMIT 0, 25 ;

    id user_id membership_id code_id initial_payment billing_amount cycle_number cycle_period billing_limit trial_amount trial_limit status startdate enddate modified
    196 54 2 0 1.99 0.00 0 0 0.00 0 inactive 2014-08-04 23:16:49 2014-08-05 16:24:23 2014-08-05 17:24:23

    There any reason this would be happening?

    https://www.ads-software.com/plugins/paid-memberships-pro/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter icyplains

    (@icyplains)

    I also just upgraded a test account from my Free level to the 1 day level and the database has this result in the pmpro_memberships_users table:

    start date: 2014-08-05 18:57:45
    end date: 2014-08-06 00:00:00
    modified: 2014-08-05 19:57:45

    Hey there,

    PMPro runs the expiration script once per day at midnight (WordPress time). So if a membership is set to expire in 1 day, they will actually expire that night at midnight instead of 24 hours out. The easiest way to avoid this is just to set it at 2 days.

    Hope that clears things up!

    Thanks,
    Jess

    Thread Starter icyplains

    (@icyplains)

    OK, thanks that makes sense.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Expiration Time’ is closed to new replies.