E-junkie integrates using IPN callback.
Note! This is description ofintegration with E-junkie if you use E-junkie buttons on your web pages.

Also,make sure you don't already use E-junkie IPN for another purpose, such assome kind of digital delivery or membership registration.

1.

Activate Ejunkie integration plugin in PAP

Activate Ejunkie integration plugin in PAP

  1. Go to PAP Merchant Panel
    2. Go to Plugins -> Ejunkie IPN handling and click Activate

2.

Configure url notification in Ejunkie Admin panel

Setup url notification in Ejunkie Admin panel

  1. Go to Seller Admin -> Account Preferences
    2. Set up http://URL_TO_PostAffiliatePro/plugins/Ejunkie/ejunkie.php as Common Notification URL.

3.

Add integration code to E-junkie button codes

Add this code to EVERY E-junkie sale's page where your sales links are.

<script type="text/javascript">
document.write(unescape("%3Cscript id=%27pap_x2s6df8d%27 src=%27" + (("https:" == document.location.protocol) ? "https://" : "http://") + "URL_TO_PostAffiliatePro/scripts/trackjs.js%27 type=%27text/javascript%27%3E%3C/script%3E")); 
 </script> 

<script type="text/javascript">
PostAffTracker.writeCookieToLink('p87t5d65s65', 'custom');
</script>

This will add cookie value to every link with id="p87t5d65s65" to property named custom.

NOTE:

In case you are using buttons instead of links, please use this line:

PostAffTracker.<wbr style="color: rgb(34, 34, 34); font-family: monospace; white-space: pre-wrap; background-color: rgb(255, 255, 255); ">writeVisitorIdToAttribute('<wbr style="color: rgb(34, 34, 34); font-family: monospace; white-space: pre-wrap; background-color: rgb(255, 255, 255); ">pap87t5d65s65', 'action','custom');


instead of this:

PostAffTracker.writeCookieToLink('p87t5d65s65', 'custom');


Links start with:

<a href="...


Buttons start with:

<form action="...

4.

Change your button (link) codes by adding id attribute to it. If the code looks e.g. like this:

<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=entrybasic&cl=103436&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ej_add_to_cart.gif" border="0" alt="Add to Cart"/></a>

Add ID attribute to it (value p87t5d65s65) so the code looks like this:

<a id="p87t5d65s65" href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=entrybasic&cl=103436&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ej_add_to_cart.gif" border="0" alt="Add to Cart"/></a>