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: WP eStore and JROX JAM Affiliate Manager Integration

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › WP eStore and JROX JAM Affiliate Manager Integration › Reply To: WP eStore and JROX JAM Affiliate Manager Integration

March 6, 2010 at 4:30 pm #17101
thomas
Member

My solustion is running, except the “debug-thing”!

What I did:

<br />
// Start - Award Jrox Affiliate for Manual Checkout<br />
$sale_amt = $_SESSION['eStore_cart_sub_total'];<br />
$trans_id = "Bank-Manuell";<br />
$jrox_cookie = urlencode($_COOKIE['jrox']);<br />
$payer_email = $_POST['customer_email'];<br />
$JAMIntegrate = file_get_contents("http://www.mydomain.com/affiliates/sale.php?amount=".$sale_amt."&trans_id=".$trans_id."&custom_mid=".$jrox_cookie."&jrox_svalue_1=".$payer_email);<br />
//$this->debug_log('Awarding JROX affiliate commission.',true);<br />
// End - Award Jrox Affiliate for Manual Checkout<br />

First, I needed to “urlencode” the cookie, to get the cookie-information into Jrox-JAM. (before I got only the affiliate-ID but not the rest (adtracker-info, referrer-website)

Second, I avtivated the custom_variable in JAM (system integration) for the “customer_email_address”.

Third, I added the code-elements for the $payer_email

Now I need to change that in paypal.php for paypal-payment as well. But that should be no problem anymore.

Greetings,

Thomas

PS: Be careful with custom-values where the content can include “space” (eg. name). You need to trim that. Otherwise you get an ERROR.

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