Page 1 of 1
Affiliate Integration- passing OrderID not OrderNumber
Posted: Sun Oct 25, 2009 12:54 pm
by Brewhaus
We just set up AffiliateWiz with our AC7 site, and everything seems to be working well based on our tests, but AC is passing the Order ID to the affiliate software, not the Order Number. I double-checked, and we definately have set it to pass the order number in the Third Party Tracking link (
https://www.hotsaucedepot.com/affiliate ... erSubTotal]).
Does anyone know how to fix this?
Re: Affiliate Integration- passing OrderID not OrderNumber
Posted: Mon Oct 26, 2009 7:57 am
by mazhar
Try following quick workaround edit your Website\Checkout\AffiliateTracker.ascx file and locate following line of code
Code: Select all
url = url.Replace("[OrderNumber]", _Order.OrderId.ToString());
and then update it as below
Code: Select all
url = url.Replace("[OrderNumber]", _Order.OrderNumber.ToString());
Save it and then test it again.
Re: Affiliate Integration- passing OrderID not OrderNumber
Posted: Mon Oct 26, 2009 8:41 am
by Brewhaus
Thank you, Mazhar. That change makes complete sense- we will test it out.