• Resolved richrabago

    (@richrabago)


    I just did an update to USPS Live Rates Version 3.1.1.

    I get the below error when no shipping rates are available. This happens because I only offer Priority Mail and when the customer wants more than 70lbs of products only UPS options should be shown. Fortunately, this error only shows up for WordPress Admins working on the website and not Customers. “Enable debug mode” is NOT turned on. The error further says this is an “Unknown exception!”. This is an expected Situation when no viable USPS options are available. What can I do to not have this error show up on the cart page and on the checkout page. Please let me know if you need additional information.

    USPS Live Rates: Error while getting rates
    Show Response Copy Response to clipboard
    USPS Live Rates: Unknown exception!

    Array
    (
    [apiVersion] => /prices/v3
    [error] => Array
    (
    [code] => 400
    [message] => Bad Request
    [errors] => Array
    (
    [0] => Array
    (
    [title] => Bad Request
    [detail] => No valid rates for these parameters.
    [code] => 030020
    [source] => Array
    (
    [parameter] => baseRates
    )

    )

    )

    )

    )
    Array
    (
    [originZIPCode] => 92020
    [weight] => 164
    [length] => 12
    [width] => 10
    [height] => 5
    [mailClass] => ALL
    [priceType] => RETAIL
    [destinationZIPCode] => 80206
    )
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support kotmateusz

    (@kotmateusz)

    Hi @richrabago
    Thank you for reaching out.

    We are looking forward to implementing changes regarding these notifications.

    Thank you for your patience.

    Kind regards,
    Mateusz

    Plugin Support kotmateusz

    (@kotmateusz)

    @richrabago We have released a new version of the plugin.

    Please perform an update for your instance.

    Kind regards,
    Mateusz

    • This reply was modified 9 months, 2 weeks ago by kotmateusz.
    Thread Starter richrabago

    (@richrabago)

    Hi @kotmateusz

    I just updated the plugin. I still get the same error as above when USPS or UPS (different plugin) when there is not a shipping option available. But now it at least says that the error is only shown to Administrators. Is this the expected solution behavior?

    If that is the expected solution I can work with the shop manager and other admins to ignore errors like that. But I would think that and prefer if the solution was NO error showed up when there is just no shipping option available (over weight, no address added yet).

    Thank you very much!

    Plugin Support kotmateusz

    (@kotmateusz)

    Hi @richrabago

    Thank you for your message.

    This is expected behavior. The reason why you see this message is based on current checkout situation. If there are no shipping options available, we display such messages to inform the admin about potential inconvenience and to help them apply fixes.

    Kind regards,
    Mateusz

    Plugin Support kotmateusz

    (@kotmateusz)

    As we haven’t got any response for a week,

    We will mark this thread as resolved.

    Kind regards,
    Mateusz

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘USPS Live Rates: Error while getting rates’ is closed to new replies.