postnl / postnl-magento2

This is the official Magento 2 extension for the logistics company PostNL. Add shipping options and parcelshops to your checkout. Create labels with track and trace functionality from the backend.
58 stars 61 forks source link

Pickup location Delivery Date Check #376

Closed kaplansin closed 6 months ago

kaplansin commented 8 months ago

To Reproduce Steps to reproduce the behavior:

  1. Add Item into your cart,
  2. Go to checkout,
  3. Select PostNL as shipping
  4. Select Pickup location.
  5. Finalize the order.
  6. Create an other quote.
  7. Goto Checkout
  8. Select PostNL as shipping
  9. Select Pickup location.
  10. /postnl/deliveryoptions/save request will fail.

Expected result /postnl/deliveryoptions/save must return 'ok' and Order shipping address must selected Pickup location address.

Actual result /postnl/deliveryoptions/save fails with 500 Internal Server Error. And Order will not have Pickup location address as Shipping address.

Workaround Logout and Login and continue payment processes.

Please complete the following information

DarthFly commented 8 months ago

Hi @kaplansin We tried to reproduce it but were not able to do this for now. Could you be able to try to reproduce this issue on https://public.postnlmagento2.hypernode.io ? If it's reproduced - please give us the first order number that you placed before error 500.

Your PR does makes sense, but it seems like the reason why the "date" is empty should go from the incorrect response in the first place and we would like to see why it ends up that way.