• Hi,
    We are having a problem with the plugin. When we try to generate a DHL label, the plugin fails when we click the checkbox to create the return label, and we only get the following message:
    Error creating label:
    Error:

    The service entered is unknown.

    We have activated logging in the settings. Below is the request to your API and the response we received.

    2026-01-09T18:59:40+00:00 Hinweis Request: Array
    (
    [type] => POST
    [url] => https://api-eu.dhl.com/parcel/de/shipping/v2/orders?mustEncode=true&printFormat=910-300-700
    [params] => Array
    (
    )

    [body] => {"profile":"STANDARD_GRUPPENPROFIL","shipments":[{"product":"V01PAK","refNo":"order_5250","billingNumber":"xxxxxxxx","shipper":{"name1":"Max Muster","phone":"2340921","email":"[email protected]","addressStreet":"Musterstr.","addressHouse":"41","postalCode":"40323","city":"Musterstadt","state":"Deutschland","country":"DEU"},"consignee":{"name1":"Maxi Muster","name2":"pup","addressStreet":"Musterstr,","addressHouse":"5","postalCode":"40323","city":"Musterstadt","country":"DEU","phone":"12345678","email":"[email protected]"},"services":{"goGreenPlus":false,"endorsement":"RETURN","dhlRetoure":{"refNo":"order_5250","billingNumber":"xxxxxxxx","returnAddress":{"name1":"Max Muster","phone":"2340921","email":"[email protected]","addressStreet":"Musterstr.","addressHouse":"41","postalCode":"40323","city":"Musterstadt","state":"Deutschland","country":"DEU"},"goGreenPlus":false}},"details":{"weight":{"uom":"kg","value":0.08}}}]}
    )
    CONTEXT: {"_legacy":true}
    2026-01-09T18:59:40+00:00 Hinweis Response: Array
    (
    [status] => 400
    [body] => {"status":{"title":"Bad Request","status":400,"detail":"0 of 1 shipment successfully printed.","statusCode":400},"items":[{"sstatus":{"title":"Bad Request","status":400,"statusCode":400},"validationMessages":[{"validationMessage":"The service entered is unknown.","validationState":"Error"}]}]}
    )
    CONTEXT: {"_legacy":true}

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Saleem Summour

    (@sal4sup)

    Hi @grube,

    thanks for sharing the log.
    In this case, please check the DHL Products and Participation Numbers first, as this error usually comes from missing or incorrect participation numbers on the DHL side.

    Please do the following steps:
    1. Go to WooCommerce → Settings → Shipping → DHL Paket → Products / Participation Numbers
    2. Clear (empty) the participation number fields and save the settings.
    3. After saving, click Get Account Settings to let the plugin fetch the product and participation numbers directly from DHL.
    4. Check specifically whether DHL Retoure gets a participation number filled automatically or stays empty.

    After that, please let us know:
    -Is the DHL Retoure participation number filled after using Get Account Settings or not?
    -Was creating return labels working before, or is this the first time you are using return labels with this account?

    Once we have this confirmation, we can clearly see whether the issue is related to the DHL account configuration or the returned product setup.

    Best regards,

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.