---- dataentry ---- type : integration # do not change this line systems : iDevAffiliate # the system(s) that the integration is for, separated with commas if more than one name : iDevAffiliate Tracking # the name of the integration description : Basic iDevAffiliate tracking for FoxyCart tags_tags : affiliate, tracking, tutorial # tags, separated by commas date_dt : # the date in YYYY-MM-DD format version : # if you have a version for your code, enter it here developer_url : # if you'd like a link back to your site, stick it here ---- ====== iDevAffiliate Integration ====== Integrating [[http://www.idevdirect.com/affiliates/idevaffiliate.php?id=11807|iDevAffiliate]] with FoxyCart is simple. Here's a quick rundown: ===== iDevAffiliate v5.0 ===== Pretty much identical to v4.x below. ===== iDevAffiliate v4.0 ===== **IMPORTANT**: You'll need to host [[http://www.idevdirect.com/affiliates/idevaffiliate.php?id=11807|iDevAffiliate]] securely (''https://''). In future versions of FoxyCart we plan on allowing the receipt to be loaded over http, but for now you'll need your own cert on your own server. We recommend [[https://www.godaddy.com/gdshop/ssl/ssl.asp?isc=tebssl01&ci=9039|GoDaddy]], as you can get a cert for a little as $30 USD. - Check [[http://www.idevdirect.com/affiliates/idevaffiliate.php?id=11807&keyword=iDevAffiliate&custom=134|iDevAffiliate's page]] for instructions. - Login to your iDevAffiliate manager and click on the Cart Integration link. * It doesn't matter what you call your variable names. All that matters is that you put in the right placeholders later, so just call your variable names something descriptive like ''order_total'' and ''order_id''. * iDev will generate some code that should look something like this: - Replace the ''XXX'' with [[docs:placeholders|FoxyCart placeholders]] like ''^^order_id^^'' and ''^^order_total^^''. - Create a separate receipt template in your FoxyCart admin. Include your modified code at the bottom of your template.