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:
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:
<?php include_once('PapApi.class.php'); // ------ correct path to your API file !!! $saleTracker = new Pap_Api_SaleTracker('https://URL_TO_PostAffiliatePro/scripts/sale.php'); $saleTracker->setAccountId('Account_ID'); $sale = $saleTracker->createSale(); $sale->setTotalCost($_POST['trnAmount']); $sale->setOrderID($_POST['trnOrderNumber']); $saleTracker->register(); ?>
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.
The article discusses the integration of buttons and the payment response URL with RBS WorldPay in Post Affiliate Pro 4. The admin panel allows for easy set-up of the Payment Response URL to send transaction details, and steps are provided for when the URL is already in use. Additionally, the article provides code for proper tracking of affiliates through integrated buttons. Various related resources are listed for further reference.
Would you like to improve your affiliate software even more? Check out the SoEasyPay integration for Post Affiliate Pro.
PostAffiliate Pro offers a shopping cart integration solution with Gambio online shops, allowing tracking of subtotal, order ID and currency, and supporting Lifetime Commissions. To integrate, edit the controller file and add sale tracking code, then edit the template and add tracking code to the end. Don't forget to integrate the shopping cart with click tracking code as well. A free account can be created.
The article discusses the integration with PaySimple, a provider of small business merchant accounts and payment processing services. It explains the steps required to integrate PaySimple into an existing payment form, including creating a return page URL with tracking code and integrating click tracking. The article also lists related resources for integrating other payment services with Post Affiliate Pro.