Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Reply To: Integration with JROX Jam Affiliate Manager

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Integration with JROX Jam Affiliate Manager › Reply To: Integration with JROX Jam Affiliate Manager

December 22, 2009 at 9:04 pm #16832
amin007
Participant

Now it becomes soooooo much easier… this is what I asked for when I mentioned how I integrated WP eStore with the iDev affiliate program.

Integrating WP eStore with JROX Jam Affiliate Software

1. Open the “wp_eStore1.php” file and find the following function:

function eStore_get_custom_field_value()

once you find it just add the following towards the end of the function (just before the return statement):

$name = 'jrox_cookie';
$value = $_COOKIE['jrox'];
$custom_field_val = append_values_to_custom_field($name,$value);

That will add it to the custom field.

2. Now open the “paypal.php” file and search for the following line:

$this->debug_log(‘Updating Affiliate Database Table with Sales Data if Using the WP Affiliate Platform Plugin.’,true);

once you find that line add the following bit of code just before that line:

$sale_amt = $this->ipn_data;

$trans_id = $this->ipn_data;

$jrox_cookie = $customvariables;

$JAMIntegrate = file_get_contents(“http://www.mydomainname.com/affiliates/sale.php?amount=”.$sale_amt.”&trans_id=”.$trans_id.”&custom_mid=”.$jrox_cookie);

$this->debug_log(‘Awarding JROX affiliate commission.’,true);

That should do it. Let me know how you go.

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