Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2007
    Location
    Spudville
    Posts
    62
    Plugin Contributions
    0

    Default PayPal EC API error

    Yesterday I received this error as someone was checking out using PayPal Express checkout:

    - (6) Couldn't resolve host 'api-3t.paypal.com'

    I received the order and payment fine. But I have noticed that the paypal pages are running very slow when I do a test order.

    I contacted Paypal and this is the response I received:

    You're using a wrong endpint. Take a look at the list below and make sure you are using the correct one.

    Endpoints:
    Live API Certificate Name-Value Pair https://api.paypal.com/nvp
    Live API Signature Name-Value Pair https://api-3t.paypal.com/nvp
    Live API Certificate SOAP https://api.paypal.com/2.0/
    Live API Signature SOAP https://api-3t.paypal.com/2.0/
    Sandbox API Certificate Name-Value Pair https://api.sandbox.paypal.com/nvp
    Sandbox API Signature Name-Value Pair https://api.sandbox.paypal.com/nvp
    Sandbox API Certificate SOAP https://api.sandbox.paypal.com/2.0/
    Sandbox API Signature SOAP https://api.sandbox.paypal.com/2.0/


    I am not sure what to do with this information and I am looking for some guidance.

    I have 1.3.8 (some of 1.3.8a)
    latest PayPal patch
    www.PrairieRoses.com
    A Country Sensibility

  2. #2
    Join Date
    Jan 2004
    Posts
    66,385
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: PayPal EC API error

    Zen Cart is correctly using the required endpoint:
    Live API Signature Name-Value Pair https://api-3t.paypal.com/nvp
    PayPal has been having problems with some of their "3t" servers since their recent maintenance updates in the last couple weeks. You might get more attention if you keep complaining to them when the problem occurs.

    Additionally, if the "cannot resolve host" message is constant, you may have a problem on your hosting company's webserver with respect to DNS lookups, and should be reporting the matter to them.
    .

    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
    Apr 2007
    Location
    Spudville
    Posts
    62
    Plugin Contributions
    0

    Default Re: PayPal EC API error

    Thanks, I'll keep an eye out for more errors and talk with my host if necessary.

    www.PrairieRoses.com
    A Country Sensibility

  4. #4
    Join Date
    Apr 2007
    Posts
    138
    Plugin Contributions
    0

    Default Re: PayPal EC API error

    I've having this same problem quite frequently. Sometimes 20 times in a day. It's been going on for the past week and is very frustrating.

    I reported it to PayPal and they basically said they couldn't figure it out because it was intermitant. They requested I ping their server right when it happens. As you can imagine, that's pretty much impossible.

  5. #5
    Join Date
    Apr 2007
    Location
    Spudville
    Posts
    62
    Plugin Contributions
    0

    Default Re: PayPal EC API error

    I am still getting this error intermittently. In addition I received this error this morning:

    10002 Authentication/Authorization Failed - Internal Error

    I have sent a follow up email to PayPal support. I suspect a misconfiguration with my API settings since I recently moved my store to a new domain. Still doesn't explain why these issues showed up over a month after the fact. I am concerned because these issues are hurting conversions.

    I will post any responses I receive. Also sending a support ticket to my host.
    www.PrairieRoses.com
    A Country Sensibility

  6. #6
    Join Date
    Apr 2007
    Location
    Spudville
    Posts
    62
    Plugin Contributions
    0

    Default Re: PayPal EC API error

    Still no answer from PayPal about the API error. They did respond to my inquiry about this error:

    10002 Authentication/Authorization Failed - Internal Error

    This error occurs because you need to set your permissions in your PayPal account. In order for a third party to make API calls on your behalf, you have to explicitly grant them permission to do so.
    I could not find any instructions from the zen-cart instructions for this. So I think this is just a lazy answer?

    I sent a follow-up about the API error - which they have so far ignored.
    www.PrairieRoses.com
    A Country Sensibility

  7. #7
    Join Date
    Jan 2004
    Posts
    66,385
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: PayPal EC API error

    Zen Cart does not use the permission-based API method.

    10002 Authentication/Authorization Failed - Internal Error
    An "internal error" would be an error that was happening internally at PayPal.
    Unless your debug logs show more details in the "long message" text accompanying the short message, then you're at the mercy of PayPal tech staff to tell you what's really causing it and to fix 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.

  8. #8
    Join Date
    Jul 2007
    Posts
    18
    Plugin Contributions
    0

    Default Re: PayPal EC API error

    I had the same problem for the last 3 days and finally the issue was resolved, so here are some pointers:
    1- Using Paypal standard payment worked but not the express checkout option, I was getting same message (6) Couldn't resolve host 'api-3t.paypal.com'. I was having the same problem with the UPS shipping and USPS shipping modules. In a nutshell every time I was trying to reach an outside server, it was failing
    2- I have my own vps server and have many websites, and the problem was the same on all websites so it was not site related but server related.
    3- Looking around forums, I finally found a temporary solution which consisted of changing the scripts in question. For example for UPS in the file includes/modules/shipping/ups.php on line 388 I replaced
    if ($http->Connect('www.ups.com',80)) by
    if ($http->Connect('153.2.228.50',80)) which is the IP address of the UPS server.
    Note that this is a quick fix that will not resolve the larger problem at hand.
    4- The real problem was that there has been an update of cpanel that created the problem and my hosting provider kept on ignoring that fact ( they usually wont admit to a problem being their responsibility). After 3 days of bugging them, they finally found the problem and solution on their end and ALL the problems disappeared as they appeared, instantly!!!
    So basically if you run into this kind of problems it is most likely a server related problem. I am posting this hoping it will help some people from going thru the same loss of time I did and because often on these threads people don't post what the solution of the problem was (which is frustrating).

  9. #9
    Join Date
    Apr 2007
    Location
    Spudville
    Posts
    62
    Plugin Contributions
    0

    Default Re: PayPal EC API error

    I never posted a solution because the problem has not come up in the last few weeks. Whether it was my host or paypal, the issue appears resolved. Since I don't know what the exact problem was, I couldn't post a solution. Your workaround gives one possible resolution!
    www.PrairieRoses.com
    A Country Sensibility

 

 

Similar Threads

  1. v139h Paypal error (6) Couldn't resolve host 'api-3t.paypal.com'
    By shags38 in forum PayPal Express Checkout support
    Replies: 25
    Last Post: 21 Jun 2013, 10:22 AM
  2. PayPal API Certificate vs. API signature
    By fssi2100 in forum PayPal Website Payments Pro support
    Replies: 0
    Last Post: 14 Jan 2011, 07:21 PM
  3. ####- ##(35) Unknown SSL protocol error in connection to api-3t.paypal.com:443
    By samar777 in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 10 Dec 2010, 03:27 PM
  4. PayPal express error (6) Couldn't resolve host 'api-3t.paypal.com'
    By SeaMonkey76 in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 1 Jul 2010, 09:48 PM
  5. Paypal error message - SOAP api
    By chhay in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 14 Jan 2007, 10: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