Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2007
    Posts
    26
    Plugin Contributions
    0

    Default 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 ...

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: IPN Debug - Fatal Error email response

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

    Quote Originally Posted by babyface View Post
    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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jan 2007
    Posts
    26
    Plugin Contributions
    0

    Default 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]

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default 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?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jan 2007
    Posts
    26
    Plugin Contributions
    0

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

    we have the may 10th patch with the pdt active

  6. #6
    Join Date
    Jan 2009
    Posts
    74
    Plugin Contributions
    0

    Default 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: 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??????


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

  7. #7
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default 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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Blank screen on checkout DEBUG: PHP Fatal error: Class 'ot_lev_discount' not found
    By JacobBushnell in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 23 Jun 2011, 06:34 PM
  2. Paypal IPN order email confirmation problem when debug mode on
    By carol in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 15 Jun 2009, 05:58 PM
  3. Debug: USPS rate quote response
    By animateclay in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 5 May 2008, 01:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR