• Resolved darklightfx

    (@darklightfx)


    As mentioned in the other similar threads we have also seen USPS shipping rate calculation not work for the past several days.

    We have temporarily set up an alternate method of calculating shipping using flat rate with some adjustments that I believe are in Woocommerce by default. The USPS shipping methods that would normally appear with this plugin do not appear – instead the fallback rate is shown.

    A suggestion for a known, widespread issue like this: it would be ideal if there was a notification in the WP dashboard that shipping calculation is not working. Instead a customer brought it to our attention after an unknown amount of time.

    We’ve been getting the below message in the logs:

    
    10-19-2021 @ 19:00:52 - Error: Unexpected USPS Response: <?xml version="1.0" encoding="UTF-8"?>
    <Error><Number>80040B1A</Number><Description>Authorization failure.  You are not authorized to connect to this server.</Description><Source>USPSCOM::DoAuth</Source></Error> (calculate_shipping)
    10-19-2021 @ 19:00:52 - Error: Unexpected USPS Response: <?xml version="1.0" encoding="UTF-8"?>
    <Error><Number>80040B1A</Number><Description>Authorization failure.  You are not authorized to connect to this server.</Description><Source>USPSCOM::DoAuth</Source></Error> (calculate_shipping)
    10-19-2021 @ 19:00:55 - Error: Unexpected USPS Response: <?xml version="1.0" encoding="UTF-8"?>
    <Error><Number>80040B1A</Number><Description>Authorization failure.  You are not authorized to connect to this server.</Description><Source>USPSCOM::DoAuth</Source></Error> (calculate_shipping)
    

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter darklightfx

    (@darklightfx)

    This is back to working normally, no changes on our end fixed (or caused) the issue.

    However I would not call this resolved. I’m wary to rely on this for rates now in case it fails again. What happened to cause rates to fail for multiple days for a ton of us? What is the likelihood of it happening in the future?

    The fallback rate is a good start for a backup, but one flat shipping cost for all orders is not viable. USPS shipping costs commonly vary between $5 or $25 – one number won’t work.

    I’d like to suggest the following small updates:

    – Option to send a notification email to the WordPress admin when a shipping rate request fails from this plugin.

    – For the fallback rate, allow it to at least be customized with the “shortcodes” like the default WordPress flat rate shipping calculation lets you do. Example below $5 + $0.25 per item + 5% of product price.
    [qty] * 0.25 + 5.00 + [fee percent="5" min_fee="0" max_fee="30"]

    • This reply was modified 3 years, 1 month ago by darklightfx.
    Plugin Support 3 Sons Development – a11n

    (@3sonsdevelopment)

    Hi there,

    I’m glad to hear this is working for you again. The API key that’s used to pull rates from the USPS had to be reset. That caused the disruption. This is the first time this has happened and it’s not something we anticipate happening again in the future.

    We always welcome suggestions on how to improve our plugins. Feel free to post these suggestions on the Ideas Board. The developers look here when deciding what new features to build for the plugins.

    https://ideas.woocommerce.com/forums/133476-woocommerce

    Let me know if you have any questions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘USPS Shipping Rates broken “You are not authorized to connect to this server”’ is closed to new replies.