PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Non-Recurring payments: last Payment and renewal?

s2Member Plugin. A Membership plugin for WordPress®.

Re: Non-Recurring payments: last Payment and renewal?

Postby Jason Caldwell » June 6th, 2011, 7:06 pm

So sorry. I forgot to update this thread.
You will see it posted here though.
viewtopic.php?f=4&t=6199&p=20120&hilit=eot+extension#p20120
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Non-Recurring payments: last Payment and renewal?

Postby kennymcnett » November 28th, 2011, 8:02 pm

Renewing this old thread.

Since the Fixed-Term Extension will auto-extend, how do I display to a user the date on which their access will expire?

get_user_option("s2member_last_payment_time") would only work on the first payment, but, for example, if a customer renews 6 days before the end of their term using a buy now button, I need to be able to display the new end date, which would be one year and 6 days from that purchase date. The end of term must be stored somewhere for a Buy Now transaction, right? Otherwise, how will s2member know when to demote that account from level4 back to level0?

Let's assume these are annual, buy-now, non-recurring, purchases.

Thank you,

Kenny
User avatar
kennymcnett
Registered User
Registered User
 
Posts: 23
Joined: October 5, 2011
Location: Los Angeles

Re: Non-Recurring payments: last Payment and renewal?

Postby Cristián Lávaque » November 29th, 2011, 4:59 am

Code: Select all
$eot_time get_user_option('s2member_auto_eot_time'); // for current user
$eot_time get_user_option('s2member_auto_eot_time'$user_id); // for specific user 


I hope that helps. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Previous

Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron