PayU integration
PayU is the main online payments processor in Romania and it offers a secure, fast and simple way to accept online payments for any type of products and services for online shops.
How to integrate PostAffiliatePro with PayU
With the integration method you can track product IDs (per product integration), total cost, order ID, currency and coupons.
Insert the sale tracking code
The only step is to place the sale tracking code to Marketing > After Sale Messages > After Sale Messages.
There is a section Text where you are supposed to place the sale tracking code. If you already have some code/message there, just add the sale tracking code to the end of the section:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
var sale = PostAffTracker.createSale();
sale.setTotalCost(myOrder.totalPrice - myOrder.tax - myOrder.shipping);
sale.setOrderID(myOrder.refNo);
sale.setCurrency(myOrder.currency);
PostAffTracker.register();
</script>
Save your work and you are done.
Per product tracking
If you want to track per product commissions, please use the following code instead the one from the first step.
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
for (i=0; i< myOrder.productsInOrder.length; i++){
var sale = PostAffTracker.createSale();
sale.setTotalCost(myOrder.productsInOrder[i].quantity * myOrder.productsInOrder[i].price);
sale.setOrderID(myOrder.refNo + '(' + (i + 1) + ')');
sale.setProductID(myOrder.productsInOrder[i].id);
sale.setCurrency(myOrder.currency);
PostAffTracker.register();
}
</script>
In case you want to track also coupon codes, add this line to your sale tracking code (e.g. under the line with setCurrency):
sale.setCoupon(myOrder.productsInOrder[i].coupon);
Do not forget to integrate your site with the click tracking code to make it working.
Notice: Make sure your Post Affiliate Pro is installed on a server with an SSL support (https). PayU requires all scripts to be called in a secure way, so your Post Affiliate Pro has to be behind an SSL.

What is PayU?
PayU is a global online payment service provider that facilitates seamless transactions for businesses and consumers, especially in emerging markets. By offering services such as credit card processing, bank transfers, and support for local payment methods, PayU integrates multiple payment gateways into a single, user-friendly platform. This makes it an ideal solution for e-commerce businesses looking to simplify their payment processes and expand their global reach.
Founded in 2002 as part of the Naspers Group, PayU has evolved into a leading payment service provider through strategic expansions and acquisitions. Over the years, it has strengthened its presence in various emerging markets by acquiring local fintech startups and heavily investing in advanced payment technologies. In 2023, PayU strategically repositioned itself by selling part of its global payments business to focus more on key growth markets like India and Southeast Asia, highlighting its commitment to fostering financial inclusion in these regions.
PayU primarily targets online retailers, e-commerce platforms, SMEs, and large multinational corporations seeking to expand into emerging markets. By providing payment solutions tailored to the unique needs of these businesses, PayU ensures that companies can effectively cater to both local and international customers. Its diverse payment methods and secure transaction solutions make it a preferred choice for businesses aiming to offer flexible and secure payment options.
Main Features of PayU
- Multi-Currency and Payment Method Support: PayU facilitates transactions in numerous currencies and offers a wide range of payment options, allowing businesses to transact globally with ease.
- Advanced Fraud Prevention: Implementing robust security measures, including PCI DSS compliance and real-time fraud monitoring, PayU ensures that transactions are secure and customer data is protected.
- Customizable APIs: With customizable APIs, businesses can tailor integrations to suit their operational needs, ensuring seamless functionality within their existing systems.
- Real-Time Analytics: PayU provides comprehensive transaction insights through real-time analytics, enabling businesses to make informed decisions based on up-to-date data.
- Seamless Integration: Compatible with multiple e-commerce platforms, PayU offers easy adoption and integration into current business operations.
PayU’s Pricing Options
PayU employs a transaction-based pricing model, with fees influenced by transaction volume and specific service usage. Pricing can vary by region, and businesses are encouraged to contact PayU directly to receive tailored quotes based on their unique requirements. This flexible pricing approach allows businesses of all sizes to find a cost-effective solution that fits their needs.
Key User Insights on PayU
Pros of Using PayU:
- Global Presence with Local Solutions: PayU combines a robust global infrastructure with specialized local solutions, adept at handling the nuances of different markets.
- Support for Various Payment Methods: Its comprehensive support for diverse payment methods enhances merchant flexibility and customer convenience.
- Strong Security Focus: With a strong emphasis on security and fraud prevention, PayU provides peace of mind for both businesses and customers during transactions.
Cons of Using PayU:
- Complexities in Integration: Some users may experience challenges during system integration, particularly if they lack technical expertise.
- Variable Customer Support: Customer support experiences can vary depending on the region, potentially affecting issue resolution times for some users.
Alternatives to PayU
While PayU offers a comprehensive suite of payment solutions, businesses may also consider the following alternatives:
- Stripe: Known for its extensive customization options and wide global reach.
- PayPal: Offers robust buyer and seller protections and is popular among consumers for its ease of use.
- Adyen: Provides comprehensive multi-channel solutions suitable for large enterprises.
- Square: Ideal for businesses integrating both online and offline sales platforms.
- Braintree: Noted for its robust mobile and web payment solutions.
Discover Post Affiliate Pro's flexible pricing plans tailored to fit your business needs, with options for Pro, Ultimate, and Network packages. Enjoy a free trial with no credit card required, no setup fees, and the freedom to cancel anytime. Benefit from features like unlimited affiliates, advanced reporting, customizable interfaces, and lifetime support. Save up to 20% with annual billing and take advantage of more than 220 integrations. Perfect for businesses seeking to enhance their affiliate marketing efforts. Visit now to find the ideal plan for you!
Discover the essentials of clicks (referrals) tracking with our comprehensive guide. Learn about the importance of click tracking code, explore various code examples including simple, asynchronous, and PHP versions, and dive into advanced tracking options. Optimize your affiliate marketing strategy with expert tips on setting account IDs, managing cookies, and customizing tracking parameters. Visit now to enhance your click tracking implementation!
Discover the power of the Lifetime Commissions plugin! Ensure lifetime referral tracking with unique customer identifiers, allowing affiliates to earn commissions on future sales without repeated clicks. Easily manage customer-affiliate relations and configure settings to suit your needs. Boost your affiliate program's efficiency with customizable options and ensure commissions for affiliates, even across different devices or channels. Explore seamless integration with eCommerce systems and enhance your marketing strategy today!