AlertPay (Payza)

An online payment platform that lets you send and receive money, shop, make online payments or get paid from almost anywhere in the world.

AlertPay (Payza) integrates using IPN callback.
Note! This is description ofintegration with Payza if you use Payza buttons on your web pages. If you use Payza as a processing system in your shopping cart, use themethod for integrating with shopping cart, not these steps.
Also, make sure you don't already use Payza IPN for another purpose, e.g. some digital delivery or membership registration.

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

1.

Activate IPN in AlertPay

Activate IPN in Payza

Remember the security code and use following Alert URL:
https://URL_TO_PostAffiliatePro/plugins/AlertPay/alertpay.php

2.

Activate AlertPay plugin in PAP

  1. Go to Plugins
  2. Find AlertPay integration plugin and click Activate
  3. After activation, find this plugin again and click Configure
  4. Select number of custom field that can be used for PAP (default is 1)
  5. Enter Security code you have remembered when activating IPN in AlertPay

3.

Add code to every button

PAP can work with HTML code buttons only.

Add this code to every alertpay button. If you have choosed another custom field than 1, replace apc_1 with apc_YOUR_NUMBER in all places.

<input type="hidden" name="apc_1" value="" id="pap_dx8vc2s5">
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">
</script>

Example of modified button:

<form method="post" action="https://www.alertpay.com/PayProcess.aspx" >
<input type="hidden" name="ap_purchasetype" value="item"/>
<input type="hidden" name="ap_merchant" value="163899@gmail.com"/>
<input type="hidden" name="ap_itemname" value="gdfgdf"/>
<input type="hidden" name="ap_currency" value="USD"/>
<input type="hidden" name="ap_returnurl" value=""/>
<input type="hidden" name="ap_itemcode" value="dfg"/>
<input type="hidden" name="ap_quantity" value="1"/>
<input type="hidden" name="ap_description" value="dfg"/>
<input type="hidden" name="ap_amount" value="456"/>
<input type="image" name="ap_image" src="https://www.alertpay.com//PayNow/B410C80C841042BE90080C349815932Dg.gif"/>
<input type="hidden" name="apc_1" value="" id="pap_dx8vc2s5">
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">
</script>
</form>


This is all that is required. Now whenever there's sale, Payza willuse its IPN function to call our sale tracking script, and system willgenerate commission for the affiliate.