Results 1 to 10 of 17

Hybrid View

  1. #1

    Default USPS Web Tools Errors

    USPS Web Tools Errors

    Over the past week or so, my shopping cart has not displayed shipping cost quotes for USPS. I was made aware of the problem by one of my customers who complained about errors and not being able to use any other shipping service other than UPS, which costs more than USPS. The error message is “An error occurred in obtaining USPS shipping quotes. If you prefer to use USPS as your shipping method, please try refreshing this page, or contact the store owner.” I was using an older version of the USPS shipping module at the time, and subsequently upgraded the module to the most current one identified as USPS Version Date 2015-05-31. Several tests and customers later have resulted in the same failure and error message. Shipping methods I have selected are limited to Priority Mail, Priority Mail Express, and Priority Mail International. My Zen-cart version is 1.3.8a. PHP version 5.2.17 .
    I have changed various settings in admin several times to hopefully stumble upon a solution to no avail. Currently my module setting are:
    USPS Version Date
    2015-05-31

    Enable USPS Shipping
    True

    Full Name or Short Name
    Long

    Enter the USPS Web Tools User ID
    xyz…

    Which server to use
    production

    Quote Sort Order
    Price-LowToHigh

    Handling Fee - US
    0

    Handling Fee - International
    0

    Handling Per Order or Per Box
    Box

    Decimal Settings
    2

    Tax Class
    Non-Taxable Services

    Tax Basis
    Shipping

    Shipping Zone
    --none--

    Sort Order
    2

    All Packages are Machinable?
    True

    USPS Options
    Display weight

    USPS Domestic Transit Time Calculation Mode
    NEW

    USPS Domestic minimum Length
    8.625

    USPS minimum Width
    5.375

    USPS minimum Height
    1.625

    USPS International minimum Length
    9.50

    USPS minimum Width
    1.0

    USPS minimum Height
    5.50

    Enable USPS First-Class filter for US shipping
    False

    Shipping Methods (Domestic and International)
    0, .21875, 0.00, 0, .8125, 0.00, 0, .8125, 0.00, 0, .8125, 0.00, 0, 70, 0.00, 0, 70, 0.00, Priority MailTM, 0.1, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 15, 0.00, 0, 20, 0.00, 0, 25, 0.00, Priority Mail ExpressTM, 0.1, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, .21875, 0.00, 0, 4, 0.00, 0, 4, 0.00, Priority Mail InternationalRM, 0.1, 66, 0.00, 0, 4, 0.00, 0, 4, 0.00, 0, 20, 0.00, 0, 20, 0.00, 0, 66, 0.00, 0, 4, 0.00, 0, 20, 0.00, 0, 70, 0.00, 0, 70, 0.00

    Extra Services (Domestic)
    Certified MailRM, N, USPS TrackingTM Electronic, N, USPS TrackingTM, N, Insurance, N, Priority Mail Express Insurance, N, Priority Mail Insurance, N, Adult Signature Restricted Delivery, N, Adult Signature Required, Y, Registered MailTM, N, Collect on Delivery, N, Return Receipt for Merchandise, N, Return Receipt, N, Certificate of Mailing (Form 3665), N, Certificate of Mailing (Form 3817), N, Signature ConfirmationTM Electronic, N, Signature ConfirmationTM, N, Priority Mail Express 1030 AM Delivery, N, Certified MailRM Restricted Delivery, N, Certified MailRM Adult Signature Required, N, Certified MailRM Adult Signature Restricted Delivery, N, Signature ConfirmationTM Restricted Delivery, N, Signature ConfirmationTM Electronic Restricted Delivery, N, Collect on Delivery Restricted Delivery, N, Registered MailTM Restricted Delivery, N, Insurance Restricted Delivery, N, Insurance Restricted Delivery (Priority Mail Express), N, Insurance Restricted Delivery (Priority Mail), N

    Extra Services (International)
    Registered Mail, N, Insurance, N, Return Receipt, N, Electronic USPS Delivery Confirmation International, N, Certificate of Mailing, N

    Retail pricing or Online pricing?
    Online

    Debug Mode
    Off
    My suspicion is that my shared server host has made some changes that may have been a factor. In the past they have confirmed that curl is enabled. However, since the USPS API is undergoing so may changes recently, I am in a cloud of various scenarios. Any solutions or suggestions would be appreciated.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: USPS Web Tools Errors

    If you go to the Modules ... Shipping ... and edit USPS, can you turn on the Debug to Log and try a quote?

    Then look in /logs (this is /cache in older Zen Cart versions) and Zip the Shipping Log file that is created and attach it to your post?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3

    Default Re: USPS Web Tools Errors

    Quote Originally Posted by Ajeh View Post
    If you go to the Modules ... Shipping ... and edit USPS, can you turn on the Debug to Log and try a quote?

    Then look in /logs (this is /cache in older Zen Cart versions) and Zip the Shipping Log file that is created and attach it to your post?
    OK log zip uploaded (hopefully).

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: USPS Web Tools Errors

    You are getting an error:
    Code:
    Aug 21 2015 19:30:26 -- CommErr (should be 0): 7 - couldn't connect to host
    Check with your host to see if either you have a problem with cURL or a communication issue with usps ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5

    Default Re: USPS Web Tools Errors

    My host support team asked me for the url to the api. They will test for connectivity. I gave them this snippet of code:

    This is from the currently installed usps.php code:

    switch (MODULE_SHIPPING_USPS_SERVER) {
    case 'production':
    $usps_server = 'http://production.shippingapis.com';
    $api_dll = 'shippingapi.dll';
    break;
    case 'test':
    default:
    // 09-7-2014
    //Secure APIs: https://stg-secure.shippingapis.com/ShippingApi.dll
    //Non-secure APIs: http://stg-production.shippingapis.com/ShippingApi.dll
    $usps_server = 'http://stg-production.shippingapis.com';
    $api_dll = 'ShippingApi.dll';
    break;
    }

    Looking at this code, it appears that there is no longer a url for an https connection. Since I am using https for my shopping cart, may this be a problem?

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: USPS Web Tools Errors

    That should have no bearing on things ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. USPS Web Tools 9/7/2014
    By mprough in forum General Questions
    Replies: 1
    Last Post: 29 Aug 2014, 10:35 PM
  2. v139h USPS web tools
    By outwest in forum Built-in Shipping and Payment Modules
    Replies: 12
    Last Post: 28 Apr 2012, 06:59 AM
  3. USPS Web Tools ???
    By vedavyas govardhanam in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 29 Jan 2010, 03:33 PM
  4. RE: USPS Web Tools™ Customers
    By rnet in forum General Questions
    Replies: 4
    Last Post: 3 Oct 2006, 09:04 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