SoEasyPay is a payment gateway, where the whole payment happens on themerchants webserver. When the merchant has all the details of thepayment including card number, cvv etc, he queries our gateway serverthat gives back as answer whether the payment has been accepted by thebank, and the merchant tells the customer accordingly afterwards.
Integration
All that is needed, is to display following code after the payment has been authorized by the SoEasyPay server:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">PostAffTracker.setAccountId('Account_ID');
var sale = PostAffTracker.createSale();
sale.setTotalCost('XXXXXXXXXXX');
sale.setOrderID('XXXXXXXXXXX');
sale.setProductID('XXXXXXXXXXX');
PostAffTracker.register();
</script>
where the values XXXXXX should be replaced with correct values, whichhave been already gathered before request was sent to SoEasyPay server:
- TotalCost (mandatory for % commissions) – price of the product
- OrderID (optional) – can be your unique generated order ID to cross-check the sale.
- ProductID (optional) – the ID of the product bought.
All fields are optional, but without TotalCost system will be not able to compute percentage commissions.
Also, ProductID is required if you plan to use Force choosing commission by product ID.
This is all that is required. Now whenever there’s sale, the saletracking script sale.php is called, and it will generate commission forthe affiliate.
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.
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.
General solution – Asynchronous
Would you like to improve your affiliate software even more? Check out the General solution - Asynchronous integration for Post Affiliate Pro.