Skip to content

Shiping Origin As Afghanistan Does Not Work for DHL Module #32181

Open
@reshadzazai

Description

@reshadzazai

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 (*)

  1. Fresh Installation of Magento ver. 2.4.1 (2.4-develop)

Steps to reproduce (*)

Set Shipping Origin as follow:

  1. Country: Afghanistan
  2. Region/State: Kabul
  3. ZIP/Postal Code: 1007
  4. City: Kabul
  5. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: Cart & CheckoutComponent: ShippingIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: ready for devReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions