myparcelnl / magento

The Magento 2 MyParcel plugin
https://developer.myparcel.nl/nl/documentatie/13.magento2.html
MIT License
19 stars 26 forks source link

Evening delivery #732

Open Kroellie opened 1 year ago

Kroellie commented 1 year ago

Plugin version

4.7.0

Magento version

2.4.5-p1

PHP version

8.1

What went wrong?

We had an order where the customer chose evening delivery. When generating labels it didn't succeed. The order went to completed after that, which was another bug report #614. A new (test)order also having evening delivery failed as well. There is an warning reported: "No MyParcel shipments to process.".

Reproduction steps

  1. Navigate to ...
  2. Click on ...
  3. See ...

Relevant log output

No response

Additional context

No response

Kroellie commented 1 year ago

Changed the order so that myparcel_delivery_options field is changed from {"isPickup":false,"date":null,"carrier":"postnl","packageType":"package","deliveryType":"evening","shipmentOptions":{"only_recipient":true,"signature":false}} to {"isPickup":false,"date":null,"carrier":"postnl","packageType":"package","deliveryType":"standard","shipmentOptions":{"only_recipient":false,"signature":false}}

And now the label generates properly.