Thread: IPN check error

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Oct 2007
    Posts
    157
    Plugin Contributions
    0

    Default IPN check error

    Today I received an order, but it wasn't recorded in my admin--I knew about the order from a paypal e-mail. I looked at the other threads on this, and read the wiki, but couldn't find what to do in this situation.

    When I do my ipn test, I get this error message:

    *********
    IPNCHECK.PHP - Version 1.0

    IPN TESTING - POSTING to PayPal via: ssl://www.paypal.com:443


    Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://www.paypal.com:443 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /home/XXXX/public_html/zen/extras/ipncheck.php on line 81
    IPN FATAL ERROR :: Could not establish fsockopen.
    Host Details = ssl://www.paypal.com:443 (-1213584893) Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?

    Trying again without SSL ...

    IPN TESTING - Confirmation/Validation response: RESPONSE RECEIVED - Communications OKAY


    Script finished.
    **********

    I've contacted my web host (who is listed here as recommended and zen certified). The tech person said I need to get a developer to fix whatever problem I have on line 81. I don't think I need to do that, since that is the ipncheck.php file, right?

    I turned the debug log on, but haven't been able to recreate the problem. This is the first it has happened. My host moved me to a different sever the about a month ago. I asked them if moving me would have caused the problem, and they said no. I checked my paypal settings and my IPN settings in my admin, and they seem fine. I don't know what to do, especially since I can't recreate the problem. But according to the IPN test message, it is functioning without SSL. My host seems to think it's my problem, that I've changed some files, which I haven't.

    Any ideas?

    Thanks!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: IPN check error

    Try the adjustments I posted here, even though you're using a different host:

    http://www.zen-cart.com/forum/showth...520#post612520
    .

    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
    Oct 2007
    Posts
    157
    Plugin Contributions
    0

    Default Re: IPN check error

    I forgot to add that I have the CURL turned off, I'm using Zen Cart 1.3.8a
    Database Patch Level: 1.3.8
    v1.3.8 [2008-01-25 02:12:18] (Fresh Installation)
    v1.3.8 [2008-01-25 02:12:18] (Fresh Installation)

    I just looked at my debug log, and it looks like the communication went fine? So why do I get the error on the ipn check? I've attached the log.
    Last edited by DrByte; 5 Nov 2008 at 03:22 AM. Reason: attachments removed for privacy

  4. #4
    Join Date
    Feb 2006
    Posts
    133
    Plugin Contributions
    0

    Default Re: IPN check error

    The same thing happened to me today with 2 orders, but I found in the Paypal developers forum that there was a slight problem with IPN's this afternoon. Perhaps that was your problem also. It seems to fine now, but I need to figure out what those 2 payments were for

    http://www.paypaldeveloper.com/pdn/b...hread.id=14351

  5. #5
    Join Date
    Oct 2007
    Posts
    157
    Plugin Contributions
    0

    Default Re: IPN check error

    Anita,
    I JUST got the e-mails for the order, and it showed up in my admin area. So, maybe that was the problem. And maybe that means you'll get your info too.

    But, for some reason, I still get that error message when I test the IPN.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: IPN check error

    I see nothing wrong in the logs.
    .

    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.

  7. #7
    Join Date
    Oct 2007
    Posts
    157
    Plugin Contributions
    0

    Default Re: IPN check error

    So, any idea why I get the error message when I try the ipn check?

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: IPN check error

    Sure -- it's a configuration limitation by your host. But, as you can see, after it skips attempting to communicate via SSL, it is able to connect fine. And, since the actual ipn handler uses the same fallback logic, there should be no problem.

    Granted, if you really want to ensure that the SSL warning is bypassed, follow the instructions I linked to in my first reply, above.
    .

    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.

  9. #9
    Join Date
    Oct 2007
    Posts
    157
    Plugin Contributions
    0

    Default Re: IPN check error

    Thanks Dr. Byte,
    Does this mean that it isn't secure since it has to communicate without SSL? Could that pose a security problem for my site?

  10. #10
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: IPN check error

    PayPal doesn't require that specific use of SSL for posting back IPN transmissions. I'm not sure why. But, at least you know they won't be chasing you about it.
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139a IPN error -- IPN URL encoded -- where do I find this?
    By jgold723 in forum Built-in Shipping and Payment Modules
    Replies: 17
    Last Post: 27 Dec 2013, 11:20 PM
  2. Replies: 1
    Last Post: 1 Apr 2011, 12:54 AM
  3. Paypal IPN Error
    By Aqid in forum PayPal Express Checkout support
    Replies: 7
    Last Post: 26 May 2009, 12:55 PM
  4. Paypal IPN issue - e-check issue...
    By Rasyr in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 17 Jan 2008, 06:07 PM
  5. Paypal IPN check out always shows 0.0
    By bhavi in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 24 Nov 2007, 09:40 PM

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