Netbilling integration
A popular payment processing company providing credit card, and ACH processing as well as 24/7/365 call center services.
Activate Netbilling in PAP
- Go to Plugins
- Find Netbilling integration plugin and click Activate
Configure Netbilling Account
- Login into your Netbilling Account
- Go to Netbilling Menu > Setup > Configuration and set Postback CGI URL to https://URL_TO_PostAffiliatePro/plugins/Netbilling/netbilling.php
This option will apply as default setting for all buttons. If you generate buttons for more sites (other than your primary site) be sure that your Postback CGI URL config param is set for every of these sites (specific site settings: Netbilling Menu > Setup > Site tags > your_site > Config).
Generate button code
- Make sure that forms you are using has set Request User Data Prefix to Ecom_UserData_ (form config: Menu > Form editor > your_form)
- Go to Menu >Button editor.
- Click Generate button
Add code to every Netbilling button form
<input type="hidden" name="Ecom_UserData_Pap" value="" id="pap_9ns6b41z" />
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">
</script>
<script type="text/javascript">
PostAffTracker.writeCookieToCustomField('pap_9ns6b41z');
</script>
Example
<!-- begin of netbilling form -->
<form method="post" action="https://secure.netbilling.com/gw/native/interactive2.2" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="Ecom_Ezic_AccountAndSitetag" value="104901072025:GM_ESCAPE" />
<input type="hidden" name="Ecom_Ezic_PaymentFormId" value="110524088704" />
<input type="hidden" name="Ecom_Cost_Total" value="150.00" />
<input type="hidden" name="Ecom_Receipt_Description" value="123456" />
<input type="hidden" name="Ecom_Ezic_Payment_AuthorizationType" value="SALE" />
<input type="hidden" name="Ecom_Ezic_Fulfillment_ReturnMethod" value="GET" />
<input type="hidden" name="Ecom_Ezic_Security_HashFields" value="Ecom_Cost_Total Ecom_Receipt_Description Ecom_Ezic_Payment_AuthorizationType Ecom_Ezic_PaymentFormId" />
<input type="hidden" name="Ecom_Ezic_Security_HashValue_MD5" value="41b8004714dbffc790100824eeac8273" />
...
<input type="hidden" name="Ecom_UserData_Pap" value="" id="pap_9ns6b41z" />
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">
</script>
<script type="text/javascript">
PostAffTracker.writeCookieToCustomField('pap_9ns6b41z');
</script>
...
<input type="submit" name=".submit" value="Buy now!" />
</form>
<!-- end of netbilling form -->