–Hidden comment

Use attributes in format region_from and region_to= to change the languages showing in language switcher.
Available regions are:
europe_from europe_to
asia_from asia_to
mideast_from mideast_to
america_from america_to

europe_from=0 europe_to=22 will put all languages (ordered in language switcher settings) from 1 to 21 to Europe region:
asia_from=22 asia_to=25 will put all languages from 23 to 24 (so only 2) into Asia region.

Bambora (Beanstream)

A flexible, secure, and bank neutral online & mobile credit card payment processing solution.

This is integration method with Beanstream – payment gateway, merchant account provider and online credit card processing service.

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:

<input type="hidden" name="ref1" value="" id="pap_dx8vc2s5" />

<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">

Save your changes.

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:

include_once('PapApi.class.php'); // ------ correct path to your API file !!!

$saleTracker = new Pap_Api_SaleTracker('https://URL_TO_PostAffiliatePro/scripts/sale.php');


$sale = $saleTracker->createSale();


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.

Back to Integrations Create account for FREE

Our website uses cookies. By continuing we assume your permission to deploy cookies as detailed in our privacy and cookies policy.


Schedule a one-on-one call and discover how Post Affiliate Pro can benefit your business.

We’re available on multiple dates

Schedule a call