Home Integration Methods Netbilling


Activate Netbilling in PAP
1. Go to Plugins
2. Find Netbilling integration plugin and click Activate
Configure Netbilling Account
1. Login into your Netbilling Account
2. Go to Netbilling Menu -> Setup -> Configuration and set Postback CGI URL to http://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
1. Make sure that forms you are using has set Request User Data Prefix to Ecom_UserData_ (form config: Menu -> Form editor -> your_form)
2. Go to Menu->Button editor.
3. Click Generate button
Add code to every Netbilling button form

<!-- 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="http://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">
   <script type="text/javascript">
<input type="submit" name=".submit" value="Buy now!" />
<!-- end of netbilling form -->