Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Integration with JROX Jam Affiliate Manager › Reply To: Integration with JROX Jam Affiliate Manager
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’ 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” 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” /><input type=”image” src=”http://prontopage.net/googlelocalsearch/wp-content/plugins/wp-cart-for-digital-products/images/paypal_checkout.png” 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:
¬ify_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¬ify_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