Hello if user is logged into protected content area in folder "protectedfolder/index.php" .. how to get invoice number and subscription ID for this currently logged user ?? can someone help me with php code ? how to get these numbers...thank you.
You can use Am_Lite::getPayments() method. This will return array of user's payments. Then you can get payment's receipt ID and invoice ID from that array.