I've read (and implemented) the info. on aMember's session variables. But this doesn't help me that much for what I need to do: - My members renew their subscription - now, they have two subscriptions: the current ACTIVE one, and the future one, which hasn't started yet - How do I let them know, on the front end of my web site, that they NOW don't expire until next year? The session variable only lists the expiration date of the CURRENT subscription.
aMember store only active products in session, so you can't access this info. But you can query database from php script: <? include "/amember/config.inc.php" $payments = $db->get_user_payments($_SESSION[_amember_id], 1); ?> this will return all complated payments that user have.