• Resolved asevims

    (@asevims)


    Hi,

    thank you very much for this plugin. I’ve waiting for this for long time.

    However I’m having many troubles to generate shipping labels with it.

    The first error was that the PDF/File couldn’t be saved/generated (I don’t know the exact error code any more).

    Than I saw that the order was transferred to DHL. However the street wasn’t correct. Two zeros (00) were added to the street.

    And the last error code is: Could not create label – Bitte geben Sie ein gültiges Sendungsdatum an.
    (There is no valid shipping date?)

    I’ve been trying to solve the problems for hours but didn’t have success yet. Please help me.

    Many thanks

Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter asevims

    (@asevims)

    I get the first error message again. The exact error message is: “DHL Label file cannot be saved!”

    Plugin Author Shadi Manna

    (@shadim)

    @asevims,

    Could you delete your current version and install the updated one to see if this is related to the street number issue? Please let us know if this issue still occurs.

    Best.

    Thread Starter asevims

    (@asevims)

    Thank you for the update. The problem with the street number is solved now. Unfortunately I’m still getting the error: “DHL Label file cannot be saved!”.

    Do you know how I can solve this issue?

    Best regards

    Plugin Author Shadi Manna

    (@shadim)

    I would need to see what is sent to the DHL API and what response is sent back, can you open the log file under the “DHL Paket” settings and copy and paste the request and response here?

    Thread Starter asevims

    (@asevims)

    Somehow I’m now getting other errors:

    “SOAP-ERROR: Encoding: object has no ‘streetNumber’ property”

    12-04-2017 @ 15:47:10 – Authorize User – Client ID: XXX
    12-04-2017 @ 15:47:10 – Authorize User – Client Secret: XXX
    12-04-2017 @ 15:47:10 – “createShipmentOrder” called with: Array
    (
    [Version] => Array
    (
    [majorRelease] => 2
    [minorRelease] => 2
    )

    [ShipmentOrder] => Array
    (
    [sequenceNumber] => 19961
    [Shipment] => Array
    (
    [ShipmentDetails] => Array
    (
    [product] => V01PAK
    [accountNumber] => 63000017200101
    [shipmentDate] => 2017-12-04
    [ShipmentItem] => Array
    (
    [weightInKG] => 0.5
    )

    )

    [Shipper] => Array
    (
    [Name] => Array
    (
    [name1] => XXX XXX
    [name2] => XXX
    )

    [Address] => Array
    (
    [streetName] => XXX XXX
    [streetNumber] => 48
    [zip] => 44797
    [city] => Bochum
    [state] => Deutschland
    [Origin] => Array
    (
    [countryISOCode] => DE
    )

    )

    [Communication] => Array
    (
    [phone] => 0123 123123
    [email] => [email protected]
    )

    )

    [Receiver] => Array
    (
    [name1] => XXX XXX
    [Address] => Array
    (
    [streetName] => Richtstrecke
    [streetNumber] => 10
    [zip] => 44799
    [city] => Bochum
    [Origin] => Array
    (
    [countryISOCode] => DE
    )

    )

    [Communication] => Array
    (
    [phone] => 0123
    )

    )

    )

    )

    )

    12-04-2017 @ 15:47:10 – Response Body: stdClass Object
    (
    [Version] => stdClass Object
    (
    [majorRelease] => 2
    [minorRelease] => 0
    )

    [Status] => stdClass Object
    (
    [statusCode] => 10
    [statusText] => Request processing failure
    [statusMessage] => Es ist ein allgemeiner Fehler aufgetreten.
    )

    )

    12-04-2017 @ 15:47:35 – Authorize User – Client ID: XXX
    12-04-2017 @ 15:47:35 – Authorize User – Client Secret: XXX
    12-04-2017 @ 15:47:35 – “createShipmentOrder” called with: Array
    (
    [Version] => Array
    (
    [majorRelease] => 2
    [minorRelease] => 2
    )

    [ShipmentOrder] => Array
    (
    [sequenceNumber] => 9126
    [Shipment] => Array
    (
    [ShipmentDetails] => Array
    (
    [product] => V01PAK
    [accountNumber] => 63000017200101
    [shipmentDate] => 2017-12-04
    [ShipmentItem] => Array
    (
    [weightInKG] => 0.3
    )

    )

    [Shipper] => Array
    (
    [Name] => Array
    (
    [name1] => Aydan Terzi
    [name2] => XXX
    )

    [Address] => Array
    (
    [streetName] => Gr?fin-Imma-Str.
    [streetNumber] => 48
    [zip] => 44797
    [city] => Bochum
    [state] => Deutschland
    [Origin] => Array
    (
    [countryISOCode] => DE
    )

    )

    [Communication] => Array
    (
    [phone] => 0123 123123
    [email] => [email protected]
    )

    )

    [Receiver] => Array
    (
    [name1] => XXX XXX
    [Address] => Array
    (
    [streetName] => Richtstrecke 10
    [zip] => 44799
    [city] => Bochum
    [Origin] => Array
    (
    [countryISOCode] => DE
    )

    )

    [Communication] => Array
    (
    [phone] => 0123
    )

    )

    )

    )

    )

    12-04-2017 @ 15:48:44 – Authorize User – Client ID: XXX
    12-04-2017 @ 15:48:44 – Authorize User – Client Secret: XXX
    12-04-2017 @ 15:48:44 – “createShipmentOrder” called with: Array
    (
    [Version] => Array
    (
    [majorRelease] => 2
    [minorRelease] => 2
    )

    [ShipmentOrder] => Array
    (
    [sequenceNumber] => 20453
    [Shipment] => Array
    (
    [ShipmentDetails] => Array
    (
    [product] => V01PAK
    [accountNumber] => 63000017200101
    [shipmentDate] => 2017-12-04
    [ShipmentItem] => Array
    (
    [weightInKG] => 0.6
    )

    )

    [Shipper] => Array
    (
    [Name] => Array
    (
    [name1] => Aydan Terzi
    [name2] => XXX
    )

    [Address] => Array
    (
    [streetName] => Gr?fin-Imma-Str.
    [streetNumber] => 48
    [zip] => 44797
    [city] => Bochum
    [state] => Deutschland
    [Origin] => Array
    (
    [countryISOCode] => DE
    )

    )

    [Communication] => Array
    (
    [phone] => 0123 123123
    [email] => [email protected]
    )

    )

    [Receiver] => Array
    (
    [name1] => Edgar XXX
    [Address] => Array
    (
    [streetName] => XXX Street 1
    [zip] => 49733
    [city] => Haren (Ems)
    [Origin] => Array
    (
    [countryISOCode] => DE
    )

    )

    [Communication] => Array
    (
    [phone] => +49170 123 123
    )

    )

    )

    )

    )

    Plugin Author Shadi Manna

    (@shadim)

    Not being able to save the file might be related to permissions of PHP trying to save the file to the server. Have you had any such issues with your host in the past?

    Thread Starter asevims

    (@asevims)

    No, actually I’ve never had such issues with my Woocommerce shop system..

    Plugin Author Shadi Manna

    (@shadim)

    Have you updated to the latest version of the plugin to confirm if this issue is still happening? If it is I may need access to your website to debug it.

    Thread Starter asevims

    (@asevims)

    Yes, it is the last plugin version (1.01). How can I give you the credentials to the shop?

    Thread Starter asevims

    (@asevims)

    Now I’m getting again the error: SOAP-ERROR: Encoding: object has no ‘streetNumber’ property…

    Update: Okay, I’ve seen your comment on the other post. I’ve copied the street number to the second adress field and it’s working again. But is this a real solution since some people have a second address field like company name?

    Thank you for your efforts!

    • This reply was modified 6 years, 11 months ago by asevims.
    Plugin Author Shadi Manna

    (@shadim)

    We are looking into the best way to handle this and will update you shortly.

    Plugin Author Shadi Manna

    (@shadim)

    So just to follow up, are you able to generate the label or are you still having the error that the label cannot save?

    Thread Starter asevims

    (@asevims)

    Thank you very much. Yes, I’ve still the problems to save the PDFs. How can I send you the credentials to fix the issue? This would be great!

    • This reply was modified 6 years, 11 months ago by asevims.
    Thread Starter asevims

    (@asevims)

    Thank you. I’ve sent you the credentials.

    Thread Starter asevims

    (@asevims)

    Shadi helped me to solve the problem. It was the configuration in the php.ini file. I’d to add the following lines to the php.ini file. Since that it works like a charm:

    allow_url_fopen = On
    allow_url_include = On

    My last question is: Is it possible to customize the mail sent to the customer?

    Can you also solve the issue with the street number so the street number included in the first address field will be recognized automatically since we’ve many customers who give the company name as the second street number.

    Many thanks!!

    • This reply was modified 6 years, 11 months ago by asevims.
    • This reply was modified 6 years, 11 months ago by asevims. Reason: Solved
Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Many errors’ is closed to new replies.