A payment services provider.

This is integration of payment gateway Platnosci ( by inserting special code into thank you page defined in admin panel at


Setting up

Before integration, note that you need to have some PHP "thank you page" at the same server as where you have your shop buttons.
First, login to admin panel at then navigate to My shops> "Shop name"> List of payment points> "Point name" - and setup UrlPositive to your web "thank you page"" and append following code to the link


%amountCS% is variable for total cost and %orderId% is for order ID generated by

You can use these additional variables if you need:
%transId% - identifier of a new transaction created in application
%posId% - pos_id values (can be used as category ID for registering product ID)
%payType% - pay_type value
%sessionId% - session_id values
%amountPS% - amount values - comma as a separator
%error% - error number, it is only used for UrlNegative


Modifying the Thank you page

Now, each success sale will be redirected to this thank you page. This is the code for your thank you page to process proper sale commission (insert it between HTML tags <body> and </body>):

<script id="pap_x2s6df8d" src="http://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('Account_ID');var sale = PostAffTracker.createSale();;
sale.setTotalCost('<?php echo $_GET['total']; ?>');
sale.setOrderID('<?php echo $_GET['ord_id']; ?>');

If you used any other parameter, do not forget to get it into the sale tacking code too.