kylewest / DotNetShipping

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

Added the ability to tack on charges if a package requires a signature... #69

Closed StephenPAdams closed 7 years ago

StephenPAdams commented 7 years ago

…confirmation. By default this feature is off and will use the base functionality currently provided by DotNetShipping. However, when instantiating a new Package, just set the SignatureRequiredOnDelivery to true. Unit tests have ben wired up for USPS, UPS and FedEx. Currently the only caveat is w/ USPS. If you're doing an ALL lookup (which is the default), the additional service charges will not be returned. The only way to get those charges is to do a specific service lookup (which will then have the additional charges returned). This is a limitation of the USPS API and unfortunately isn't an easy fix. Just as an aside, the average cost of the signature confirmation for most of the carriers is about $4-$5 as of 2/20/2017.

kylewest commented 7 years ago

thanks. will deploy to nuget shortly.

StephenPAdams commented 7 years ago

Thank you!

kylewest commented 7 years ago

v0.9.5.84 is now live on NuGet.