September 29, 2010 at 4:50 am #1931
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
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
Are you using eMember with eStore or plain PayPal button to receive the subscription payments?September 30, 2010 at 11:57 pm #24885
I am using 2 plain Paypal buttons to receive subscription payments.October 1, 2010 at 1:44 am #24886
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
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
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
Amin, I sent my response to your last post to your e-mail.February 8, 2019 at 1:29 am #24890adminKeymaster
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’
IF account state equals ‘unsubscribed’ AND expiry date has not yet occurred THEN leave account state unchanged as ‘unsubscribed’
- You must be logged in to reply to this topic.