Forum Replies Created
-
AuthorPosts
-
wisconsin
MemberHi, I am still not getting anything. Can you please try sending it as a .zip attachment by opening a ticket here: http://prontopage.net/support/support/ . I am positive that this will work.
Also per your comment here:
“Will the integration with wishlist affect the integration that we did with JROX?”
Not if it’s done properly
we will just need to handle it delicately.Will this file include what I need to make that work properly…
Here is the code for my paypal.php that currently works with commissions…
*deleted the code (it’s not a good idea to post the full script code here… we will handle this via email.)*
Thanks very much.
wisconsin
Memberand maybe renaming the attachment to something that does not include the term wishlist. Oddly, my isp charter internet server identified an email that I sent earlier today as spam until i removed the link to a forum post on this site that included the term wishlist. Not sure if this is the issue, but I am just trying to see what might work at this point…
wisconsin
Membercan you resend. I gave you an old email and it had thousands of spam emails in it. i had to delete all and since I don’t have the email yet, think that i may have already deleted it. sorry!!!
wisconsin
MemberI was having trouble with emial. can you pls gry one more time. sending to chris@prontopage.net and sales@prontopage.net. Alternatively you could just upload it to your server as a txt file and I could download it that way…
Thanks for your help.
wisconsin
MemberCan you please try sales@prontopage.net please…
wisconsin
MemberIt was a correct email but I updated it to a new one. YOu can also try chris.john@charter.net
Thanks very much!
Chris
wisconsin
MemberUnderstood. thanks!
wisconsin
MemberIt worked!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I am really, really , really happy.
Thanks very much@!!!!!!!
[removed the weird text
]
wisconsin
MemberOK.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
wisconsin
MemberNot 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
wisconsin
MemberSince I am not hearing back from you right away, I am going to go ahead and test something. I just wanted to be aware in case you happened to do a view source of my page with the paypal button. I didn’t want to confuse things…
wisconsin
MemberOK. I have attached the debug log.
I did notice that the “custom” field is not being added to the checkout page…
thanks for helping me get this fixed… I am sure we are close…
[12/22/2009 4:20 PM] – SUCCESS :Paypal Class Initiated by 66.211.170.66
[12/22/2009 4:20 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=14%3A20%3A16+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=AiPC9BjkCyDFQXbSkoZcgqH3hpacA4CYlLU9qQg.RLXS3oR0ZuFrTP2j&payer_email=cj137%40charter.net&mc_shipping1=0.00&tax1=0.00&txn_id=0ML91838BK030305P&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 4:20 PM] – SUCCESS :Connection to http://www.paypal.com successfuly completed.
[12/22/2009 4:20 PM] – SUCCESS :IPN successfully verified.
[12/22/2009 4:20 PM] – SUCCESS :Creating product Information to send.
[12/22/2009 4:20 PM] – SUCCESS :Transaction Type: Shopping Cart
[12/22/2009 4:20 PM] – SUCCESS :Number of Cart Items: 1
[12/22/2009 4:20 PM] – SUCCESS :Item Number: 1
[12/22/2009 4:20 PM] – SUCCESS :Item Name: Pronto Local Business Listings Pro
[12/22/2009 4:20 PM] – SUCCESS :Item Quantity: 1
[12/22/2009 4:20 PM] – SUCCESS :Item Total: 0.25
[12/22/2009 4:20 PM] – SUCCESS :Item Currency: USD
[12/22/2009 4:20 PM] – SUCCESS :Download Link : Pronto Local Business Listings Pro – This product does not have any downloadable content
[12/22/2009 4:20 PM] – SUCCESS :Product Email successfully sent to cj137@charter.net.
[12/22/2009 4:20 PM] – SUCCESS :Notify Email successfully sent to cj137@charter.net.
[12/22/2009 4:20 PM] – SUCCESS :Updating Products, Customers, Coupons, Sales Database Tables with Sales Data.
[12/22/2009 4:20 PM] – SUCCESS :Products, Customers, Coupons, Sales Database Tables Updated.
[12/22/2009 4:20 PM] – SUCCESS :Updating Affiliate Database Table with Sales Data if Using the WP Affiliate Platform Plugin.
[12/22/2009 4:20 PM] – SUCCESS :Not Using the WP Affiliate Platform Plugin.
[12/22/2009 4:20 PM] – SUCCESS :Paypal class finished.
wisconsin
MemberHere is one of them http://prontopage.net/googlelocalsearch/?page_id=2
I will run the debug test right now and post in a moment…
wisconsin
MemberHi – thanks for getting back to me so quickly. For some reason it’s not registering..
Here is what I did:
1. wp-eStore1.php
..around line 530ish
if (!empty($_SESSION))
{
$name = ‘coupon’;
$value = $_SESSION;
$custom_field_val = append_values_to_custom_field($name,$value);
}
//Begin CJ added per https://support.tipsandtricks-hq.com/forums/topic/integration-with-jrox-jam-affiliate-manager
$name = ‘jrox_cookie’;
$value = $_COOKIE;
$custom_field_val = append_values_to_custom_field($name,$value);
//End CJ added
return $custom_field_val;
}
function append_values_to_custom_field($name,$value)
2. paypal.php
…around line 468ish
$this->debug_log(‘Infusionsoft signup result: ‘.$result,true);
}
}
//CJ added begin https://support.tipsandtricks-hq.com/forums/topic/integration-with-jrox-jam-affiliate-manager
$sale_amt = $this->ipn_data;
$trans_id = $this->ipn_data;
$jrox_cookie = $customvariables;
$JAMIntegrate = file_get_contents(“http://www.myactualdomainname.com/affiliates/sale.php?amount=”.$sale_amt.”&trans_id=”.$trans_id.”&custom_mid=”.$jrox_cookie);
$this->debug_log(‘Awarding JROX affiliate commission.’,true);
//CJ added end
$this->debug_log(‘Updating Affiliate Database Table with Sales Data if Using the WP Affiliate Platform Plugin.’,true);
Have i miss-entered anything?
wisconsin
MemberHi,
I did get a response from JROX as follows:
admin response by Ryan Dec 22 2009 03:19:30 AM
Integration – eStore WordPress Plug in that uses the PayPal IPN: Please help!
if your estore is already using the notify_url (IPN), you will have to find a way to transport the JROX cookie on the paypal form. normally, we use the ‘custom’ field to transport the cookie, like so:
<input type=”hidden” name=”custom” value=”‘ . $_COOKIE . ‘” />
then on the paypal IPN file of your estore, you add the PHP script:
$JAMIntegrate = file_get_contents(“http://www.mydomainname.com/affiliates/sale.php?amount=”.$_POST.”&trans_id=”.$_POST.”&custom_mid=”.$_POST);
Can you tell me where I should place these pieces of code… what files and what lines?
-
AuthorPosts