You have no items in your shopping cart.

Friday, May 3, 2024 8:01:03 PM

Rate Requests For Items less than 1Lb defaulting to 1Lb

Posted: 9 months ago

#13527 Quote

Kengle

Posted: 9 months ago

#13527 Quote
I'm having an issue where products weighing less than 1 pound are defaulting / rounding up to 1 LB.  This is causing USPS First Class to not be offered as a shipping method.  Product Weights are in decimal.  i.e.  .2 lbs.  How can I resolve?

Thanks

Posted: 9 months ago

#13539 Quote

Support

Posted: 9 months ago

#13539 Quote
Do you mean that the Stamps.com plugin upload the rounded weight to API?
What nopcommerce version do you use?

Posted: 8 months ago

#13540 Quote
Sorry to take so long.  Nop Version 4.5.4. Site weight measure is set to LBS.

What we are seeing is that for products with Weight less than 1.0  (ex .75 lbs), the request to stamps.com contains the following:

      <Rate>
        <FromZIPCode>59921</FromZIPCode>
        <ToZIPCode>59922</ToZIPCode>
        <ToCountry>US</ToCountry>
        <WeightLb>1</WeightLb>
        <PackageType>Package</PackageType>
        <Length>1</Length>
        <Width>1</Width>
        <Height>1</Height>
        <ShipDate>2023-08-04</ShipDate>
        <InsuredValue>25.00</InsuredValue>
        <AddOns />
        <ToState>MT</ToState>
      </Rate>

The weight needs to be sent as defined in the Product.  Also the request contains dimensions of 1 and is throwing the rates off as well.  The product dimensions in this example are set to zero.

Sku         weight  length  height  Width
01125  0.8210  0.0000  0.0000  0.0000


Thanks

Posted: 8 months ago

#13541 Quote

Support

Posted: 8 months ago

#13541 Quote
I think it's not correct to send zero if the product has zero.
I can do it but I want to add you to speak with Stamps.com support.
Ask Stamps.com support if we are able to send zero as dimensions and weight in decimal format.
If Stamps.com support approve it I'll do it.

Posted: 8 months ago

#13542 Quote
I agree with you on not sending zero dimensions.

  Any ideas on sending weight value less than 1 lb. ?  Send the xml element as <WeightLb>.75</WeightLb> ?

Thanks

Posted: 8 months ago

#13543 Quote

Support

Posted: 8 months ago

#13543 Quote
Upgrade the plugin. I have done it.
Try the new release and write to me about the result.

Posted: 8 months ago

#13544 Quote
The Change is working great.  The rates for items under 1 lb are matching the stamps.com web site.

Thanks !!

Posted: 8 months ago

#13545 Quote

Support

Posted: 8 months ago

#13545 Quote
Thank you for your report about this issue.

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved