Page 1 of 3 123 LastLast
Results 1 to 10 of 27
  1. #1
    Join Date
    Dec 2012
    Posts
    15
    Plugin Contributions
    0

    Default Help please. Urgent. My site paypal express stopped working () - (28) connect() timed

    Hi,
    This is my first time in Zencart forum.
    I recently experienced a problem with my site ( www.mmaapparel.com.au) using Paypal express checkout.
    Anyone that uses the Paypal Express checkout gets this error:
    'An error occurred when we tried to contact the payment processor. Please try again, select an alternate payment method, or contact the store owner for assistance. () - (28) connect() timed out!'
    I am using v1.3.9f of Zencart.
    The Paypal express module has all the correct API details.

    I'm loosing a lot of potential sales because of this issue. If you could help please let me know.

    Log files below.

    2012-12-15 04:15:05
    -------------------
    (live transaction) --> https://api-3t.paypal.com/nvp
    Request Headers:
    Array
    (
    [0] => Content-Type: text/namevalue
    [1] => X-VPS-Timeout: 45
    [2] => X-VPS-VIT-Client-Type: PHP/cURL
    [3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart(tm) - PayPal/NVP
    [4] => X-VPS-VIT-Integration-Version: 1.3.9f
    )


    Request Parameters: {SetExpressCheckout}
    Array
    (
    [AMT] => 24.00
    [ITEMAMT] => 24.00
    [L_NUMBER0] =>
    [L_NAME0] => TapouT Magazine * MMA Worldwide
    [L_AMT0] => 24.00
    [L_QTY0] => 1
    [LOCALECODE] => AU
    [PAYMENTACTION] => Sale
    [ALLOWNOTE] => 1
    [LANDINGPAGE] => Billing
    [RETURNURL] => http://mmaapparel.com.au/ipn_main_handler.php?type=ec
    [CANCELURL] => http://mmaapparel.com.au/index.php?m...in&ec_cancel=1
    [PAGESTYLE] => Primary
    [METHOD] => SetExpressCheckout
    [CURRENCYCODE] => AUD
    [USER] => chris_api1.mmaapparel.com.au
    [PWD] => ****************
    [VERSION] => 60.0
    [SIGNATURE] => ****************************************************oJMq
    )


    Response:
    Array
    (
    [] =>
    [CURL_ERRORS] => (28) connect() timed out!
    )

    (28) connect() timed out!
    Array
    (
    [url] => https://api-3t.paypal.com/nvp
    [content_type] =>
    [http_code] => 0
    [header_size] => 0
    [request_size] => 0
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 60.063898
    [namelookup_time] => 0.006383
    [connect_time] => 0
    [pretransfer_time] => 0
    [size_upload] => 0
    [size_download] => 0
    [speed_download] => 0
    [speed_upload] => 0
    [download_content_length] => -1
    [upload_content_length] => -1
    [starttransfer_time] => 0
    [redirect_time] => 0
    [certinfo] => Array
    (
    )

    [redirect_url] =>
    )


    SetExpressCheckout, Elapsed: 60065ms -- Failed
    (28) connect() timed out!
    Array
    (
    [url] => https://api-3t.paypal.com/nvp
    [content_type] =>
    [http_code] => 0
    [header_size] => 0
    [request_size] => 0
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 60.063898
    [namelookup_time] => 0.006383
    [connect_time] => 0
    [pretransfer_time] => 0
    [size_upload] => 0
    [size_download] => 0
    [speed_download] => 0
    [speed_upload] => 0
    [download_content_length] => -1
    [upload_content_length] => -1
    [starttransfer_time] => 0
    [redirect_time] => 0
    [certinfo] => Array
    (
    )

    [redirect_url] =>
    )




    Dec-15-2012 04:15:05 (1355566505)
    termEC-1
    Killed the session vars as requested
    =================================

    Dec-15-2012 04:15:05 (1355566505)
    termEC-2
    BEFORE: $this->showPaymentPage = 0
    Token Data:
    =================================

    Dec-15-2012 04:15:05 (1355566505)
    termEC-3
    AFTER: $this->showPaymentPage = 0
    =================================

    Dec-15-2012 04:15:05 (1355566505)
    termEC-9
    We are NOT logged in, so set snapshot to Shipping page, and redirect to login
    =================================

    Dec-15-2012 04:15:05 (1355566505)
    termEC-10
    Redirecting to login - Stack: login
    Message: An error occurred when we tried to contact the payment processor. Please try again, select an alternate payment method, or contact the store owner for assistance. () - (28) connect() timed out!
    Session Data: Array
    (
    [securityToken] => 7c2ff51c887e296ebffb5f59c396ab87
    [customers_host_address] => 124-171-17-91.dyn.iinet.net.au
    [cartID] =>
    [cart] => shoppingCart Object
    (
    [contents] => Array
    (
    [111] => Array
    (
    [qty] => 1
    )

    )

    [total] => 24
    [weight] => 0
    [cartID] => 50360
    [content_type] => physical
    [free_shipping_item] => 0
    [free_shipping_weight] => 0
    [free_shipping_price] => 0
    )

    [navigation] => navigationHistory Object
    (
    [path] => Array
    (
    [0] => Array
    (
    [page] => index
    [mode] => NONSSL
    [get] => Array
    (
    [type] => ec
    )

    [post] => Array
    (
    )

    )

    )

    [snapshot] => Array
    (
    [page] => index
    [mode] => NONSSL
    [get] => Array
    (
    [type] => ec
    )

    [post] => Array
    (
    )

    )

    )

    [check_valid] => true
    [language] => english
    [languages_id] => 1
    [languages_code] => en
    [currency] => AUD
    [today_is] => 2012-12-15
    [updateExpirations] => 1
    [session_counter] => 1
    [customers_ip_address] => 124.171.17.91
    [valid_to_checkout] => 1
    [cart_errors] =>
    [new_products_id_in_cart] =>
    [payment] => paypalwpp
    [cot_gv] => 0
    [messageToStack] => Array
    (
    [0] => Array
    (
    [class] => login
    [text] => An error occurred when we tried to contact the payment processor. Please try again, select an alternate payment method, or contact the store owner for assistance. () - (28) connect() timed out!
    [type] => error
    )

    )

    )

    =================================

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

    Default Re: Help please. Urgent. My site paypal express stopped working () - (28) connect() t

    Quote Originally Posted by cru22z View Post
    (28) connect() timed out!
    That means when Zen Cart attempted to use PHP's CURL client to connect to PayPal's servers, it failed because the attempted connection timed out, ie: took longer than 45 seconds.

    This is basically the same thing that happens in your own browser (IE/Firefox/etc) when you try to go to a website that's unresponsive.

    It could be a result of the server being down, or the URL being wrong, or something blocking it in the server's internet configuration or firewall. It could also be something wrong with the server's DNS or resolv.cfg settings.
    It's something your hosting company's server administrator must fix for you.
    .

    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
    Dec 2012
    Posts
    15
    Plugin Contributions
    0

    Default Re: Help please. Urgent. My site paypal express stopped working () - (28) connect() t

    Hi DrByte
    I was told by the website creator and is also looks after the hosting that the problem has nothing to do with the host but the Paypal express module is no longer supported in zencart. I'm confused by this. They are now charging me to get them to fix and implement the Paypal module again which will take 3 days.
    Can anyone shed a light on this please?
    The site was working well with Paypal express for the last 3 years and all of sudden just stop.

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Help please. Urgent. My site paypal express stopped working () - (28) connect() t

    Quote Originally Posted by cru22z View Post
    I was told by the website creator and is also looks after the hosting that the problem has nothing to do with the host but the Paypal express module is no longer supported in zencart.
    Before I can comment on this, I guess the 1st thing we need to know is what version of ZenCart are running?

    Although I'm not familiar with all the details I am aware that the PayPal Express module has undergone numerous changes over the years. If you haven't kept up to date with things it is quite possible that something no longer works.

    Having said that, I am more interested in knowing what has *recently* changed in your store, because it is quite unusual for this type of problem to occur 'out of the blue'

    Quote Originally Posted by cru22z View Post
    I'm confused by this. They are now charging me to get them to fix and implement the Paypal module again which will take 3 days.
    Can anyone shed a light on this please?
    Not really. It isn't for your host or site creator to 'fix' any zencart code. Installing, or re-installing something that has gotten broken somehow is a different matter. I am assuming that the 3 days will be how long until they can devote the resoursces to fixing the problem, rather than the amount of time it is actually going to take to fix.

    Quote Originally Posted by cru22z View Post
    The site was working well with Paypal express for the last 3 years and all of sudden just stop.
    This a worry.... 3 years would imply that you are running Zencart V1.3.8a (or earlier). You may have been hacked.

    Cheers
    Rod

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

    Default Re: Help please. Urgent. My site paypal express stopped working () - (28) connect() t

    Quote Originally Posted by cru22z View Post
    I was told by the website creator and is also looks after the hosting that the problem has nothing to do with the host but the Paypal express module is no longer supported in zencart.
    Bollocks. Either you're misunderstanding what they're telling you, or they're lying or they don't have a clue what they're talking about and thus should not be trusted to fix it for any fee.
    .

    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.

  6. #6
    Join Date
    Dec 2012
    Posts
    15
    Plugin Contributions
    0

    Default Re: Help please. Urgent. My site paypal express stopped working () - (28) connect() t

    I am using v1.3.9f of Zencart.

    NOw they are telling me that paypal maybe blocking my site..eitherway i tried to find contact on paypal mercharnt services but no number only email

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

    Default Re: Help please. Urgent. My site paypal express stopped working () - (28) connect() t

    It's highly unlikely that PayPal is blocking you.

    You can contact them by logging a ticket at www.paypal.com/mts

    You can also remove Zen Cart from the picture and just test PayPal connectivity directly by using the utility in your "extras" folder, as described here:
    http://www.zen-cart.com/showthread.p...187#post434187
    ie: your_site.com/extras/curltester.php?paypal=1
    If your hosting company is willing to do more than pass the buck by blaming PayPal, they could look at that curltester script and use it to do deep diagnostics on their server to find out exactly why they're getting a timeout.

    Chances are your hosting company has an outdated DNS cache and is pointing the PayPal server URL to an obsolete IP address.
    Again, if they're not passing the buck then you should be able to get them to give you the IP address that their server is pointing to when it attempts to connect to the PayPal servers (the URL is in the curltester.php script), and see whether it matches the IP addresses PayPal has said it should resolve to: https://ppmts.custhelp.com/app/answers/detail/a_id/92 If the server isn't resolving the name to the correct IP address, then the server is misconfigured. This is basic server stuff and the hosting company's server administrator should already be an expert in those things.
    .

    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.

  8. #8
    Join Date
    Dec 2012
    Posts
    15
    Plugin Contributions
    0

    Default Re: Help please. Urgent. My site paypal express stopped working () - (28) connect() t

    Hi
    I ran curltester and got this within my site.
    PAGE NOT FOUND
    Custom 404 Error Page with Site Map Sample Text ...

    Put your custom "page not found" message here. You can change this text in the Define Pages Editor located under Tools in the Admin.

    For ipncheck.php I got
    IPNCHECK.PHP - Version 1.0

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

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


    Script finished.

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

    Default Re: Help please. Urgent. My site paypal express stopped working () - (28) connect() t

    Quote Originally Posted by cru22z View Post
    I ran curltester and got this within my site.
    PAGE NOT FOUND
    Custom 404 Error Page with Site Map Sample Text ...

    Put your custom "page not found" message here. You can change this text in the Define Pages Editor located under Tools in the Admin.
    Sounds like your curltester.php script file is missing, or you mistyped the name.
    Quote Originally Posted by cru22z View Post
    For ipncheck.php I got
    IPNCHECK.PHP - Version 1.0
    Looks like you have an old version. It should say Version 1.3.9 since you said you're using v1.3.9f of Zen Cart.
    .

    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.

  10. #10
    Join Date
    Dec 2012
    Posts
    15
    Plugin Contributions
    0

    Default Re: Help please. Urgent. My site paypal express stopped working () - (28) connect() t

    Where can I find the latest IPN and curl tester file?

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v154 PayPal Express Checkout getting (28) connect() timed out!
    By batracy in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 23 Dec 2015, 02:53 AM
  2. Urgent help please. All attributes stopped working!
    By michaelchu in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 7 Jul 2012, 10:24 PM
  3. paypal express (7) couldn't connect to host & (28) connect() timed out
    By delia in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 9 Sep 2010, 12:36 PM
  4. PayPal Express Suddenly Stopped Working on my Store
    By Tim M in forum PayPal Express Checkout support
    Replies: 6
    Last Post: 28 Sep 2009, 05:36 AM
  5. Paypal express stopped working- only get so far!
    By finestimaginary in forum PayPal Express Checkout support
    Replies: 4
    Last Post: 10 Jun 2008, 12:49 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