
Integrate 2Checkout INS with affiliate software | Post Affiliate Pro
Would you like to improve your affiliate software even more? Check out the 2Checkout INS integration for Post Affiliate Pro.
J2Store is a powerful Joomla e-commerce extension integrating with Post Affiliate Pro and PayPal, enabling article-to-product conversion. It includes setup steps for offline sales and PayPal, enhancing affiliate marketing with easy tracking and management.
A shopping cart and e-commerce extension that extends articles as products and lets you to turn articles into full fledged products.
Open file:
plugins/j2store/payment_offline/payment_offline.php
and find function _postPayment
and this line within it:
if ($orderpayment->save()) {
Add this code right above the line:
$vars->order_id = $orderpayment->order_id;
$vars->total_cost = $orderpayment->order_subtotal;
Save your work. Now open file:
plugins/j2store/payment_offline/payment_offline/tmpl/postpayment.php
and add this code to the end of the file:
<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 $vars->total_cost; ?>');
sale.setOrderID('<?php echo $vars->order_id; ?>');
sale.setStatus('P');
PostAffTracker.register();
</script>
Save your work. This will create a pending commission for each offline transaction. You will have to approve or decline it manually later – based on the original transaction.
Find file:
plugins/j2store/payment_paypal/payment_paypal/tmpl/prepayment.php
and find the notify_url input field. It looks something like this:
<input type="hidden" name="notify_url" value="<?php echo JRoute::_( $vars->notify_url ); ?>" />
and into that field add:
id='pap_ab78y5t4a'
The updated field is supposed to look like this:
<input id='pap_ab78y5t4a' type="hidden" name="notify_url" value="<?php echo JRoute::_( $vars->notify_url ); ?>" />
Right under that notify_url
input field (so right under that line of code) place this code below:
<!-- Post Affiliate Pro Integration snippet -->
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.writeCookieToCustomField('pap_ab78y5t4a', '', 'pap_custom');
</script>
<!-- /Post Affiliate Pro Integration snippet -->
Open file:
plugins/j2store/payment_paypal/payment_paypal.php
and find function __process()
and this line within it:
$data = $app->input->getArray($_POST);
Now add this code below right above that line:
/* Post Affiliate Pro integration snippet */
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://URL_TO_PostAffiliatePro/plugins/PayPal/paypal.php?pap_custom=".@$_GET['pap_custom']);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
curl_exec($ch);
/* /Post Affiliate Pro integration snippet */
Do not forget to integrate you Joomla with the click tracking code and to activate the PayPal IPN Handling plugin in your installation of Post Affiliate Pro.
J2Store is a native, flexible, and modern eCommerce solution designed specifically for the Joomla Content Management System. It empowers users to utilize Joomla articles as products, simplifying the process of product creation and management within the familiar Joomla environment. With J2Store, setting up an online store becomes a seamless experience, as it integrates eCommerce components directly into Joomla, allowing for easy downloading, installing, and configuring without the need for external platforms.
Over the years, J2Store has established itself as a trusted eCommerce solution within the Joomla community. However, due to increasing development costs and declining revenue, its development has ceased. Despite this, J2Store remains open-source, inviting the community to fork and enhance its capabilities. This open-source nature has led to the creation of J2Commerce, a forked version that continues to evolve through community-driven initiatives, ensuring that the essence of J2Store lives on.
J2Store is tailored for small to medium-sized eCommerce businesses and online store owners who prefer managing their stores within the Joomla framework. By leveraging Joomla’s article management system for product catalogs, J2Store offers an intuitive and accessible platform for users already familiar with Joomla. This integration simplifies store management, making it easier for businesses to maintain their online presence without extensive technical knowledge.
J2Store stands out with a plethora of features designed to enhance the eCommerce experience within Joomla:
J2Store offers flexible pricing models to accommodate different business needs:
These diverse options highlight J2Store’s adaptability in providing pricing solutions that cater to various user requirements.
Understanding user experiences is crucial for evaluating any product. Here’s what users are saying about J2Store:
For a more dynamic understanding of J2Store, consider watching the following YouTube reviews:
These videos provide in-depth looks at J2Store’s functionalities, user experiences, and practical applications.
If you’re considering other options besides J2Store, here are some notable alternatives within the Joomla ecosystem:
J2Store is a native, flexible, and modern eCommerce solution designed for Joomla. It allows users to turn Joomla articles into products, making it easy to manage an online store within the familiar Joomla environment.
You can integrate Post Affiliate Pro with J2Store by modifying the payment plugin files for offline sales and PayPal, and adding the provided tracking and commission code snippets as detailed in the integration instructions.
J2Store is tailored for small to medium-sized eCommerce businesses and online store owners who prefer managing their stores within the Joomla framework.
J2Store offers seamless integration with Joomla, customizable shopping carts, advanced inventory management, flexible product options, user-friendly interface, multiple payment and shipping integrations, robust support, and a developer-friendly approach.
Yes, alternatives include VirtueMart, Sellacious, Phoca Cart, HikaShop, EShop, Instant Pro Shop, Quick2Cart, Breezing Commerce, JoomDonation eShop, and J2Commerce (the forked successor of J2Store).
J2Store development has ceased due to increased costs and declining revenue, but it remains open-source and has been forked into J2Commerce, which continues to be developed by the community.
Experience seamless affiliate tracking and e-commerce integration with J2Store and Post Affiliate Pro. Try it free for 1 month!
Would you like to improve your affiliate software even more? Check out the 2Checkout INS integration for Post Affiliate Pro.
Would you like to improve your affiliate software even more? Check out the WP eStore (WordPress module) for Post Affiliate Pro.
Would you like to improve your affiliate software even more? Check out the Gambio integration for Post Affiliate Pro.