Post by Thomas » Tue Apr 05, 2011 8:21 am

version: 1.4.9.1
PP Standard version: 1.4.9.4 (newest version) (Release = http://forum.opencart.com/viewtopic.php ... 00#p145132)

Hey guys, im currently having an issue with PP Standard, here is the email i received:
Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:

http://www.website.com/index.php?route= ... d/callback
http://au.website.com/index.php?route=p ... d/callback

If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information. If this problem continues, IPNs may be disabled for your account.

Thank you for your prompt attention to this issue.

Thanks,
PayPal
Im taking a look at IPN History, the latest IPNs have a status code of 500 all with set to "retrying" with 10 or so attempts. Funny thing is, it was working fine for a day, then it started emailing me, I haven't actually changed anything, neither has the server changed.

If anybody has come across this issue, Id greatly appreciate some help, as I dont want to turn IPN off, because when its OFF no order status get updated, so all orders remain at 0 = missing order, which is a pain because i need to keep checking paypal for orders.

Thanks guys i really appreciate it.

Thanks,
Thomas

Newbie

Posts

Joined
Sat Nov 13, 2010 4:27 pm

Post by movingwifi » Fri May 13, 2011 6:39 pm

Hi Thomas

Did you get to the bottom of this?

I'm having a similar 500 Response issue with the IPNs from Paypal. The log in OPENCART is showing the IPNs received with a VERIFIED response, but every single IPN is reporting a 500 HTTP Response Code and are getting retried to the max. Does my PDT INIT look okay?

I'm using 1.4.9.5.

Thanks

Gerry

Code: Select all

2011-05-13 10:19:02 - PP_STANDARD :: IPN INIT <-- DEBUG POST VARS::mc_gross=54.60&invoice=6 - Gerry Mulvenna&protection_eligibility=Partially Eligible - INR Only&address_status=unconfirmed&item_number1=BearExtender-PC&payer_id=WSE6RH98PF3F2&tax=7.39&address_street=St. Martin's House&payment_date=03:18:57 May 13, 2011 PDT&payment_status=Completed&charset=UTF-8&address_zip=000&mc_shipping=10.24&mc_handling=0.00&first_name=Gerard&mc_fee=2.21&address_country_code=IE&address_name=Gerry Mulvenna&notify_version=3.1&custom=rg==&payer_status=verified&business=shop@movingWiFi.com&address_country=Ireland&num_cart_items=1&mc_handling1=0.00&address_city=Tuamgraney&verify_sign=AQU0e5vuZCvSg-XJploSa.sGUDlpAEmta1VYJFtybeFmQRrE3eHzgvF0&payer_email=shop@commsoft.ie&mc_shipping1=10.24&txn_id=11L7106742397771E&payment_type=instant&payer_business_name=Commsoft Ltd&last_name=Mulvenna&address_state=&item_name1=BearExtender WiFi adapter for PC&receiver_email=shop@movingWiFi.com&payment_fee=&quantity1=1&receiver_id=JFCYSSJ49ENGL&txn_type=cart&mc_gross_1=47.21&mc_currency=EUR&residence_country=IE&transaction_subject=rg==&payment_gross=&ipn_track_id=DdThvQyH87g-Ql9T9IRcQw&
2011-05-13 10:19:03 - PP_STANDARD :: IPN REQ  --> cmd=_notify-validate&mc_gross=54.60&invoice=6+-+Gerry+Mulvenna&protection_eligibility=Partially+Eligible+-+INR+Only&address_status=unconfirmed&item_number1=BearExtender-PC&payer_id=WSE6RH98PF3F2&tax=7.39&address_street=St.+Martin%27s+House&payment_date=03%3A18%3A57+May+13%2C+2011+PDT&payment_status=Completed&charset=UTF-8&address_zip=000&mc_shipping=10.24&mc_handling=0.00&first_name=Gerard&mc_fee=2.21&address_country_code=IE&address_name=Gerry+Mulvenna&notify_version=3.1&custom=rg%3D%3D&payer_status=verified&business=shop%40movingWiFi.com&address_country=Ireland&num_cart_items=1&mc_handling1=0.00&address_city=Tuamgraney&verify_sign=AQU0e5vuZCvSg-XJploSa.sGUDlpAEmta1VYJFtybeFmQRrE3eHzgvF0&payer_email=shop%40commsoft.ie&mc_shipping1=10.24&txn_id=11L7106742397771E&payment_type=instant&payer_business_name=Commsoft+Ltd&last_name=Mulvenna&address_state=&item_name1=BearExtender+WiFi+adapter+for+PC&receiver_email=shop%40movingWiFi.com&payment_fee=&quantity1=1&receiver_id=JFCYSSJ49ENGL&txn_type=cart&mc_gross_1=47.21&mc_currency=EUR&residence_country=IE&transaction_subject=rg%3D%3D&payment_gross=&ipn_track_id=DdThvQyH87g-Ql9T9IRcQw
2011-05-13 10:19:03 - PP_STANDARD :: IPN RESP <-- VERIFIED
2011-05-13 10:19:07 - PP_STANDARD :: PDT INIT <-- DEBUG GET VARS::route=payment/pp_standard/pdt&tx=11L7106742397771E&st=Completed&amt=54.60&cc=EUR&cm=rg==&item_number=&
2011-05-13 10:19:15 - PP_STANDARD :: IPN INIT <-- DEBUG POST VARS::mc_gross=54.60&invoice=6 - Gerry Mulvenna&protection_eligibility=Partially Eligible - INR Only&address_status=unconfirmed&item_number1=BearExtender-PC&payer_id=WSE6RH98PF3F2&tax=7.39&address_street=St. Martin's House&payment_date=03:18:57 May 13, 2011 PDT&payment_status=Completed&charset=UTF-8&address_zip=000&mc_shipping=10.24&mc_handling=0.00&first_name=Gerard&mc_fee=2.21&address_country_code=IE&address_name=Gerry Mulvenna&notify_version=3.1&custom=rg==&payer_status=verified&business=shop@movingWiFi.com&address_country=Ireland&num_cart_items=1&mc_handling1=0.00&address_city=Tuamgraney&verify_sign=AQU0e5vuZCvSg-XJploSa.sGUDlpAEmta1VYJFtybeFmQRrE3eHzgvF0&payer_email=shop@commsoft.ie&mc_shipping1=10.24&txn_id=11L7106742397771E&payment_type=instant&payer_business_name=Commsoft Ltd&last_name=Mulvenna&address_state=&item_name1=BearExtender WiFi adapter for PC&receiver_email=shop@movingWiFi.com&payment_fee=&quantity1=1&receiver_id=JFCYSSJ49ENGL&txn_type=cart&mc_gross_1=47.21&mc_currency=EUR&residence_country=IE&transaction_subject=rg==&payment_gross=&ipn_track_id=DdThvQyH87g-Ql9T9IRcQw&
2011-05-13 10:19:16 - PP_STANDARD :: IPN REQ  --> cmd=_notify-validate&mc_gross=54.60&invoice=6+-+Gerry+Mulvenna&protection_eligibility=Partially+Eligible+-+INR+Only&address_status=unconfirmed&item_number1=BearExtender-PC&payer_id=WSE6RH98PF3F2&tax=7.39&address_street=St.+Martin%27s+House&payment_date=03%3A18%3A57+May+13%2C+2011+PDT&payment_status=Completed&charset=UTF-8&address_zip=000&mc_shipping=10.24&mc_handling=0.00&first_name=Gerard&mc_fee=2.21&address_country_code=IE&address_name=Gerry+Mulvenna&notify_version=3.1&custom=rg%3D%3D&payer_status=verified&business=shop%40movingWiFi.com&address_country=Ireland&num_cart_items=1&mc_handling1=0.00&address_city=Tuamgraney&verify_sign=AQU0e5vuZCvSg-XJploSa.sGUDlpAEmta1VYJFtybeFmQRrE3eHzgvF0&payer_email=shop%40commsoft.ie&mc_shipping1=10.24&txn_id=11L7106742397771E&payment_type=instant&payer_business_name=Commsoft+Ltd&last_name=Mulvenna&address_state=&item_name1=BearExtender+WiFi+adapter+for+PC&receiver_email=shop%40movingWiFi.com&payment_fee=&quantity1=1&receiver_id=JFCYSSJ49ENGL&txn_type=cart&mc_gross_1=47.21&mc_currency=EUR&residence_country=IE&transaction_subject=rg%3D%3D&payment_gross=&ipn_track_id=DdThvQyH87g-Ql9T9IRcQw
2011-05-13 10:19:16 - PP_STANDARD :: IPN RESP <-- VERIFIED

Newbie

Posts

Joined
Fri May 06, 2011 7:40 pm

Post by Qphoria » Fri May 13, 2011 9:53 pm

Code: Select all

PP_STANDARD :: IPN RESP <-- VERIFIED
IPN Looks fine to me. Maybe its the PDT that is failing? Try not using PDT and see if that works

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Thomas » Sat May 14, 2011 9:05 am

movingwifi wrote:Hi Thomas

Did you get to the bottom of this?

I'm having a similar 500 Response issue with the IPNs from Paypal. The log in OPENCART is showing the IPNs received with a VERIFIED response, but every single IPN is reporting a 500 HTTP Response Code and are getting retried to the max. Does my PDT INIT look okay?

I'm using 1.4.9.5.

Thanks

Gerry

Code: Select all

2011-05-13 10:19:02 - PP_STANDARD :: IPN INIT <-- DEBUG POST VARS::mc_gross=54.60&invoice=6 - Gerry Mulvenna&protection_eligibility=Partially Eligible - INR Only&address_status=unconfirmed&item_number1=BearExtender-PC&payer_id=WSE6RH98PF3F2&tax=7.39&address_street=St. Martin's House&payment_date=03:18:57 May 13, 2011 PDT&payment_status=Completed&charset=UTF-8&address_zip=000&mc_shipping=10.24&mc_handling=0.00&first_name=Gerard&mc_fee=2.21&address_country_code=IE&address_name=Gerry Mulvenna&notify_version=3.1&custom=rg==&payer_status=verified&business=shop@movingWiFi.com&address_country=Ireland&num_cart_items=1&mc_handling1=0.00&address_city=Tuamgraney&verify_sign=AQU0e5vuZCvSg-XJploSa.sGUDlpAEmta1VYJFtybeFmQRrE3eHzgvF0&payer_email=shop@commsoft.ie&mc_shipping1=10.24&txn_id=11L7106742397771E&payment_type=instant&payer_business_name=Commsoft Ltd&last_name=Mulvenna&address_state=&item_name1=BearExtender WiFi adapter for PC&receiver_email=shop@movingWiFi.com&payment_fee=&quantity1=1&receiver_id=JFCYSSJ49ENGL&txn_type=cart&mc_gross_1=47.21&mc_currency=EUR&residence_country=IE&transaction_subject=rg==&payment_gross=&ipn_track_id=DdThvQyH87g-Ql9T9IRcQw&
2011-05-13 10:19:03 - PP_STANDARD :: IPN REQ  --> cmd=_notify-validate&mc_gross=54.60&invoice=6+-+Gerry+Mulvenna&protection_eligibility=Partially+Eligible+-+INR+Only&address_status=unconfirmed&item_number1=BearExtender-PC&payer_id=WSE6RH98PF3F2&tax=7.39&address_street=St.+Martin%27s+House&payment_date=03%3A18%3A57+May+13%2C+2011+PDT&payment_status=Completed&charset=UTF-8&address_zip=000&mc_shipping=10.24&mc_handling=0.00&first_name=Gerard&mc_fee=2.21&address_country_code=IE&address_name=Gerry+Mulvenna&notify_version=3.1&custom=rg%3D%3D&payer_status=verified&business=shop%40movingWiFi.com&address_country=Ireland&num_cart_items=1&mc_handling1=0.00&address_city=Tuamgraney&verify_sign=AQU0e5vuZCvSg-XJploSa.sGUDlpAEmta1VYJFtybeFmQRrE3eHzgvF0&payer_email=shop%40commsoft.ie&mc_shipping1=10.24&txn_id=11L7106742397771E&payment_type=instant&payer_business_name=Commsoft+Ltd&last_name=Mulvenna&address_state=&item_name1=BearExtender+WiFi+adapter+for+PC&receiver_email=shop%40movingWiFi.com&payment_fee=&quantity1=1&receiver_id=JFCYSSJ49ENGL&txn_type=cart&mc_gross_1=47.21&mc_currency=EUR&residence_country=IE&transaction_subject=rg%3D%3D&payment_gross=&ipn_track_id=DdThvQyH87g-Ql9T9IRcQw
2011-05-13 10:19:03 - PP_STANDARD :: IPN RESP <-- VERIFIED
2011-05-13 10:19:07 - PP_STANDARD :: PDT INIT <-- DEBUG GET VARS::route=payment/pp_standard/pdt&tx=11L7106742397771E&st=Completed&amt=54.60&cc=EUR&cm=rg==&item_number=&
2011-05-13 10:19:15 - PP_STANDARD :: IPN INIT <-- DEBUG POST VARS::mc_gross=54.60&invoice=6 - Gerry Mulvenna&protection_eligibility=Partially Eligible - INR Only&address_status=unconfirmed&item_number1=BearExtender-PC&payer_id=WSE6RH98PF3F2&tax=7.39&address_street=St. Martin's House&payment_date=03:18:57 May 13, 2011 PDT&payment_status=Completed&charset=UTF-8&address_zip=000&mc_shipping=10.24&mc_handling=0.00&first_name=Gerard&mc_fee=2.21&address_country_code=IE&address_name=Gerry Mulvenna&notify_version=3.1&custom=rg==&payer_status=verified&business=shop@movingWiFi.com&address_country=Ireland&num_cart_items=1&mc_handling1=0.00&address_city=Tuamgraney&verify_sign=AQU0e5vuZCvSg-XJploSa.sGUDlpAEmta1VYJFtybeFmQRrE3eHzgvF0&payer_email=shop@commsoft.ie&mc_shipping1=10.24&txn_id=11L7106742397771E&payment_type=instant&payer_business_name=Commsoft Ltd&last_name=Mulvenna&address_state=&item_name1=BearExtender WiFi adapter for PC&receiver_email=shop@movingWiFi.com&payment_fee=&quantity1=1&receiver_id=JFCYSSJ49ENGL&txn_type=cart&mc_gross_1=47.21&mc_currency=EUR&residence_country=IE&transaction_subject=rg==&payment_gross=&ipn_track_id=DdThvQyH87g-Ql9T9IRcQw&
2011-05-13 10:19:16 - PP_STANDARD :: IPN REQ  --> cmd=_notify-validate&mc_gross=54.60&invoice=6+-+Gerry+Mulvenna&protection_eligibility=Partially+Eligible+-+INR+Only&address_status=unconfirmed&item_number1=BearExtender-PC&payer_id=WSE6RH98PF3F2&tax=7.39&address_street=St.+Martin%27s+House&payment_date=03%3A18%3A57+May+13%2C+2011+PDT&payment_status=Completed&charset=UTF-8&address_zip=000&mc_shipping=10.24&mc_handling=0.00&first_name=Gerard&mc_fee=2.21&address_country_code=IE&address_name=Gerry+Mulvenna&notify_version=3.1&custom=rg%3D%3D&payer_status=verified&business=shop%40movingWiFi.com&address_country=Ireland&num_cart_items=1&mc_handling1=0.00&address_city=Tuamgraney&verify_sign=AQU0e5vuZCvSg-XJploSa.sGUDlpAEmta1VYJFtybeFmQRrE3eHzgvF0&payer_email=shop%40commsoft.ie&mc_shipping1=10.24&txn_id=11L7106742397771E&payment_type=instant&payer_business_name=Commsoft+Ltd&last_name=Mulvenna&address_state=&item_name1=BearExtender+WiFi+adapter+for+PC&receiver_email=shop%40movingWiFi.com&payment_fee=&quantity1=1&receiver_id=JFCYSSJ49ENGL&txn_type=cart&mc_gross_1=47.21&mc_currency=EUR&residence_country=IE&transaction_subject=rg%3D%3D&payment_gross=&ipn_track_id=DdThvQyH87g-Ql9T9IRcQw
2011-05-13 10:19:16 - PP_STANDARD :: IPN RESP <-- VERIFIED
Hi,

Yes mine was a strange issue, apparently i had something triggering my error_log function and the error_log function had errors within it itself, so i fixed the error log function. I don't know if this will work for you.

Newbie

Posts

Joined
Sat Nov 13, 2010 4:27 pm

Post by movingwifi » Tue May 17, 2011 6:52 pm

After a couple of days of troubleshooting the 500 response the pp_standard/callback was sending back to IPNs, I've identified the CURLOPT_VERBOSE curl option as the source of my problem.

Removing or commenting out the line in the callback function

Code: Select all

curl_setopt($ch, CURLOPT_VERBOSE, 1);
results in a 200 http response and keeps Paypal happy.

My hosting is with pair Networks, for what it's worth.

Gerry

Newbie

Posts

Joined
Fri May 06, 2011 7:40 pm

Post by Qphoria » Tue May 17, 2011 11:19 pm

movingwifi wrote:After a couple of days of troubleshooting the 500 response the pp_standard/callback was sending back to IPNs, I've identified the CURLOPT_VERBOSE curl option as the source of my problem.

Removing or commenting out the line in the callback function

Code: Select all

curl_setopt($ch, CURLOPT_VERBOSE, 1);
results in a 200 http response and keeps Paypal happy.

My hosting is with pair Networks, for what it's worth.

Gerry
Great find. Maybe this will be the answer others need as well. thanks!

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by madlime » Mon Oct 03, 2011 11:08 pm

movingwifi wrote:After a couple of days of troubleshooting the 500 response the pp_standard/callback was sending back to IPNs, I've identified the CURLOPT_VERBOSE curl option as the source of my problem.

Removing or commenting out the line in the callback function

Code: Select all

curl_setopt($ch, CURLOPT_VERBOSE, 1);
results in a 200 http response and keeps Paypal happy.

My hosting is with pair Networks, for what it's worth.

Gerry

how can I find this code?

http://www.madlime.com
Always Free Shipping


User avatar
New member

Posts

Joined
Sat May 28, 2011 5:56 pm
Location - Hong Kong

Post by Qphoria » Tue Oct 04, 2011 12:13 am

madlime wrote:
movingwifi wrote:After a couple of days of troubleshooting the 500 response the pp_standard/callback was sending back to IPNs, I've identified the CURLOPT_VERBOSE curl option as the source of my problem.

Removing or commenting out the line in the callback function

Code: Select all

curl_setopt($ch, CURLOPT_VERBOSE, 1);
results in a 200 http response and keeps Paypal happy.

My hosting is with pair Networks, for what it's worth.

Gerry

how can I find this code?
catalog/controller/payment/pp_standard.php

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by madlime » Tue Oct 04, 2011 12:48 am

Qphoria wrote:
madlime wrote:
movingwifi wrote:After a couple of days of troubleshooting the 500 response the pp_standard/callback was sending back to IPNs, I've identified the CURLOPT_VERBOSE curl option as the source of my problem.

Removing or commenting out the line in the callback function

Code: Select all

curl_setopt($ch, CURLOPT_VERBOSE, 1);
results in a 200 http response and keeps Paypal happy.

My hosting is with pair Networks, for what it's worth.

Gerry

how can I find this code?
catalog/controller/payment/pp_standard.php

only below code not find other code ???

Code: Select all

curl_setopt($curl, CURLOPT_POST, true);
			curl_setopt($curl, CURLOPT_POSTFIELDS, $request);
			curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
			curl_setopt($curl, CURLOPT_HEADER, false);
			curl_setopt($curl, CURLOPT_TIMEOUT, 30);
			curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);

http://www.madlime.com
Always Free Shipping


User avatar
New member

Posts

Joined
Sat May 28, 2011 5:56 pm
Location - Hong Kong

Post by madlime » Tue Oct 04, 2011 1:09 am

PayPal send email

Code: Select all

Please check your server that handles PayPal Instant Payment Notifications (IPN). Instant Payment Notifications sent to the following URL(s) are failing:

http://www.madlime.com/index.php?route=payment/pp_standard/callback

If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information. If this problem continues, IPNs may be disabled for your account. 

Thank you for your prompt attention to this issue.


Thanks,

PayPal

http://www.madlime.com
Always Free Shipping


User avatar
New member

Posts

Joined
Sat May 28, 2011 5:56 pm
Location - Hong Kong
Who is online

Users browsing this forum: No registered users and 12 guests