how to generate affiliate commissions