shadimanna / dhl-logistic-services-for-woocommerce

6 stars 8 forks source link

CN23 Document Includes Refunded Order Items #223

Closed ed-at-protectli closed 6 months ago

ed-at-protectli commented 6 months ago

Using plugin version 3.6.5, tested with both sandbox/production and both SOAP/REST APIs.

When requesting a shipment to the UK (where a CN23 document is generated), line items from the order that have been fully refunded are not omitted from the form.

To reproduce:

  1. Create an order with multiple line items to be shipped to UK with a value over 270 GBP (so it meets CN23 requirements)
  2. As an administrator, refund an entire line item
  3. Attempt to generate a shipment label

Expected result:

Actual result:

Suggested resolution:

Abdalsalaam commented 6 months ago

Hello @ed-at-protectli thank you for reporting this issue, I'll check it and get back to you ASAP

Abdalsalaam commented 6 months ago

@ed-at-protectli Fixed, update the plugin to the latest version and check it please.