Shop Forums WordPress Plugins USPS plugin rates dont match actual rates

This topic contains 4 replies, has 2 voices, and was last updated by  Cory 6 years, 5 months ago.

  • Author
    Posts
  • #2404

    Cory

    The rates returned by the plugin are much less than the actual cost at postal service. Having the same issue regardless of the package size variables I am using for settings.

  • #2405

    vinny
    Keymaster

    Please send your request and response XMLs. The rates do match, but getting the initial setup right is indeed a pain.

    email them to vinny [at] usestrict [dot] net.

  • #2406

    Cory

    I realized that the issue is that it is sending the weight in ounces and not pounds. What format do I enter the weight to make it send in pounds, or must I enter ounces?

    <?xml version=”1.0″?>
    <RateV4Request USERID=”***REMOVED***”>
    <Revision>2</Revision>
    <Package ID=”0″>
    <Service>PARCEL</Service>
    <ZipOrigination>57717</ZipOrigination>
    <ZipDestination>20001</ZipDestination>
    <Pounds>0</Pounds>
    <Ounces>5.2</Ounces>
    <Container>RECTANGULAR</Container>
    <Size>LARGE</Size>
    <Width>12</Width>
    <Length>16</Length>
    <Height>12</Height>
    <Value>475.00</Value>
    <Machinable>TRUE</Machinable>
    </Package>
    <Package ID=”1″>
    <Service>PRIORITY</Service>
    <ZipOrigination>57717</ZipOrigination>
    <ZipDestination>20001</ZipDestination>
    <Pounds>0</Pounds>
    <Ounces>5.2</Ounces>
    <Container>RECTANGULAR</Container>
    <Size>LARGE</Size>
    <Width>12</Width>
    <Length>16</Length>
    <Height>12</Height>
    <Value>475.00</Value>
    </Package>
    </RateV4Request>

  • #2407

    vinny
    Keymaster

    It’ll use whatever is in Admin -> eShop -> Shipping -> Weight unit and do any necessary conversions before sending it to the API.

  • #2408

    Cory

    I really appreciate your help, Thank You!

You must be logged in to reply to this topic.