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

Integration with JROX Jam Affiliate Manager

by

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

Tagged: 3rd party affiliate manager, integration, Jam Affiliate Manager, JROX

  • This topic has 30 replies, 4 voices, and was last updated 15 years, 5 months ago by amin007.
Viewing 15 posts - 16 through 30 (of 31 total)
← 1 2 3 →
  • Author
    Posts
  • December 22, 2009 at 11:18 pm #16838
    wisconsin
    Member

    Not sure if this helps at all or not but I tried adding the following to the eStore_cart.php file on line 180:

    179 $output .= ‘<input type=”image” src=”‘.$checkout_button.'” name=”submit” class=”eStore_paypal_checkout_button” alt=”Checkout” />’;

    180 $output .= ‘<input type=”hidden” name=”custom” value=”‘ . $_COOKIE . ‘” />’;

    181 $output .= ‘</form>’;

    When I view go to that page via an JROX affiliate link http://www.prontopage.net/affiliates/jrox.php?id=1963_1 and then view the source on the cart page I can see:

    <tr><td colspan=’2′ style=’font-weight: bold; text-align: right;’>Total: </td><td style=’text-align: left’>$0.25</td><td><form method=”post” action=”” ><input type=’image’ src=’http://prontopage.net/googlelocalsearch/wp-content/plugins/wp-cart-for-digital-products/images/empty-shopping-cart-icon.png&#8217; class=’eStore_empty_cart_button’ value=’Empty’ title=’Empty Cart’ /><input type=”hidden” name=”reset_eStore_cart” value=”1″ /></form></td></tr><tr><td colspan=’4′><input type=”checkbox” name=”t-and-c” class=”t-and-c” value=”” /><label for=”t-and-c”> I agree to the Terms & Conditions</label><label class=”t_and_c_error” for=”t-and-c” id=”t_and_c_error”>You must agree to the Terms & Conditions!</label><form action=”http://prontopage.net/googlelocalsearch/wp-content/plugins/wp-cart-for-digital-products/eStore_payment_submission.php&#8221; method=”post”><input type=”hidden” name=”eStore_gateway” id=”eStore_gateway” value=”paypal” /><input type=”hidden” name=”eStore_url” id=”eStore_url” value=”http://prontopage.net/googlelocalsearch/wp-content/plugins/wp-cart-for-digital-products&#8221; /><input type=”image” src=”http://prontopage.net/googlelocalsearch/wp-content/plugins/wp-cart-for-digital-products/images/paypal_checkout.png&#8221; name=”submit” class=”eStore_paypal_checkout_button” alt=”Checkout” /><input type=”hidden” name=”custom” value=”1963%23%23%231%23%23%230%23%23%230%23%23%23Unknown” /></form></td></tr></table></div>

    </div></div>

    I see that “custom” is there and there is a value in the “value” field (Is that a cookie? When I clear cookies in my browser, reload the page and view source again I see (name=”custom” value=””), so I am guessing it is… But the debug file the “custom” variable looks empty. See:

    &notify_version=2.8&custom=&payer_status=unverified


    [12/22/2009 5:05 PM] – SUCCESS :Paypal Class Initiated by 66.211.170.66

    [12/22/2009 5:05 PM] – SUCCESS :Post string : mc_gross=0.25&protection_eligibility=PartiallyEligible&address_status=unconfirmed&item_number1=1&payer_id=ZKW8795TXX648&tax=0.00&address_street=2920+Ellis+Street&payment_date=15%3A05%3A54+Dec+22%2C+2009+PST&payment_status=Completed&charset=windows-1252&address_zip=54701&mc_shipping=0.00&mc_handling=0.00&first_name=Chris&mc_fee=0.25&address_country_code=US&address_name=Chris+John&notify_version=2.8&custom=&payer_status=unverified&business=info%40prontopage.net&address_country=United+States&num_cart_items=1&mc_handling1=0.00&address_city=Eau+Claire&verify_sign=AI36sk2Aln3iC.t.mla1wMizPRcQAHmLJkocVpUdLK1sFq4E-xQwaaz0&payer_email=cj137%40charter.net&mc_shipping1=0.00&tax1=0.00&txn_id=7RL95300N54428818&payment_type=instant&last_name=John&address_state=WI&item_name1=Pronto+Local+Business+Listings+Pro&receiver_email=info%40prontopage.net&payment_fee=0.25&quantity1=1&receiver_id=L7JMHMCZUQT92&txn_type=cart&mc_gross_1=0.25&mc_currency=USD&residence_country=US&transaction_subject=Shopping+Cart&payment_gross=0.25&

    [12/22/2009 5:05 PM] – SUCCESS :Connection to http://www.paypal.com successfuly completed.

    [12/22/2009 5:05 PM] – SUCCESS :IPN successfully verified.

    [12/22/2009 5:05 PM] – SUCCESS :Creating product Information to send.

    [12/22/2009 5:05 PM] – SUCCESS :Transaction Type: Shopping Cart

    [12/22/2009 5:05 PM] – SUCCESS :Number of Cart Items: 1

    [12/22/2009 5:05 PM] – SUCCESS :Item Number: 1

    [12/22/2009 5:05 PM] – SUCCESS :Item Name: Pronto Local Business Listings Pro

    [12/22/2009 5:05 PM] – SUCCESS :Item Quantity: 1

    [12/22/2009 5:05 PM] – SUCCESS :Item Total: 0.25

    [12/22/2009 5:05 PM] – SUCCESS :Item Currency: USD

    [12/22/2009 5:05 PM] – SUCCESS :Download Link : Pronto Local Business Listings Pro – This product does not have any downloadable content

    [12/22/2009 5:05 PM] – SUCCESS :Product Email successfully sent to cj137@charter.net.

    [12/22/2009 5:05 PM] – SUCCESS :Notify Email successfully sent to cj137@charter.net.

    [12/22/2009 5:05 PM] – SUCCESS :Updating Products, Customers, Coupons, Sales Database Tables with Sales Data.

    [12/22/2009 5:05 PM] – SUCCESS :Products, Customers, Coupons, Sales Database Tables Updated.

    [12/22/2009 5:05 PM] – SUCCESS :Updating Affiliate Database Table with Sales Data if Using the WP Affiliate Platform Plugin.

    [12/22/2009 5:05 PM] – SUCCESS :Not Using the WP Affiliate Platform Plugin.

    [12/22/2009 5:05 PM] – SUCCESS :Paypal class finished.


    what are your thoughts on the next step?

    Thanks

    December 22, 2009 at 11:22 pm #16839
    amin007
    Participant

    Just from the Debug output I don’t see any text output (eg. “Preparing JROX affiliate commission”) from the bit of code we added to the “paypal.php” file.

    This leads me to believe that the file didn’t get uploaded to your server. You need to make sure that all the files you updated is uploaded to your server which should overwrite the existing ones.

    December 22, 2009 at 11:24 pm #16840
    amin007
    Participant

    Also, you should not do any other changes than what I suggested… it might muck up something else (e.g. adding the variable directly to the custom field)

    December 22, 2009 at 11:54 pm #16841
    wisconsin
    Member

    OK.I went back to your original instructions (I had been mistakenly updating the paypal.php in the lib directory) and ran a test transaction. before i hit submit, I noticed that there still was not a “custom” field in the source of the cart page, but I submitted anyway. The result log file is below. It did process the “Preparing JROX affiliate commission” as you indicated… and I just saw your followup note about making any other changes (I made sure that everything was fresh when I performed the steps from you original instructions). Here is hte log file:


    [removed the unnecessary bit of text]

    .

    .

    [12/22/2009 5:48 PM] – SUCCESS :Preparing JROX affiliate commission.

    [12/22/2009 5:48 PM] – SUCCESS :Trans ID: 3VP32207UK932914U Sale amount: 0.25 Cookie value:

    [12/22/2009 5:48 PM] – SUCCESS :Awarding JROX affiliate commission :

    .

    .

    [removed the unnecessary bit of text]


    thanks

    December 23, 2009 at 1:57 am #16842
    amin007
    Participant

    Actually my bad on the changes I recommended for the “wp_eStore1.php” file. I forgot that this functionality has been slightly changed/moved.

    Please do the changes I suggested for the “wp_eStore1.php” file in the “eStore_payment_submission.php” file. Search for the following function in that file:

    function eStore_get_custom_field_value1()

    also don’t forget to upload the modified version of the file to your server overwriting the existing one.

    December 23, 2009 at 2:05 am #16843
    wisconsin
    Member

    It worked!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    I am really, really , really happy.

    Thanks very much@!!!!!!!


    [removed the weird text :)]


    December 23, 2009 at 2:19 am #16844
    amin007
    Participant

    Alrighty… that’s good.

    December 30, 2009 at 9:46 am #16845
    billigname
    Member

    “Actually my bad on the changes I recommended for the “wp_eStore1.php” file. I forgot that this functionality has been slightly changed/moved.

    Please do the changes I suggested for the “wp_eStore1.php” file in the “eStore_payment_submission.php” file. Search for the following function in that file:

    function eStore_get_custom_field_value1()

    also don’t forget to upload the modified version of the file to your server overwriting the existing one.”

    I cannot find the “eStore_payment_submission.php”

    December 30, 2009 at 9:53 am #16846
    billigname
    Member

    Summary:

    1. I must put this code into the paypal.php

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

    $sale_amt = $this->ipn_data;

    $trans_id = $this->ipn_data;

    $jrox_cookie = $customvariables;

    $this->debug_log(‘Trans ID: ‘.$trans_id.’ Sale amount: ‘.$sale_amt.’ Cookie value: ‘.$jrox_cookie,true);

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

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

    2. Put the code in this file wp_eStore1.php

    $name = ‘jrox_cookie’;

    $value = $_COOKIE;

    $custom_field_val = append_values_to_custom_field($name,$value);

    Is that all?

    December 31, 2009 at 1:06 am #16847
    amin007
    Participant

    Yep, thats correct but number 2 also needs to go in the “eStore_payment_submission.php” file. inside the “eStore_get_custom_field_value1()” function to be specific

    December 31, 2009 at 1:11 am #16848
    billigname
    Member

    I cannot find the file

    January 2, 2010 at 10:44 am #16849
    billigname
    Member

    Now I have tried with the new version. My log file:

    [01/01/2010 5:33 PM] – SUCCESS :Products, Customers, Coupons, Sales Database Tables Updated.

    [01/01/2010 5:33 PM] – SUCCESS :Preparing JROX affiliate commission.

    [01/01/2010 5:33 PM] – SUCCESS :Trans ID: 1NU2998679438983T Sale amount: 24.95 Cookie value:

    [01/01/2010 5:33 PM] – SUCCESS :Awarding JROX affiliate commission :

    and

    [01/01/2010 5:43 PM] – SUCCESS :Connection to http://www.paypal.com successfuly completed.

    [01/01/2010 5:43 PM] – SUCCESS :IPN successfully verified.

    [01/01/2010 5:43 PM] – SUCCESS :Creating product Information to send.

    [01/01/2010 5:43 PM] – FAILURE :The Fund have not been cleared yet. Product will be delivered when the fund clears!

    [01/01/2010 5:43 PM] – FAILURE :IPN product validation failed.

    [01/01/2010 5:43 PM] – SUCCESS :Paypal class finished.

    If I click at the affiliate Link url likes so:

    ?jrox=3%23%23%231%23%23%230%23%23%230%23%23%23Unknown

    Regards

    January 2, 2010 at 12:32 pm #16850
    amin007
    Participant

    Looks like you have “Payment Review” enabled in your profile?

    FAILURE :The Fund have not been cleared yet. Product will be delivered when the fund clears!

    Please note that the plugin won’t fully process the payment untill the fund is cleared.

    January 8, 2010 at 10:51 am #16851
    billigname
    Member

    I have tried all but the system doesn’t track it. My log file:

    [01/08/2010 4:31 AM] – SUCCESS :Products, Customers, Coupons, Sales Database Tables Updated.

    [01/08/2010 4:31 AM] – SUCCESS :Preparing JROX affiliate commission.

    [01/08/2010 4:31 AM] – SUCCESS :Trans ID: 6H495926KF088451N Sale amount: 1.00 Cookie value:

    [01/08/2010 4:31 AM] – SUCCESS :Awarding JROX affiliate commission :

    I asked jam they have said I need a Thank you page with a hidden image!

    <img border=”0″ src=”http://www.akay.us/aff/sale.php?amount=&#8221;.$sale_amt.”&trans_id=”.$trans_id.”&custom_mid=”.$jrox_cookie” width=”1″ height=”1″>

    I need urgently help please

    January 8, 2010 at 2:00 pm #16852
    NicePerson
    Member

    wisconsin , amin007

    Please post Step by Step instructions on how to integrate JROX with WP eStore. Thank you.

  • Author
    Posts
Viewing 15 posts - 16 through 30 (of 31 total)
← 1 2 3 →
  • You must be logged in to reply to this topic.
Log In

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