Home Integration Methods Beanstream

Beanstream

This is integration method with Beanstream - payment gateway, merchant account provider and online credit card processing service.
1
Integrate your payment form
The first step is to integrate your payment form - the integration works thanks to custom fields (ref1 to ref5). In this example, we are working with ref1 field, so if you are already using it for something else, just use any other custom field available.

First thing to do is to add a hidden field for the custom variable and then to add the tracking script which reads referrer affiliate value. This is the code, you can copy it and paste it to your payment form directly:
Save your changes.
2
Track the response
Your payment form should have a approvedPage param with a URL defined. It is the place where responses are sent to. That is also the place where we will track commissions.

The example below it a PHP code, so if your approvedPage script is ASP or something else, try to adjust it:
Please correct the include path to connect to your API file, which is in each Post Affiliate Pro installation. You can find it in api/ directory.

In case you are tracking sales on a different server than the one where your Post Affiliate Pro is installed at, then you have to copy the API file and paste it to the server with the tracking script above...

When you are done, save your changes and you are done... The sale tracking integration has just been completed.
Do not forget to integrate your website with the click tracking code to make it all working correctly.