This plugin integrates Authorize.net ARB using Silent order post callback. It is suitable if you are using recurring payments with Authorize.net
Activate and configure plugin
First you have to activate the Authorize.net plugin in Plugins section of your Post Affiliate Pro. When activated, click Configure button in plugin item. Here you can set the name of custom item used to transfer tracking information to Post Affiliate Pro. This name has to be set to "description" by default. If you are using a field with this name just specify a separator (two pipes are usually used).
Configure Authorize.net Silent order post
Login to your Authorize.net account. Now go Menu> Account> Settings> Silent post URL. Here you have to specify a path to the plugin in your installation of Post Affiliate Pro. Please use this URL:
When you're done, click the Submit button.
Recurring payments are identified by invoice id from Authorize.net. For every new payment, its invoice id is stored to transaction data 5 filed. For every next recurring payment invoice id is also stored to data 4 for identification purposes.
Setting up the XML
Recurring payments are usually defined by an XML file which is sent to Authorize.Net. If you want to set some custom data into the description field, you have to do some special steps. First of all, the XML is built in the background - on the server side. To get the needed visitorID value, you have to set a special code to the form which is displayed to the customer before the XML is set. Use this code in the form:
The script will automatically load the needed value to the _'papcustom' hidden field. This way you can use it when the XML is built.
As mentioned before, if you already use the description field for something else, simply append the value of visitorID using the separator set in the plugin.
Handling the response
The last step is to handle the response. If you already use your INS for something, it might be useful for you to remove the custom value from description.
In case of tracking, the plugin will automatically extract the value from the description field based on the plugin settings.
Integration is now complete. Do not forget to integrate your site with the click tracking code which is necessary for correct work of sale tracking.