Iono integration
A Complete Solution for billing & invoicing, customer management, helpdesk, knowledge base, web hosting & domains, software licensing, digital goods delivery and e-mail marketing. This integration method was tested for Iono v2.6.
Edit template
Open file: ‘templates/iono/order/step-by-step/step-5.tpl.php‘
Integration
Find line “<? php switch($this->result): ?>” and add following code before this line:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('Account_ID');var sale = PostAffTracker.createSale();
sale.setTotalCost('<?php echo $this->initial_total; ?>');
sale.setOrderID('<?php echo $this->invoice_id; ?>');
PostAffTracker.register();
</script>
This is all that is required. Now whenever there’s sale, the saletracking script sale.php is called, and it will generate commission forthe affiliate.