GithubHelp home page GithubHelp logo

Comments (4)

mam08ixo avatar mam08ixo commented on May 28, 2024

Hi @codebase-md

The order of response processors is correct.

To associate web service responses to requests, have a look at the sequenceNumber field. The same sequence number exists in the request and this request has a customerReference field that contains the order increment.

The message Der eingegebene Wert ist zu lang und wurde gekürzt is indeed a weak validation error. It does not prevent a label from being created. As this warning message comes directly from the DHL web service, the module can only pass it on – but cannot guess which field is affected.

The module configuration determines which orders are sent to the DHL web service in automated modes (General Configuration → Bulk/Cron Settings). It does not matter if a shipment entity was already created or not. Automated mode will only create one if not there yet, then proceeds with booking the label:

  • The mass action sends label requests to the web service based on label status.
  • Cron sends label requests to the web service based on label status and order status.

Order Status is self-explanatory. Retry Failed Shipments works as follows:

  • Off sends orders with label status Pending, Partial
  • On sends orders with label status Pending, Partial, Failed

I cannot see how a failed label request would lead to label status Processed. Please clarify.

There is no need to log or remember order increments of failed labels. Using the orders grid filters (esp. Purchase Date, DHL Label Status), it is rather straightforward to review all orders that did not receive a label yet.

from dhl-shipping-m2.

mam08ixo avatar mam08ixo commented on May 28, 2024

Did this answer your questions?

from dhl-shipping-m2.

codebase-md avatar codebase-md commented on May 28, 2024

Hi @mam08ixo

apologies for the late response and thanks for your answer.

To associate web service responses to requests, have a look at the sequenceNumber field. The same sequence number exists in the request and this request has a customerReference field that contains the order increment.

I have to admit I've been blind because I just saw the request in the log. Almost ashamed to admit that I didn't see the request because it had been off screen(no line wrapping for logs). Now I can indeed relate everything. Thank you for the hint.

Order Status is self-explanatory. Retry Failed Shipments works as follows:

Off sends orders with label status Pending, Partial
On sends orders with label status Pending, Partial, Failed

Our customer doesn't use the cron based creation just the mass action. Since it is a german store I couldn't relate Retry Failed Shipments to the bulk action because the translation doesn't mention it. Thanks for the hint again. I will adjust the setting for Retry Failed Shipments.

Still it happened that the label status was set to processed (see screenshots) while the label was not received/saved.

label_status
sales_shipment_missing_label

Since there are no new cases of missing labels with label status processed I will close the issue for now.

Thank you for your help.

from dhl-shipping-m2.

mam08ixo avatar mam08ixo commented on May 28, 2024

Thanks for the update. If this happens again and turns out to be caused by the extension, feel free to reopen the issue.

from dhl-shipping-m2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.