how to give product code to other domains and when they click on that product

how to give product code to other domains and when they click on that product what will happen ?
i have mine site and i have to show a affiliate product on site www.showflipper.com

=> and mine affiliate script is installed in sub domain i.e affiliate.showflipper.com

user name: ganesh
password: ganesh

i have to track mine product selling and when some one buy product from my site ads, so how i’m going give him a commision

please provide me step by step solution where should i put tracking code in domain mine first main domain and mine affiliate tracking php script in sub domain.

and what will happen when click on bellow product buy now button who will receive a payment ?

http://affiliate.showflipper.com/demo_landing?ref=3

admin user or whom?

please provide us your technical team skype id or any contact number support