Description
Summary of the issue: I have set the shipping origin country as Afghanistan in the Stores->Settings->Configuration->Sales->Shipping Settings->Origin, but the checkout shows "This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.
Preconditions (*)
- Fresh Installation of Magento ver. 2.4.1 (2.4-develop)
Steps to reproduce (*)
Set Shipping Origin as follow:
- Country: Afghanistan
- Region/State: Kabul
- ZIP/Postal Code: 1007
- City: Kabul
- Street Address: Old Taimani, Street no 3
Expected result (*)
The DHL module is configured and the products have a weight assigned, I should get DHL shipping methods on the checkout page, the reason that the DHL module is configured correctly is that if I just change the shipping origin to the US everything works fine and I get DHL shipping Methods in the checkout page.
I have also contacted DHL and they said: The API credentials work globally.
Note: the shipping.log file under /var/log/ also shows that methods and rates are returned for Afghanistan as shipping origin, it is just that they are not shown on the frontend in the checkout page.
Actual result (*)
I get a message that: This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.