This integration method integrates your ProStore shopping cart with Post Affiliate Pro or Post Affiliate Pro.
Add sale tracking code
In your store administration navigate to Store Design > Page Template Manager and find Checkout Order Confirmation template file. Edit it and insert this code to the bottom of the file:
<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('<ss:value source="$invoice.subTotal"/>');
sale.setOrderID('<ss:value source="$invoice.invoiceNumber"/>');
PostAffTracker.register();
</script>
Remember you have to use an SSL for your PAP or PAN installation as this shopping cart is behind the SSL. Otherwise the tracking will not work.
For advanced settings of the sale tracking you can find variables info in your admin panel.
PostAffiliate Pro offers a shopping cart integration solution with Gambio online shops, allowing tracking of subtotal, order ID and currency, and supporting Lifetime Commissions. To integrate, edit the controller file and add sale tracking code, then edit the template and add tracking code to the end. Don't forget to integrate the shopping cart with click tracking code as well. A free account can be created.