latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

EOT blank for renewing members

Home Forums Community Forum EOT blank for renewing members

This topic contains 11 replies, has 2 voices. Last updated by  Cristián Lávaque 3 years, 7 months ago.

Topic Author Topic
Posted: Tuesday Jun 4th, 2013 at 10:05 am #51320

Hello,
When a new user registers an EOT is set and is working well. Once that one time purchase for a set time has expired my clients are renewing, but for some reason a new EOT is not being set automatically and they are not being demoted after the renewed specific time amount has expired. For example, I have a client that joined on Feb 1 2013 for one month. The EOT was automatically set for March 1 2013. After that date they were demoted to a free subscriber until they renewed their membership with the same account info for another month. This time no new EOT was set and they were not demoted on the correct date one month later. I would like the EOT to reset automatically for renewing clients. This has happened with every renewed user to date so I have being correcting this manually.
Did I miss a setting some where to make this automatic?
Thank you for your time,
B

List Of Topic Replies

Viewing 11 replies - 1 through 11 (of 11 total)
Author Replies
Author Replies
Posted: Wednesday Jun 5th, 2013 at 11:27 pm #51447

Could you please show me the shortcode for the button/form they purchase the renewal with? Thanks.

Posted: Thursday Jun 6th, 2013 at 12:26 am #51450

Do you mean the code from paypal after generating a button?
That would be this

[s2Member-PayPal-Button level="2" ccaps="" desc="Platinum Member Access for 1 month" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.learntoplayitright.com" ta="0" tp="0" tt="D" ra="12.99" rp="1" rt="M" rr="BN" rrt="" rra="1" image="default" output="button" /]

Thanks
B

Posted: Thursday Jun 6th, 2013 at 2:16 am #51454

Thanks. I see, it is a Buy Now button then, it should be setting the EOT time immediately after checkout…

Did you see in the user’s profile that paid the upgrade, that it’s missing the EOT time? or you just know he wasn’t demoted when he should have but didn’t check if the EOT time was there?

Could you please submit your site’s info so I review the configuration and maybe do a test purchase trying to reproduce the problem you’re reporting? Leave me a reply here after you did so I look for it. Thanks! s2Member® » Private Contact Form

Posted: Thursday Jun 6th, 2013 at 8:57 am #51509

When a client renews the EOT is blank and you can see it is blank in their profile. When a client joins for the first time the EOT is set with the correct date and you can see it in their profile. this has happened every time so far. So like I said the button is working well for the initial purchase, but not setting an EOT date for a renewal purchase. You can also see in the users list that they are not being demoted on the correct date, which I have being checking from the email notice I receive after renewal. I am using the same button for original sign up and renewal, is there a different short code for a renewal buttonl?
I will submit info now
Thanks
Brad

Posted: Thursday Jun 6th, 2013 at 9:12 am #51517

Submitted – I just wanted to add that you can see in the “Administrative Notes” when the client was demoted and the other details etc.. when it is a renewal purchase.
Thanks

Posted: Friday Jun 7th, 2013 at 5:54 am #51585

Thanks, got the email.

I reviewed the user and confirmed he had been demoted according to the admin notes, and now has Level 2 and no EOT time. I’d need to see more info on his transaction, but logging is currently disabled and no entry for it in the logs you have from previous dates. [hilite path]Dashboard -› s2Member® -› Log Files (Debug) -› Logging Configuration[/hilite]

Could you please try reproducing this problem with logging enabled? Create a user at level 0 and make a copy of your button shortcode changing the amount to 1 cent and the term to 1 day for the test, then log out of your admin account, login to the account you just created and upgrade with the new test button. Log back into your admin account and see if the user has an EOT time, and what the log entries say, please. Let me know how it went. If the EOT time was set, let it expire after a day when the EOT happens, and upgrade it again trying to reproduce the problem.

Posted: Friday Jun 7th, 2013 at 9:01 am #51607

ok I have enabled logging. I took an existing test user and forced a EOT buy changing it to today. Then I renewed the test clients membership using the same button and again no EOT was created. The test clients name is ***** Jenkins
Please advise.

Posted: Saturday Jun 8th, 2013 at 5:03 am #51657

Thanks for running that test.

I looked at the logs and saw no errors in the API or RTN logs. I noticed you had no IPN log, though, until I loaded the IPN URL for your installation and created an entry for it. There may be a problem with PayPal communicating with s2Member, I’d investigate that.

I’d first try Jason’s server scanner to see that you have no errors reported there, and if fix any problems that come up there. Knowledge Base » s2Member® Server Scanner

Also please do these: Knowledge Base » Common Troubleshooting Tips

And I noticed you have Object and Database caching enabled, which are known to cause problems. I’m not sure if the problem you’re having here is related to that, but you should disable those to prevent any issues in the future.

Posted: Saturday Jun 8th, 2013 at 7:36 pm #51684

Okay – I ran the scan and got this
[WARNING] Missing $_SERVER[‘SERVER_ADDR’]dismiss?
Although NOT required, s2MemberR recommends that your installation of PHP be configured with a $_SERVER[‘SERVER_ADDR’] environment variable. This is the IP address of the server, under which the current script is executing. It should be defined by your server dynamically. Please contact your hosting provider about this message.

[NOTICE] WordPressR Memory LimitAUTO-FIX!dismiss?
Although NOT required, s2MemberR recommends that you raise your WordPressR memory limit (please set: WP_MEMORY_LIMIT in /wp-config.php), to at least 64M (i.e. 64 megabytes). Your current memory limit allows only: 40M

Both have been resolved.
I disabled Object and Database caching
I ran the test again and still no EOT being set for renewing clients.
If the EOT is being set properly for the initial purchase I would think it would not be blocked for the renewal purchase by a theme conflict or plugin conflict?
Have you seen this before?
I will call PayPal to see if they can fix this on their end.
I assumed this would be a easy fix and that I missed a setting some where.

Posted: Saturday Jun 8th, 2013 at 9:01 pm #51686

The issue is now resolved!
Instant Payment Notification (IPN) was not enabled
Thank you for your time and Great Plug-in.

Posted: Sunday Jun 9th, 2013 at 4:45 am #51696

Excellent! Thanks for the update. I’m glad you got it working. :)

Viewing 11 replies - 1 through 11 (of 11 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.