Platnosci.pl integration
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:
?total=%amountCS%&ord_id=%orderId%
%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']; ?>');
PostAffTracker.register();
</script>
If you used any other parameter, do not forget to get it into the sale tacking code too.
The article discusses various integrations available for improving affiliate software, including eWAY, WordPress, ProStores, and PSiGate. The company, Post Affiliate Pro, offers features, support, and a knowledge base for its users. The article also mentions the company's installation process and the use of cookies on its website. Interested parties can schedule a one-on-one call with Post Affiliate Pro.
Post Affiliate Pro offers various features, including support, knowledge base, member's area, and performance status. The company also provides templates, affiliate marketing academy, and a directory. They offer popular affiliate software for Shopify, WooCommerce, and WordPress, as well as referral software. PSiGate is an online payment gateway that helps businesses accept online payments easily, offering a free trial and integration methods for tracking sales and supporting affiliates. They use a variation of a general solution to track sales and generate commissions for affiliates.