Support » Plugin: USPS Shipping for WooCommerce - Live Rates » Error :Missing value for ZipDestination

  • Resolved rajulake

    (@rajulake)


    Shows error: Error :Missing value for ZipDestination
    When you enable services custom settings the different options for postal rates both from domestic table & international rates dont appear under shipping.

    Is there a solution to this issue.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • HI @rajulake, thank you for reaching out to us.

    I would kindly ask you to send us the full debug mode that includes API request and response?

    Best regards,
    Karolina

    Thread Starter rajulake

    (@rajulake)

    USPS Live Rates: Missing value for ZipDestination.

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <RateV4Request USERID=”115SHOPL0021″>
    <Revision>2</Revision>
    <Package ID=”1″>
    <Service>ONLINE</Service>
    <FirstClassMailType>PACKAGE</FirstClassMailType>
    <ZipOrigination>85083-6509</ZipOrigination>
    <ZipDestination></ZipDestination>
    <Pounds>0</Pounds>
    <Ounces>0</Ounces>
    <Container></Container>
    <Value>7.99</Value>
    <SpecialServices>
    <SpecialService>100</SpecialService>
    </SpecialServices>
    <Machinable>true</Machinable>
    </Package>
    </RateV4Request>

    USPS Live Rates: USPS API Response

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <Error>
    <Number>-2147219099</Number>
    <Source>clsRateV4:UnpackRateNode</Source>
    <Description>Missing value for ZipDestination.</Description>
    <HelpFile/>
    <HelpContext/>
    </Error>

    Thanks for the debug mode.

    I see that in the request, information about the weight is missing.
    I would suggest verifying product’s details and if they have entered dimensions and weight. The plugin calculates the rates based on products’ weight, dimensions and entered shipping destination.

    Please let me know what you established.

    Best regards,
    Karolina

    Thread Starter rajulake

    (@rajulake)

    I was able to solve the issue. By following your instructions i.e. inputting destination at the checkout page for the error. I also put weight on the products that i had not done before and it all went fine.

    Thanks a lot I am sorted now.

    Thank you @rajulake for the update. I am glad that everything works now 🙂

    Best regards,
    Karolina

    Hi, as we haven’t got any replies, I’m marking this topic as resolved for now.

    Best regards
    Karolina

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error :Missing value for ZipDestination’ is closed to new replies.