Working with your response--
Thank you, sir.
So, please check me here-- as I say, total noob at PHP:
If I include a line like this in the cart_readonly.php that takes what you gave me and rolls it into 2 unique variables (I used my initials to make them so, as I don't know the variable set):
<?php
$EPCtrans_id=$_SESSION['OrderID'];
$EPCamount=$WA_Store_Cart->TotalColumn("TotalPrice")-$WA_Store_Cart->GetDiscounts();
?>
Then pop $EPCtrans_id and $EPCamount into my JAM code-making thing to get this and put it after the above line:
$JAMIntegrate = file_get_contents("http://mydomain.com/affiliate_directory/sale.php?amount=".$EPCamount."&trans_id=".$EPCtrans_id."&custom_mid=".$_COOKIE['jrox']."");
I should be good to go (assuming that JAM works)? That's question #1.
Question #2: Could I have put the 2 things you gave me *directly* into the JAM code-making thing?
Question #3 (the really important one): Please confirm: nothing in the store could run the cart_readonly.php page at some later date and give the commission again? What if they hit "refresh"? (Please, just answer for the WebAssist side of things, as I doubt you know JAM.)
Thanks very much for running this by the Mega-Mind!