Closed
Description
Magento Version: 2.3.5-p2 (Enterprise)
Preconditions (*)
- Either UPS XML/UPSP/DHL Shipping is configured in Magento 2
- Either UPS XML/USPS/DHL API is completely down or blocked or the DNS could not be resolved
Steps to reproduce (*)
- configure the DHL API for shipping
- 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
- Add some item into cart
- Go onto the checkout page
Expected result (*)
- Checkout is shown with all other configured shipping methods, customer is noted, that DHL shipping is currently not available
- Error log is written
Actual result (*)
- 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.