Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: ipn_main_handler.php not working properly?

    You can use both if you like, but that just creates confusion for your customers when they see two PayPal options and don't know what to choose. If a customer has to think "um, which one?", you slow them down during the most important phase of shopping: checkout/payment. Too many choices can cause them to stall, which could cause them to get sidetracked, and you lose a sale.

    Express Checkout lets them accelerate through checkout slightly faster and is somewhat more reliable than the IPN method.
    .

    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.

  2. #12
    Join Date
    Nov 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: ipn_main_handler.php not working properly?

    I am having the same problem when using PayPal express, the ipn_main_handler.php??type=ec comes up blank...

    I installed zen-cart-v1.3.7.1-full-patched-07052007, and also applied PPEC-137-patches-June17.zip.

    My hosting plan is GoDaddy Deluxe Hosting - Linux with Standard SSL installed.

    PayPal log says: [CURL_ERRORS] => (7) socket error: 110

    and IPN script says:
    IPN FATAL ERROR :: Could not establish fsockopen.


    How can I resolve the problem? Thanks for the help.


    Below is the info I collected:

    (1)The phpinfo shows curl is enabled:

    CURL support enabled
    CURL Information libcurl/7.10.6 OpenSSL/0.9.7a ipv6 zlib/1.2.3

    (2) ran curltest.php with below results:

    CURL Test Page
    This page is intended for testing CURL behaviour. You should be accessing this page via CURLTEST.PHP running on YOUR server.

    You submitted the following fields and data:

    Array
    (
    [field1] => This is a test
    [statuskey] => ready
    )

    Data validation
    Good
    Other Info
    Your server IP address is: 64.202.161.130.
    user-agent: unknown.

    Array
    (
    [url] => "http://www.zen-cart.com/testcurl.php"
    [content_type] => text/html
    [http_code] => 200
    [header_size] => 168
    [request_size] => 245
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 1.997
    [namelookup_time] => 0.054
    [connect_time] => 0.054
    [pretransfer_time] => 0.054
    [size_upload] => 0
    [size_download] => 2142
    [speed_download] => 1072.60891337
    [speed_upload] => 0
    [download_content_length] => 0
    [upload_content_length] => 0
    [starttransfer_time] => 1.966
    [redirect_time] => 0
    )

    (3) ipncheck.php result:

    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 (Connection timed out) in /home/content/p/i/e/piermallstore/html/ipncheck.php on line 81
    IPN FATAL ERROR :: Could not establish fsockopen.
    Host Details = ssl://www.paypal.com:443 (110) Connection timed out

    Trying again without SSL ...

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

    Script finished.

    (4) found in the PayPal log:

    Response:
    Array
    (
    [] =>
    [CURL_ERRORS] => (7) socket error: 110
    )

    (7) socket error: 110
    Array
    (
    [url] => https://api-3t.paypal.com/nvp
    [http_code] => 0
    [header_size] => 0
    [request_size] => 0
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0
    [namelookup_time] => 0.044
    [connect_time] => 0
    [pretransfer_time] => 0
    [size_upload] => 0
    [size_download] => 0
    [speed_download] => 0
    [speed_upload] => 0
    [download_content_length] => 0
    [upload_content_length] => 0
    [starttransfer_time] => 0
    [redirect_time] => 0
    )

  3. #13
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: ipn_main_handler.php not working 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.

  4. #14
    Join Date
    Nov 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: ipn_main_handler.php not working properly?

    Thanks, Dr. It's working now!

  5. #15
    Join Date
    Dec 2006
    Location
    Toronto, Ontario, CANADA
    Posts
    21
    Plugin Contributions
    0

    Default Re: ipn_main_handler.php not working properly?

    I have CURL for GoDaddy setup yet I still get the SSL error..

    CURLTEST.php
    Array
    (
    [field1] => This is a test
    [statuskey] => ready
    )
    Data validation

    Good
    Yet the IPN_CHECK.php gives:

    IPNCHECK.PHP - Version 1.0

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


    Warning: fsockopen(): unable to connect to www.paypal.com:443 in /home/content/c/s/m/csm4042794/html/store/extras/ipncheck.php on line 81
    IPN FATAL ERROR :: Could not establish fsockopen.
    Host Details = ssl://www.paypal.com:443 (110) Connection timed out

    Trying again without SSL ...

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


    Script finished.
    Where do I look to solve the fsockopen issue?

  6. #16
    Join Date
    Dec 2006
    Location
    Toronto, Ontario, CANADA
    Posts
    21
    Plugin Contributions
    0

    Default Re: ipn_main_handler.php not working properly?

    Also,

    Database: MySQL 4.1.22-max-log
    PHP Version: 4.3.11 (Zend: 1.3.0)
    Zen Cart 1.3.8
    Database Patch Level: 1.3.8
    https:// works fine

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v139h why does not $zco_notifier->notify(...) work for ipn_main_handler.php?
    By linjuming in forum General Questions
    Replies: 2
    Last Post: 9 Oct 2012, 02:00 AM
  2. v139h StockByAttributes Not Working Properly
    By lorddracoverash in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 28 Feb 2012, 05:16 PM
  3. Admin not working properly
    By nutmeg613 in forum General Questions
    Replies: 1
    Last Post: 6 Jul 2009, 02:46 AM
  4. Server shift - ipn_main_handler.php stopped working
    By robax in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 31 Oct 2008, 01:16 PM

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