You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 13, 2018. It is now read-only.
The issue is this: When you try to get rates from UPS with Active Shipping using an origin address in Bermuda, it throws the following error:
Failure: This measurement system is not valid for the selected country
We believe that the root of the problem is line 128 or Active Shipping's UPS.rb file, which defines what it calls "IMPERIAL_COUNTRIES." That list does not contain the country code for Bermuda ("BM").
IMPERIAL_COUNTRIES = %w(US LR MM)
It seems the UPS API demands imperial units be used when the origin is Bermuda--at least adding "BM" to line 128 eliminates the error when fetching UPS rates with a Bermuda origin address.
This issue was forwarded from a partner:
@jonathankwok @kmcphillips