Jump to content
Sign in to follow this  
tincan

Paypal Standard debug email problem (loop)

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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


Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×