verbb / postie

A Craft Commerce shipping calculator plugin.
Other
12 stars 18 forks source link

SurePost rating error causes other shipping methods to fail to be rated #34

Closed Mosnar closed 4 years ago

Mosnar commented 4 years ago

Description

Because SurePost fetches its rate independently, it's possible for an exception to be thrown and break rate-fetching. SurePost has smaller allowed shipping dimensions than other shipping methods and when this limitation is hit, an InvalidResponseException is thrown.

Fixed in #33

Steps to reproduce

  1. Have a large product (greater than 90" in one dimension)
  2. Have 2 shipping methods enabled (UPS Ground & UPS SurePost)
  3. Attempt to checkout - UPS Ground should be valid, SurePost should not be.
  4. See that no shipping methods are returned.

Additional info

engram-design commented 4 years ago

Fixed in 2.2.4, thanks!