Well the docs that I gave you were from the website, here are the ones that it gives me when i login into my admin section on the affiliate website. It gives me the code I gave if i have no experience in PHP

amount B (required) - The amount of the sale that will be used when computing the affiliate commission. This should be the total of the sale and not the total the affiliate will receive. When you setup an affiliate program you are going to enter a flat rate or a percentage that the affiliate will receive from this sale.
transaction C (optional) - The purchase's transaction ID, for record keeping in the affiliate program. This is optional and only use for tracking and nothing else within the program.
The code to insert into the thank you page if you do not have php experience to dynamically generate the affiliate id:
<img src="http://pokernetonline.com/affiliate/sale.php?&amount=100.00&transaction=C" style="visibility:hidden">