Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Unsubscribed users' accounts not automatically expiring

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › Unsubscribed users' accounts not automatically expiring

  • This topic has 8 replies, 3 voices, and was last updated 4 years, 1 month ago by admin.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • September 29, 2010 at 4:50 am #1931
    jasiel
    Member

    Hi guys, I hope you are doing well.

    I am having an issue with the automatic account expieration feature within WP eMember v5.6.2. The last issue I had was that several monthly access accounts were expiring before the month was up, and you guys gave me the solution: change the subscription duration to ‘never expire’ which worked.

    But now I have noticed that when a monthly access user unsubscribes (cancels their Paypal subscription) the plugin does not automatically make their account expire 1 month after they unsubscribed. You guys stated that this happened automatically, but since it hasn’t I have had to manually go in occasionally to check for accounts that should be expired and manually set them to ‘expired’.

    I hope that there is a way to fix this so that the account expiration feature can work, so that I don’t have to do it myself. Thanks in advance guys!

    September 30, 2010 at 12:58 am #24883
    jasiel
    Member

    Hi, I didn’t get a response in almost a day and I just wanted to see if maybe I could get one soon. Thanks!

    September 30, 2010 at 3:10 am #24884
    amin007
    Participant

    Are you using eMember with eStore or plain PayPal button to receive the subscription payments?

    September 30, 2010 at 11:57 pm #24885
    jasiel
    Member

    I am using 2 plain Paypal buttons to receive subscription payments.

    October 1, 2010 at 1:44 am #24886
    amin007
    Participant

    Alrighty… lets perform some debug to find out what is going on.

    Please open the “eMember_handle_paypal_ipn.php” file from the “ipn” directory of the eMember plugin and look for the following line:

    $debug_enabled = false;

    Once you find it please change it to the following:

    $debug_enabled = true;

    Now when you do any transaction for membership payment or anyone cancels a membership the eMember script will log every step of the post payment processing.

    Can you please do a test subscription and a cancel then send me the content of the two log files that will get generated in the “ipn” directory of the eMember plugin?

    October 2, 2010 at 6:13 am #24887
    jasiel
    Member

    Okay amin, I have completed the debug. Please check your e-mail for the 2 debug files.

    October 3, 2010 at 12:12 am #24888
    amin007
    Participant

    Thank you for the debug logs. I have checked them and they all seem to be doing what it’s supposed to do. The members account is getting set to “unsubscribed” state. So after the subscription term is over this account will be inactivate when the member tries to make an attempt to login.

    Did you actually try to login using one of these “unsubscribed” account after the expiry term or are you just looking up in the Member’s list in the dashboard? The way it works is that when an account is marked for “deactivation” and a member tries to login it checks the remaining days and if it’s over then it will deactivate the account and give the member an “Account Expiry” message.

    October 4, 2010 at 12:07 am #24889
    jasiel
    Member

    Amin, I sent my response to your last post to your e-mail.

    February 8, 2019 at 1:29 am #24890
    admin
    Keymaster

    Just to clarify, here is how it works:

    IF member account state equals ‘unsubscribed’ AND expiry date is equal to or before the current date THEN change account state TO ‘inactive’

    otherwise

    IF account state equals ‘unsubscribed’ AND expiry date has not yet occurred THEN leave account state unchanged as ‘unsubscribed’

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • WP PDF Stamper Documentation
  • WP Photo Seller Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial
  • WP Photo Seller Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Download Monitor

Copyright © 2023 | Tips and Tricks HQ