Please sign in to comment.
When Spree::ActiveShipping::Config[:shipper_number] is "", an empty S…
…hipperNumber node is added to the request, resulting in a "Missing/Invalid Shipper/ShipperNumber" error response from UPS. By adding .presence, we can have it treat a "" value as nil so that it will skip adding the ShipperNumber node when shipper_number is "" instead of treating "" as a truthy value. Fixes #57
- Loading branch information...
Showing with 2 additions and 2 deletions.