Do not show shipping methods restricted by countries

Found in

EPiServer.Commerce 13.18.0

Fixed in

EPiServer.Commerce 13.19.0

Created

Apr 14, 2020

Updated

May 28, 2020

Area

Core

State

Closed, Fixed and tested


Description

Steps to reproduce:

1. Go to CM\Administration\Order system\Shipping\Shipping Methods.
2. Edit any shipping method, for example, Fedex. In the Settings tab, choose a restricted country, for example, Canada.
3. Go to the Order management screen.
4. Edit an order with a Canadian shipping address.
5. The shipping method list has the Fedex option.

Expected:
Do not show shipping method restricted by the setting in Step 2.

Actual:
Shows the shipping method restricted by the setting in Step 2.