Zen Cart Logo
Forums / Managing Customers and Orders / IPN Debug - Fatal Error email response on fsockopen and SSL

IPN Debug - Fatal Error email response on fsockopen and SSL

Locked

Views: 6,074

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
5 Jun 2007, 4:43 AM
#1
babyface avatar

babyface

New Zenner

Join Date:
Jan 2007
Posts:
26
Plugin Contributions:
0

IPN Debug - Fatal Error email response on fsockopen and SSL

Hey guys,

We setup and installed the latest pacth for Paypal and still are having problems getting order data back from Paypal.

I've read through so many other threads with the problems, but none that refer to this issue.
We get 14 emails from IPN debug and # 7 has the following error listed. We've checked all the settings on our server and can not figure out what's wrong. Any help would be truly apperciated.

We would perfer to do it without disabling the ssl.

IPN FATAL ERROR :: Could not establish fsockopen.
Host Details = ssl://www.paypal.com:443 (0) Unable to find the socket
transport "ssl" - did you forget to enable it when you configured PHP?

Trying again without SSL ...

5 Jun 2007, 4:57 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: IPN Debug - Fatal Error email response on fsockopen and SSL

That message is only half of the detail. Did it work properly after it made its second try without SSL ?

babyface:

We would perfer to do it without disabling the ssl.It's attempting to communicate without SSL because your server's "fsockopen()" function calls from PHP are not able to use SSL to talk to PayPal. You could get rid of this error by having your server administrator recompile PHP with SSL support.

5 Jun 2007, 5:18 AM
#3
babyface avatar

babyface

New Zenner

Join Date:
Jan 2007
Posts:
26
Plugin Contributions:
0

Re: IPN Debug - Fatal Error email response on fsockopen and SSL

Below are the 14 debug message we receive

We're having the same problems as others, where we see an order, the customers infromation, and order total, but not the details of the items ordered.

I'll speak with my Admin about the suggestion you've made, he's on vacation this week so it may not be until next week when he can recompile the php.

Btw, thank you very much for the quick reply even this late in the evening.

Email # 1

IPN PROCESSING INITIATED.
*** Originating IP: 216.113.188.202 notify.paypal.com> Email # 2

IPN NOTICE :: ipn_application_top -> language files okay> Email # 3
IPN INFO - POST VARS received (sorted):
Array
(
[address_city] => <removed for customers privacy>
[address_country] => United States
[address_country_code] => US
[address_name] => <removed for customers privacy>
[address_state] => CA
[address_status] => confirmed
[address_street] => <removed for customers privacy>
[address_zip] => <removed for customers privacy>
[business] => [email protected]
[charset] => windows-1252
[custom] => zenid=0mcajp128fa1dc9brifnvglb01
[first_name] => <removed for customers privacy>
[item_name] => Njoy Games & Comics Purchase
[item_number] => 1
[last_name] => <removed for customers privacy>
[mc_currency] => USD
[mc_fee] => 1.02
[mc_gross] => 24.90
[notify_version] => 2.1
[payer_email] => <removed for customers privacy>
[payer_id] => FQYYVC2XJU5R6
[payer_status] => verified
[payment_date] => 11:35:39 May 30, 2007 PDT
[payment_fee] => 1.02
[payment_gross] => 24.90
[payment_status] => Completed
[payment_type] => instant
[quantity] => 1
[receiver_email] => [email protected]
[receiver_id] => G85KGTSSFJACJ
[residence_country] => US
[shipping] => 0.00
[tax] => 0.00
[txn_id] => 10439113L1447842F
[txn_type] => web_accept
[verify_sign] =>
Afyu9bqLx6Is.p2IQYbqbI0PKgPyAdNOBUR0plsGDzPJ787GVoRhux7X
)> Email # 4

IPN INFO - POST VARS to be sent back for validation:
To: ssl://www.paypal.com:443
POST /cgi-bin/webscr HTTP/1.1
Host: www.paypal.com
Content-type: application/x-www-form-urlencoded
Content-length: 898
Connection: close

Array
(
[mc_gross] => 24.90
[address_status] => confirmed
[payer_id] => FQYYVC2XJU5R6
[tax] => 0.00
[address_street] => <removed for customers privacy>

[payment_date] => 11:35:39 May 30, 2007 PDT
[payment_status] => Completed
[charset] => windows-1252
[address_zip] => 91356
[first_name] => <removed for customers privacy>

[mc_fee] => 1.02
[address_country_code] => US
[address_name] => <removed for customers privacy>

[notify_version] => 2.1
[custom] => zenid=0mcajp128fa1dc9brifnvglb01
[payer_status] => verified
[business] => [email protected]
[address_country] => United States
[address_city] => Tarzana
[quantity] => 1
[verify_sign] =>
Afyu9bqLx6Is.p2IQYbqbI0PKgPyAdNOBUR0plsGDzPJ787GVoRhux7X
[payer_email] => <removed for customers privacy>

[txn_id] => 10439113L1447842F
[payment_type] => instant
[last_name] => <removed for customers privacy>

[address_state] => CA
[receiver_email] => [email protected]
[payment_fee] => 1.02
[receiver_id] => G85KGTSSFJACJ
[txn_type] => web_accept
[item_name] => Njoy Games & Comics Purchase
[mc_currency] => USD
[item_number] => 1
[residence_country] => US
[payment_gross] => 24.90
[shipping] => 0.00
[cmd] => _notify-validate
)> Email # 5

