magento2: Bug with DHL Shipping Method

Preconditions

  1. Magento CE 2.3.0
  2. Php 7.0.25

Steps to reproduce

  1. Admin: Stores>Configuration>Shipping Methods>DHL> Enable and enter credentials
  2. Attempt to get a shipping quote on frontend

Expected result

  1. To show the shipping methods with the prices
  2. Tables rate works

Actual result

Error: This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.

image

Logs

[2019-03-15 20:00:56] main.DEBUG: array ( 0 => Magento\Framework\Phrase::__set_state(array( ‘text’ => ‘Zero shipping charge for '%1'’, ‘arguments’ => array ( 0 => Magento\Framework\Phrase::__set_state(array( ‘text’ => ‘Express 10:30’, ‘arguments’ => array ( ), )), ), )), 1 => Magento\Framework\Phrase::__set_state(array( ‘text’ => ‘Zero shipping charge for '%1'’, ‘arguments’ => array ( 0 => Magento\Framework\Phrase::__set_state(array( ‘text’ => ‘Medical express’, ‘arguments’ => array ( ), )), ), )), 2 => Magento\Framework\Phrase::__set_state(array( ‘text’ => ‘Zero shipping charge for '%1'’, ‘arguments’ => array ( 0 => Magento\Framework\Phrase::__set_state(array( ‘text’ => ‘Express 12:00’, ‘arguments’ => array ( ), )), ), )), 3 => Magento\Framework\Phrase::__set_state(array( ‘text’ => ‘Zero shipping charge for '%1'’, ‘arguments’ => array ( 0 => Magento\Framework\Phrase::__set_state(array( ‘text’ => ‘Express worldwide’, ‘arguments’ => array ( ), )), ), )), 4 => Magento\Framework\Phrase::__set_state(array( ‘text’ => ‘Zero shipping charge for '%1'’, ‘arguments’ => array ( 0 => Magento\Framework\Phrase::__set_state(array( ‘text’ => ‘Express easy’, ‘arguments’ => array ( ), )), ), )), ) [] []`

shipping (1).log

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 46 (10 by maintainers)

Most upvoted comments

@msawyers thanks, well if some people have the same issue, this ticket will help. thank for collaboration 👍