Skip to content

Failure of connections to UPS XML/USPS/DHL API will cause the checkout to break #29902

Closed
@sven-codeculture

Description

@sven-codeculture

Magento Version: 2.3.5-p2 (Enterprise)

Preconditions (*)

  1. Either UPS XML/UPSP/DHL Shipping is configured in Magento 2
  2. Either UPS XML/USPS/DHL API is completely down or blocked or the DNS could not be resolved

Steps to reproduce (*)

  1. configure the DHL API for shipping
  2. block the connection to the XML API for DHL or change your environments /etc/resolve.conf to values that prevent the DNS from fetching correctly
  3. Add some item into cart
  4. Go onto the checkout page

Expected result (*)

  1. Checkout is shown with all other configured shipping methods, customer is noted, that DHL shipping is currently not available
  2. Error log is written

Actual result (*)

  1. The window.checkoutConfig variable is not rendered to the DOM wich cause the whole checkout to stop working

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

The only way to work around this is to disable the shipping method completely. If this is not noticed by any admin, it will prevent customers from ordering.

For us it was hour Host having a problem with their DNS server and not resolving the DHL API which caused the checkout to break. Only workaround was changing DNS Servers or disabling the shipping.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions