aMember
 
aMember uses a variation of General solution, it tracks sales by invoking hidden script from "thank you" page.
 
LEAD Code Integration 1 Integration
Put the following code to the aMember thanks.html page
LEAD Code Integration 2 Integration of recurring sales with PayPal
If you want to integrate amember with PayPal recurring payments then follow these instructions. You will have to find the paypal_r.inc.php on your server /amember/plugins/payment/paypal_r

Insert next code right after this line: function paypal_validate_ipn($vars){
 
Please take care to replace <?=$orderId?> and <?=$orderAmount?> in the sale code with your server side script notations for the orderid and total amount variable used in your website.
 
 
This is all that is required. Now whenever there's sale, aMember will call our sale tracking script, and system will generate commission for the affiliate.