Error "Weight is out of allowable range" for Heavy Packages
MarcoWel opened this issue · comments
Describe the bug
When a shipment is created with a package weight above 70kg and with UPS as available carrier, there is an error displayed on the top.
To Reproduce
Steps to reproduce the behavior:
- Enable UPS as a carrier.
- Create shipment with package weight >70kg.
Expected behavior
UPS services should just not be displayed without any error being displayed.
If at all, there should be a warning like "Package exceeding maximum weight for UPS (70kg). Consider splitting into multiple packages.". But then there should be a similar warning for other carriers as well (e.g. DHL max weight is 31.5kg).
That's right. I believe the code accommodate for that. But not all carriers have their max package size defined for early validation.
Just needs to be added progressively