Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Dec 2009
    Posts
    11
    Plugin Contributions
    0

    Default [not a bug] IPN FATAL ERROR :: Transaction did not validate. ABORTED

    I can't see orders in zen cart 1.3.9c after paypal IPN payment
    I have uninstall an reinstall Zencart IPN module and put on the log.

    So i had the log attached to this thread
    the last line is IPN FATAL ERROR :: Transaction did not validate. ABORTED.

    I have try after changing paypal preference (language encodage to UTF-8) and obtained a second log.

    Any ideas?
    Best Regards,
    Frédéric
    Last edited by frage; 1 Jun 2010 at 09:28 PM.

  2. #2
    Join Date
    Dec 2009
    Posts
    11
    Plugin Contributions
    0

    Default Re: IPN FATAL ERROR :: Transaction did not validate. ABORTED

    log files
    Attached Files Attached Files

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

    Default Re: IPN FATAL ERROR :: Transaction did not validate. ABORTED

    I'm not sure why you're getting CURL problems. I'm guessing that the problems you have will go away if you get CURL communications working properly. That said, the fsockopen fallback should work properly, but apparently it doesn't for you ... I'm not sure why, as I can't recreate the problem here.
    .

    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.

  4. #4
    Join Date
    Dec 2009
    Posts
    11
    Plugin Contributions
    0

    Default Re: IPN FATAL ERROR :: Transaction did not validate. ABORTED

    Thank you for your answer.

    So how could i control that curl is working well? should i install it as a modul on my linux server? Do you thing curl could be locked by iptables rules?

  5. #5
    Join Date
    Dec 2009
    Posts
    11
    Plugin Contributions
    0

    Default Re: IPN FATAL ERROR :: Transaction did not validate. ABORTED

    I tried this and i have the following results

    IPNCHECK.PHP - Version 1.3.9

    CURL ERROR: Attempted connection on: https://www.paypal.com/cgi-bin/webscr

    (7) couldn't connect to host

    Trying direct HTTP on port 80 instead ...

    IPN TESTING - Response Received via CURL -- COMMUNICATIONS OKAY



    IPN ERROR :: Could not establish fsockopen:

    Host Details = ssl://www.paypal.com:443 (110) Connection timed out

    Trying again with HTTPS over 443 ...

    IPN ERROR :: Could not establish fsockopen:

    Host Details = https://www.paypal.com:443 (136289744) Unable to find the socket transport "https" - did you forget to enable it when you configured PHP?

    Trying again directly over 443 ...

    IPN ERROR :: Could not establish fsockopen:

    Host Details = www.paypal.com:443 (110) Connection timed out

    Trying again with HTTP over port 80 ...

    IPN ERROR :: Could not establish fsockopen:

    Host Details = httpwww.paypal.com:80 (110)

    Trying again without any specified protocol, using port 80 ...

    IPN TESTING - Confirmation/Validation response with fsockopen(): FSOCKOPEN() RESPONSE RECEIVED - Communications OKAY



    Default method likely to be used for communications is: CURL, with the fallback method being FSOCKOPEN if possible.

    Script finished.

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

    Default Re: IPN FATAL ERROR :: Transaction did not validate. ABORTED

    Your CURL setup apparently doesn't understand how to communicate over SSL. In your server configurations you'll need to enable SSL for your CURL to work properly.
    .

    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
    Dec 2009
    Posts
    11
    Plugin Contributions
    0

    Default Re: IPN FATAL ERROR :: Transaction did not validate. ABORTED

    Seeing these messages I installed and configure SSL (even if i don't really use it) to see if this change something.

    I continue having exactly the same messages with ipncheck

    the following equivalent apache message can be more revelant


    [Wed Jun 02 11:49:42 2010] [error] PHP Warning: fsockopen(): unable to connect to ssl://www.paypal.com:443 (Connection timed out) in /myShop/ipncheck_2.php on line 124
    [Wed Jun 02 11:49:42 2010] [error] PHP Warning: fsockopen(): unable to connect to https://www.paypal.com:443 (Unable to find the socket transport "https" - did you forget to enable it when you configured PHP?) in /myShop/ipncheck_2.php on line 130
    [Wed Jun 02 11:49:54 2010] [error] PHP Warning: fsockopen(): unable to connect to ssl://www.paypal.com:443 (Connection timed out) in /myShop/ipncheck_2.php on line 124
    [Wed Jun 02 11:49:54 2010] [error] PHP Warning: fsockopen(): unable to connect to https://www.paypal.com:443 (Unable to find the socket transport "https" - did you forget to enable it when you configured PHP?) in /myShop/ipncheck_2.php on line 130
    [Wed Jun 02 11:50:12 2010] [error] PHP Warning: fsockopen(): unable to connect to www.paypal.com:443 (Connection timed out) in /myShop/ipncheck_2.php on line 136
    [Wed Jun 02 11:50:12 2010] [error] PHP Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /myShop/ipncheck_2.php on line 142
    [Wed Jun 02 11:50:12 2010] [error] PHP Warning: fsockopen(): unable to connect to httpwww.paypal.com:80 (Unknown error) in /myShop/ipncheck_2.php on line 142
    [Wed Jun 02 11:50:24 2010] [error] PHP Warning: fsockopen(): unable to connect to www.paypal.com:443 (Connection timed out) in /myShop/ipncheck_2.php on line 136
    [Wed Jun 02 11:50:24 2010] [error] PHP Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /myShop/ipncheck_2.php on line 142
    [Wed Jun 02 11:50:24 2010] [error] PHP Warning: fsockopen(): unable to connect to httpwww.paypal.com:80 (Unknown error) in /myShop/ipncheck_2.php on line 142
    f

    I can't anderstand where is really the problem. Any Idea?

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

    Default Re: IPN FATAL ERROR :: Transaction did not validate. ABORTED

    The problem is in your server's configuration.
    I can't tell you how to install and configure PHP to use SSL -- that's up to the server administrator to do/know.
    All I can tell you is that if you want to have secure communication to external services when handling payments (and yes, you need to do that even if you're not offering secure communications on the storefront for your customers' benefit), then you need to be sure your server can do it. A traditional webmaster is versed in these skills such as installing and compiling PHP and OpenSSL and enabling CURL etc. If you're taking on that responsibility for yourself, you're going to need to learn how to do that.
    .

    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
    Dec 2009
    Posts
    11
    Plugin Contributions
    0

    Default Re: IPN FATAL ERROR :: Transaction did not validate. ABORTED

    Is the port 443 open?

    netstat -tulpn | grep :443 return me
    tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 11386/apache2

    and in iptables i can see
    Chain INPUT
    0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
    1725 95340 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
    0 0 ACCEPT tcp -- * * 0.0.0.0/0 my.ip.my.ip tcp spts:1024:65535 dpt:443 state NEW,ESTABLISHED
    0 0 ACCEPT tcp -- * * 0.0.0.0/0 my.ip.my.ip tcp spt:443 dpts:1024:65535 state ESTABLISHED

    Chain OUTPUT
    0 0 ACCEPT tcp -- * * my.ip.my.ip 0.0.0.0/0 tcp spt:443 dpts:1024:65535 state ESTABLISHED
    0 0 ACCEPT tcp -- * * my.ip.my.ip 0.0.0.0/0 tcp spts:1024:65535 dpt:443 state NEW,ESTABLISHED
    0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443

    Is Open SSL running ?

    In my php info I can found:

    Registered Stream Socket Transports : tcp, udp, unix, udg, ssl, sslv3, sslv2, tls

    curl
    cURL support enabled
    cURL Information libcurl/7.15.5 OpenSSL/0.9.8c zlib/1.2.3 libidn/0.6.5

    openssl
    OpenSSL support enabled
    OpenSSL Version OpenSSL 0.9.8c 05 Sep 2006

  10. #10
    Join Date
    Dec 2009
    Posts
    11
    Plugin Contributions
    0

    Default Re: IPN FATAL ERROR :: Transaction did not validate. ABORTED

    I continue having "connection time out" and no TCP connect with Curl (curl error 7)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 [Not a bug] Why IPN cannot support JPY currency payment?
    By andyhuax in forum Bug Reports
    Replies: 2
    Last Post: 7 Nov 2012, 10:40 AM
  2. Replies: 15
    Last Post: 1 Jun 2010, 03:45 PM
  3. [Not a bug] PayPal IPN - Website Payments Standard 1.3.8a
    By shrimp-gumbo-mmmhhh in forum Bug Reports
    Replies: 2
    Last Post: 1 Oct 2009, 10:14 PM
  4. Replies: 2
    Last Post: 31 Aug 2009, 07:43 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