Zion Ahead

Well-Known Member
Nov 10, 2006
347
0
166
Paypal started sending me notices that it was unable to connect to my IPN (I'm using modernbill v4) yet I used it without a problem for 3 years.

The sent this message in response to my support inquiry:

I have had the IPN logs checked and show that, on recent transactions, your Web server returned an HTTP 200 OK on some of the transactions. Transactions were pulled from:

Date: Fri, 04 Jan 2008 15:00:09 GMT and Date: Thu, 03 Jan 2008 22:20:48 GMT

The reason that you are receiving the E-mail in question is due to your server not responding with an HTTP 200 OK rsponse. When this happens, the PayPal system attempts to resend the IPN POST for up to four days at which time the E-mail in question is generated to inform the merchant of issues with the IPN script.

This issue is not a PayPal issue, but is rather caused by your server's response to IPN POSTs sent to the IPN Script.
Can someone please help me trace this problem?

This is what my server is using:

Modernbill v4.4 stable
Centos 4.6
CSF Firewall
Cpanel 11
Apache 2.2 / PHP 5.2.5


Code:
[email protected] [/usr/local/apache/logs]# grep paypal_return.inc.php *
grep: fpcgisock: No such device or address
Code:
[email protected] [/usr/local/apache/domlogs]# grep paypal_return.inc.php *
mydomain.com:xxx.xxx.212.161 - - [07/Jan/2008:16:24:34 -0600] "GET /support/themes/client_default/esupport.gif HTTP/1.1" 200 6666 "https://www.paypal.com/cgi-bin/webscr?cmd=_xclick-subscriptions&[email protected]&currency_code=USD&item_name=mydomain+Inc&item_number=14034&custom=&image_url=https://mydomain.com/billing/images/logo_sample.gif&return=http://www.mydomain.com&notify_url=https://www.mydomain.com/billing/include/misc/mod_paypal/paypal_return.inc.php&no_note=1&no_shipping=1&rm=1&first_name=Andrew&last_name=Dickenson&address1=5+Larch+Avenue&city=Crewe&state=Cheshire&zip=CW2+5AX&a1=35.70&p1=26&t1=D&a3=35.70&p3=6&t3=M&src=1&sra=1&modify=0" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"
mydomain.com-ssl_data_log:[Fri Dec 28 11:27:14 2007] [error] [client 66.211.170.66] PHP Warning:  fopen(MYPayPalReturn.txt) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /home/mydomain/public_html/modernbill/include/misc/mod_paypal/paypal_return.inc.php on line 40
mydomain.com-ssl_data_log:[Fri Dec 28 11:27:14 2007] [error] [client 66.211.170.66] PHP Warning:  fputs(): supplied argument is not a valid stream resource in /home/mydomain/public_html/modernbill/include/misc/mod_paypal/paypal_return.inc.php on line 41
I get a lot of those fputs(): error lines FYI.

Code:
[email protected] [/usr/local/apache/error]# grep paypal_return.inc.php *
[email protected] [/usr/local/apache/error]#