To integrate with 2Checkout using , you need 2Checkout plugin for PAP4.


Plugin configuration in PAP

First you have to activate "2Checkout" plugin in PAP (You can find plugins in Start -> Plugins).


HTML Sale form

You have to pass PAPvisitorId from your cookies to 2checkout. To do this, check if your form uses hidden field named merchant_order_id:

<input type='hidden' name='merchant_order_id' id='merchant_order_id' />

If it does, then add the following code into the form, otherwise add also the above line:

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


2Checkout settings in vendor area

After logging into 2Checkout, navigate to NOTIFICATIONS and set 'Order Created' notification URL to:


Tip: If you want to use recurring commissions you have to activate 'Recurring commissions' feature.

Don't forget to integrate your site with the click tracking code to make it all working. Make sure the integration code uses the same protocol as your site (if your site uses HTTPS the integration code has to use it as well).


The notifications are not sent out in the test mode. If you want to test your integration, you will have to do a live 'test'. Create a $1 product and test it.