Closed aadmathijssen closed 4 years ago
Hi Aad, Also this feature is added in our new release :)
Thanks Aad, for your time you take to provide us the right information!
This issue should be fixed in our latest release. Thank you for your contribution!
When a customer has placed an order with the
dhlparcel_servicepoint
shipping method, it is not always possible to create a shipment for such an order from thesales/order/view
admin page using the "Ship" button. After clicking this button, theadmin/order_shipment/new
page that is opened contains a "Create DHL shipping label" checkbox. When this checkbox is enabled (which is the default), details of the DHL shipment can be entered. "Step 2 Delivery method" contains a dropdown that should contain the ServicePoint that the customer has selected, but this is not always the case: in some cases, the dropdown is empty and in other cases, the dropdown only contains different addresses.The reason for this is that the service point dropdown options are determined by performing a search using the https://api-gw.dhlparcel.nl/parcel-shop-locations/ endpoint for the postal code and country id of the customer's shipping address (with a limit of 40).
In the following scenario's this introduces issues:
In the first two scenario's, clicking on the "Submit shipment" button results in a "Cannot create shipment" error message, and the following is logged to the
exception.log
: