SolidTrustPay integrates using SolidTrustPay IPN notifications.

To integrate with SolidTrustPay, you need SolidTrustPay plugin which is distributed with PAP by default.

1.

Activate the plugin

Right after you activate SolidTrustPay plugin, you need to setup it.Login to your merchant panel. Go to menu Start->Plugins. Now click Configure button in SolidTrustPay plugin item. Here you must setup number of custom item. This represents number of item (1 to 10) which will be carrying visitor information for PAP. Next thing, you must set, is your secondary password from your SolidTrustPay merchant account (you enter this when you register new SolidTrustPay account). Leave Custom value separator empty. Now click Save to save your settings.

2.

Update your code

You must now update all your SolidTrustPay button codes. Here is an example of original code generated by SolidTrustPay:

<FORM action="https://solidtrustpay.com/handle.php" method="post">
    <input type=hidden name="merchantAccount" value="merchnat_account_login_name">
    <input type=hidden name="amount" value="15">
    <input type=hidden name="item_id" value="testCupp">
    <input type=hidden name="currency" value="USD" />
    <input type=image name="cartImage" src="https://solidtrustpay.com/htdocs/images/buttons/pay2.gif">
</form>

Now you must update all button codes like this:

<FORM action="https://solidtrustpay.com/handle.php" method="post">
    <input type=hidden name="testmode" value="on" />
    <input type=hidden name="merchantAccount" value="merchnat_account_login_name">
    <input type=hidden name="amount" value="15">
    <input type=hidden name="item_id" value="testCupp">
    <input type=hidden name="currency" value="USD" />

    <input type=hidden name="notify_url" value="http://URL_TO_PostAffiliatePro/plugins/SolidTrustPay/solidtrustpay.php">
    <input type=hidden name="cancel_url" value="">
    <input type=hidden name="user1" value="" id="pap_dx8vc2s5">

    <input type=image name="cartImage" src="https://solidtrustpay.com/htdocs/images/buttons/pay2.gif">
</form>

Note: number 1 in item named user1 is number, that you entered in step one as Number of custom item.

3.

Add tracking code

Now you must add to every page that contains some SolidTrustPay buttons this tracking code:

<script id="pap_x2s6df8d" src="http://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
  PostAffTracker.setAccountId('Account_ID');
   PostAffTracker.notifySale();
</script>


If you use MD5 security hash, then make sure the 'secondary password' that you use in it is also set up in the plugin configuration.