Partner
An ecommerce solution for the Mambo content management system.
Integration with Mambo-ChargePlus is made by placing sale tracking script into the confirmation page.
Find a file
Find and open file: /components/com_mambocharge_plus/mambocharge_plus_thankyou.php.
Integration
Put the following code into the very bottom of this file:
<?php
$aff_subtotal = $_POST['amount3'];
$aff_orderid = $_POST['invoice'];
?><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 $aff_subtotal ?>');
sale.setOrderID('<?php echo $aff_orderid ?>');
PostAffTracker.register();
</script>
Finished
It is now integrated. Every time customer enters the order confirmationpage the tracking code is called and it will register a sale forreferring affiliate.