Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal Standard debug email problem (loop)


tincan

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.

Link to comment
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.

Link to comment
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.

Link to comment
Share on other sites

  • 1 month later...

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

Link to comment
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.

Link to comment
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...