
General Solution
Learn how to integrate General Solution Software with Post Affiliate Pro using JavaScript or hidden image tracking for advanced commission tracking across vario...
Integrate Freeway, an open-source e-commerce and EDI solution, with Post Affiliate Pro to enable seamless affiliate tracking, automated data exchange, and enhanced business efficiency for small to medium-sized retail businesses.
A free online store software that makes selling your services easy and quick.
Integration with Freeway is made by placing sale tracking script into the confirmation page. To obtain the values of OrderID and TotalSale, snippet connects to Freeway database and retrieves the values from there.
Find and open file ‘/templates/content/checkout_success.tpl.php ‘.
Inside the file find this line:
<?php if(AFFILIATE_COMMISSION_JUNCTION=='true'){
Insert the following code just above that line:
<?php
//--------------------------------------------------------------------------
// STAT - PAP Integration code
//--------------------------------------------------------------------------
// Get order id
$sql = "select orders_id from ".TABLE_ORDERS.
" where customers_id='".(int)$customer_id.
"' order by date_purchased desc limit 1";
$pap_orders_query = tep_db_query($sql);
$pap_orders = tep_db_fetch_array($pap_orders_query);
$pap_order_id = $pap_orders['orders_id'];
// Get total amount of order
$sql = "select value from ".TABLE_ORDERS_TOTAL.
" where orders_id='".(int)$pap_order_id.
"' and class='ot_subtotal'";
$pap_orders_total_query = tep_db_query($sql);
$pap_orders_total = tep_db_fetch_array($pap_orders_total_query);
$pap_total_value = $pap_orders_total['value'];
// Draw invisible image to register sale
if($pap_total_value != "" && $pap_order_id != "")
{
print '<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('$pap_total_value');
sale.setOrderID('$pap_order_id');
PostAffTracker.register();
</script>";
}
//--------------------------------------------------------------------------
// END - PAP Integration code
//--------------------------------------------------------------------------
?>
It is now integrated. Every time customer enters the order confirmation page the tracking code is called and it will register a sale for referring affiliate.
Freeway is an electronic data interchange (EDI) solution designed to simplify and automate data exchange for small to medium-sized retail businesses. Developed by OpenText, Freeway enables seamless digital connectivity with trading partners, enhancing transaction visibility, automating operations and shipping processes, and streamlining the onboarding of new partners. By digitizing business processes, Freeway helps businesses improve efficiency and reduce reliance on outdated communication methods.
Originally launched in the UK over two decades ago, Freeway has established itself as a reliable EDI solution for many businesses. With the recent EP6 release, Freeway has expanded into the US market, bringing enhanced features to meet the evolving needs of modern retail operations. The solution has been continually developed to help small and medium-sized businesses manage digital business documents more effectively, particularly focusing on streamlining packing and shipping workflows.
Freeway is tailored for small to medium-sized retail businesses seeking a cost-effective and manageable way to comply with the digital mandates of larger trading partners. It is ideal for businesses that want to:
Pricing for Freeway is customized based on specific business needs and requirements. OpenText does not publicly disclose pricing details, suggesting a tailored approach to ensure each customer receives a solution that aligns with their operational demands. Interested businesses should contact OpenText directly to obtain a personalized quote.
Users of Freeway have reported positive experiences, particularly highlighting:
Some users have noted variability in customization options, indicating room for improvement in tailoring the solution to unique business processes.
To gain more insight into Freeway, consider watching the following YouTube reviews:
For businesses exploring other EDI solutions, the following alternatives are available:
Freeway is an electronic data interchange (EDI) solution developed by OpenText, designed to simplify and automate data exchange for small to medium-sized retail businesses. It enables seamless digital connectivity with trading partners, automates operations, and streamlines onboarding.
Integration is done by placing a sale tracking script on the Freeway order confirmation page. The script retrieves OrderID and TotalSale values from the Freeway database, enabling Post Affiliate Pro to track affiliate sales automatically.
Benefits include automated affiliate tracking, improved transaction visibility, streamlined business processes, reduced manual errors, and enhanced relationships with trading partners.
Freeway is tailored for small to medium-sized retail businesses looking for a cost-effective and manageable way to comply with digital mandates of larger trading partners and digitize their business processes.
Yes, alternatives include Data Interchange, NetEDI, IBM EDI Solutions, TrueCommerce, and Seeburger, all of which provide various EDI and integration solutions for businesses.
Lucia is a talented content editor who ensures the seamless publication of content across multiple platforms.
Integrate Freeway with Post Affiliate Pro for seamless affiliate tracking and improved business automation. Try Post Affiliate Pro for free and streamline your e-commerce operations.
Learn how to integrate General Solution Software with Post Affiliate Pro using JavaScript or hidden image tracking for advanced commission tracking across vario...
Would you like to improve your affiliate software even more? Check out the General solution - Asynchronous integration for Post Affiliate Pro.
Would you like to improve your affiliate software even more? Check out the Presta Shop integration for Post Affiliate Pro.