–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.


A payment services provider.

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

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 platnosci.pl 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 platnosci.pl.

You can use these additional variables if you need:

  • %transId% – identifier of a new transaction created in Platnosci.pl 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 and ):

<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('<?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.

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