Okay lets output some debug to see if any value is missing. Please replace the bit of code that you put in “paypal.php” earlier with the follwoing bit:
$this->debug_log(‘Preparing JROX affiliate commission.’,true);
$sale_amt = $this->ipn_data;
$trans_id = $this->ipn_data;
$jrox_cookie = $customvariables;
$this->debug_log(‘Trans ID: ‘.$trans_id.’ Sale amount: ‘.$sale_amt.’ Cookie value: ‘.$jrox_cookie,true);
$JAMIntegrate = file_get_contents(“http://www.myactualdomainname.com/affiliates/sale.php?amount=”.$sale_amt.”&trans_id=”.$trans_id.”&custom_mid=”.$jrox_cookie);
$this->debug_log(‘Awarding JROX affiliate commission :’.$JAMIntegrate,true);
then save and upload the file to your server and do a test transaction (make sure you have the “Enabel Debug” checkbox checked from the settings menu of the plugin). When you process a transaction with the debug option enabled it will log everything int he “ipn_handle_debug.log” file. Please post the contet of that file or email it to me.
Also can you please post a link to the page where you have the payment button on your site?