IPN FATAL ERROR :: Could not establish fsockopen.
Host Details = ssl://www.paypal.com:443 (0) Unable to find the socket
transport "ssl" - did you forget to enable it when you configured PHP?

Trying again without SSL ...> Email # 6

IPN INFO - Confirmation/Validation response
SUCCESS> Email # 7

Breakpoint: 1 - Collected data from PayPal notification> Email # 8

IPN INFO :: Transaction email details.
From IPN = [email protected] | [email protected]
From CONFIG = [email protected]> Email # 9

Breakpoint: 2 - Validated transaction components> Email # 10

Breakpoint: 3 - Communication method verified> Email # 11

IPN NOTICE :: Could not find matched txn_id record in DB. Therefore is new
to us.> Email # 12

Breakpoint: 4 - Details: txn_type=unique ordersID = 0 IPN_id=0

Relevant data from POST:
txn_type = unique
parent_txn_id = None
txn_id = 10439113L1447842F> Email # 13
Breakpoint: 5 - Transaction type (txn_type) = unique> Email # 14

IPN INFO :: Currency/Amount Details:
PayPal email address = [email protected]
| mc_currency = USD
| submitted_currency = USD
| order_currency = USD
| mc_gross = 24.90
| converted_amount = 24.90
| order_amount = 24.9[quote]

5 Jun 2007, 5:26 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: IPN Debug - Fatal Error email response on fsockopen and SSL

All of that information appears to be normal ... insomuch as it successfully receives data from PayPal, knows that it needs to insert the order, does the order insertion, and terminates normally.

You said you installed the latest patch. That would be the May 10 patch.

Do you have a PDT token set in your module?

5 Jun 2007, 5:31 AM
#5
babyface avatar

babyface

New Zenner

Join Date:
Jan 2007
Posts:
26
Plugin Contributions:
0

Re: IPN Debug - Fatal Error email response on fsockopen and SSL

we have the may 10th patch with the pdt active

7 Mar 2011, 4:18 PM
#6
courage9 avatar

courage9

New Zenner

Join Date:
Jan 2009
Posts:
74
Plugin Contributions:
0

Re: IPN Debug - Fatal Error email response on fsockopen and SSL

HELP... I am using 1.3.8a w pdt installed. We were hacked about 3 weeks ago and now these are the messages we get when a customer places a order. I did a test order and after paying for it at paypal it took me back to my website confirmation page, but there was no order number listed, nor was there any record in my admin that the order was placed...We did receive the money from PayPal.

This is the first of the debug emails:

First Email:

IPN INFO - POST VARS to be sent back for validation:
To: www.paypal.com:80
POST /cgi-bin/webscr HTTP/1.1
Host: https://www.paypal.com
Content-type: application/x-www-form-urlencoded
Content-length: 232
Connection: close

Array
(
[CONTEXT] => X3-7SZn2ExXucINxlliZ_05NdFsrIIpaV9TcRYNLL_GiOwm9XgEZzWKQeV0
[myAllTextSubmitID] =>
[cmd] => _notify-sync
[merchant_return_link] => click here
[form_charset] => UTF-8
[tx] =>
[at] => DTCuA**********7yKB8
)

Second Email:

IPN FATAL ERROR :: Could not establish fsockopen.
Host Details = www.paypal.com:80 (110) Connection timed out

Trying again without SSL ...

Third Email:

IPN FATAL ERROR :: Could not establish fsockopen.
Host Details = http://www.paypal.com:80 (0) Success

Trying again without specified protocol ...

Fourth Email:

IPN FATAL ERROR :: Could not establish fsockopen.
Host Details = www.paypal.com:80 (110) Connection timed out

ANY IDEAS??????:blush:

I know that we need to upgrade, and will soon, but we need to get this site up first!!

8 Mar 2011, 2:52 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: IPN Debug - Fatal Error email response on fsockopen and SSL

Your hosting company has something blocking your server from establishing outbound communications to PayPal:
Host Details = www.paypal.com:80 (110) Connection timed out

Log a ticket with them to sort out the problem.