OSCOMMERCE SUPPORT CALL 702-453-3332

 

Help - Search - Members - Calendar
Full Version: Paypal Standard debug email problem (loop)
osCommerce Community Support Forums > osCommerce Online Merchant v2.x > Contributions / Add-Ons > Payment Modules > PayPal
tincan
Hello.

I was tweeking paypal_standard.php, trying to change the subject line a little.
During my trial and error of doing this, I started getting "PayPal IPN Invalid Process" emails being sent to my debug email.
I've fixed the error I had in the file and it works fine, but I am still getting the debug emails from the first few problem attempts.
I have removed all the orders in the db thru the admin screen - still getting the emails.
I figure there must be a daemon somewhere that needs to be bumped, but I cant find anything.

I am using osc v2.2 rc2a, using the paypal sandbox, and am on a godaddy server.
Looking at the long headers of the email, it is coming from the godaddy server, so I figure its on my side, not the paypal side.

Does anyone have any insight for me?
Thank you.
tincan
QUOTE (tincan @ Mar 26 2008, 08:26 AM) *
Hello.

I was tweeking paypal_standard.php, trying to change the subject line a little.
During my trial and error of doing this, I started getting "PayPal IPN Invalid Process" emails being sent to my debug email.
I've fixed the error I had in the file and it works fine, but I am still getting the debug emails from the first few problem attempts.
I have removed all the orders in the db thru the admin screen - still getting the emails.
I figure there must be a daemon somewhere that needs to be bumped, but I cant find anything.

I am using osc v2.2 rc2a, using the paypal sandbox, and am on a godaddy server.
Looking at the long headers of the email, it is coming from the godaddy server, so I figure its on my side, not the paypal side.

Does anyone have any insight for me?
Thank you.



For those who run into this, or something similar...

I traced this back to needing the proxy stuff set for using godaddy.
The following 3 lines were added to ext/modules/payment/paypal/standard_ipn.php and the endless emails seems to have stopped.

curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE);
curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
curl_setopt($ch, CURLOPT_PROXY, "http://proxy.shr.secureserver.net:3128");

I hope this helps.
satish
Yes if Your server uses a Proxy(godaddy does and some more server too have started using for security) then for CURL to know YOu need to add the above stated line.

This curl_setopt($ch, CURLOPT_PROXY, "http://proxy.shr.secureserver.net:3128"); will be different for different server.

Satish
atabayoyon
Was having this problem consistently using the PayPal sandbox ... until I fixed a problem with the "tax" variable.
The variable used to override the per item tax was "tax" but as of late March 2008 is now "tax_cart". I made the change and presto, these recurring error emails disappeared.

For details about the PayPal Website Payments Standard interfaces see:
https://www.paypal.com/en_US/ebook/PP_Websi...uide/index.html
magicmycote
QUOTE (atabayoyon @ May 14 2008, 03:24 PM) *
Was having this problem consistently using the PayPal sandbox ... until I fixed a problem with the "tax" variable.
The variable used to override the per item tax was "tax" but as of late March 2008 is now "tax_cart". I made the change and presto, these recurring error emails disappeared.

For details about the PayPal Website Payments Standard interfaces see:
https://www.paypal.com/en_US/ebook/PP_Websi...uide/index.html


Can you be more specific on what you changed? My paypal setup was working wonderfully until about a month ago, then I started getting these "IPN Invalid Process" emails...but the payments still seem to go through successfully. Trying to pinpoint the problem and solution, I do not use GoDaddy and I am unsure if my host uses a proxy so maybe your information applies to me.
atabayoyon
QUOTE (magicmycote @ May 14 2008, 10:08 PM) *
Can you be more specific on what you changed? My paypal setup was working wonderfully until about a month ago, then I started getting these "IPN Invalid Process" emails...but the payments still seem to go through successfully. Trying to pinpoint the problem and solution, I do not use GoDaddy and I am unsure if my host uses a proxy so maybe your information applies to me.


Sure ...

In file catalog/includes/modules/payment/paypal_standard.php
In function "process_button"
In the $parameters array, changed 'tax' to 'tax_cart'

Hope this helps.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.