A business and marketing automation software aka integrated small business CRM business automation made easy.

To integrate with PremiumWebCart, you need PremiumWebCart plugin for PAP.

This plugin does NOT support PremiumWebCart post upsells. If you want to track upsells as well, you have to check the other integration "PremiumWebCart IPN integration".


Plugin configuration in PAP4

Activate plugin in Start -> Plugins

In plugin configuration set Merchant ID and API Signature


Thankyou page

Login to

  1. Set Thank You Page URL

    • Navigate to Cart Settings -> Basic Options -> Default Checkout URLs
    • Set URL of yout Thank You Page script

  2. Obtain Thank You Page script:

    • Navigate to Cart Settings -> Advanced Integration
    • Copy Thank You Page script and paste it to your thank you page

  3. Thank you page have to contain this code:

	<script type='text/javascript' src=''></script>
	<script type="text/javascript" id="pap_x2s6df8d" src=""></script>
	<script id="pap_x2s6df8d" src="http://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
	<input type="hidden" id="customHiddenInput" />

	<script type="text/javascript">

		var trackingScriptElement = document.createElement('script');
		trackingScriptElement.type = 'text/javascript';

		trackingScriptElement.src =  (("https:" == document.location.protocol) ? "https://" : "http://") + "URL_TO_PostAffiliatePro/plugins/PremiumWebCart/premiumwebcart.php?visitorId=" + document.getElementById('customHiddenInput').value + "&order_unique_id=" + order_unique_id;
		 scriptElement = document.getElementById('pap_x2s6df8d');
		 scriptElement.parentNode.insertBefore(trackingScriptElement, scriptElement.nextSibling);

	<h1>Thank you page.</h1>

If you wish to track discounted price or any other variables, then in
your PremiumWebcart admin panel navigate to Cart Settings> Advanced
Integration to see all the different variables which you can pass to your
thank you page.