kylewest / DotNetShipping

UPS, FedEx, USPS shipping rate calculators for .NET
MIT License
78 stars 66 forks source link

Using PoundsAndOunces in USPSInternationalProvider #56

Closed couellet closed 7 years ago

couellet commented 7 years ago

We noticed some issues with small packages usind USPSInternationalProvider. Especially for items such as CD or books. Sometimes they weight less than a pound.

At the moment the provider sends the RoundedWeight to the API, it can't be lower than 1.

This PR replaces the RoundedWeight usage by the appropriate Pounds and Ounces values.

kylewest commented 7 years ago

Awesome. Thanks for the PR. Will merge and release a new version.