Page 2 of 2

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

PostPosted: June 6th, 2011, 7:06 pm
by Jason Caldwell
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

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

PostPosted: November 28th, 2011, 8:02 pm
by kennymcnett
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

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

PostPosted: November 29th, 2011, 4:59 am
by Cristián Lávaque
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. :)