Fix shipping weight when sending to USPS

This commit is contained in:
Nathan Chapman 2022-11-25 07:35:23 -07:00
parent 180f853486
commit 5bc1f747db

View File

@ -135,8 +135,8 @@ def build_usps_rate_request(weight, container, zip_destination):
'service': ShippingService.PRIORITY_COMMERCIAL, 'service': ShippingService.PRIORITY_COMMERCIAL,
'zip_origination': settings.DEFAULT_ZIP_ORIGINATION, 'zip_origination': settings.DEFAULT_ZIP_ORIGINATION,
'zip_destination': zip_destination, 'zip_destination': zip_destination,
'pounds': '0', 'pounds': weight,
'ounces': weight, 'ounces': '0',
'container': container, 'container': container,
'width': '', 'width': '',
'length': '', 'length': '',