Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore F.A.Q/Instructions › iDev Affiliate and WP eStore Integration › Reply To: iDev Affiliate and WP eStore Integration
Ok,
I got it to work with the Generic Tracking Pixel Method, but with Amin007’s code above.
Oh yes, and by changing mysite.com in the above Prepared URL with my actual site name (blush).
SO now I need to get fancy and pass on a commission % based on the sales amount in the prepared URL. I used this code but that did not work. What syntax should I use?
This was not working for me:
$prepared_url = “http://www.xxx.com/idevaffiliate/sale.php?profile=72198&idev_saleamt=”.$sale_amount.”&idev_ordernum=”.$order_num.”&ip_address=”.$ip.”&idev_option_1=”.$customer_name”&idev_commission=0.25 * “.$sale_amount.”;
Thanks,
William