• Resolved mahevo

    (@mahevo)


    Hello,

    we are experiencing an issue with the DHL plugin: If a customer chooses Packstation for delivery, the shipping label cannot be created (neither automatically nor manually) and the plugins throws the following error:
    SOAP-ERROR: Encoding: object has no ‘streetName’ property

    As I see, all required data are set:
    First and last name set
    Packstation and number in shipping_address_1 set
    Postcode and city are set
    Postnumber is set (special field from the plugin)

    Do you have any idea what the reason could be? Thank you very much for your help.

    Kind regards
    Manuel

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Shadi Manna

    (@shadim)

    It could be the sender’s address is not filled correctly, can you review the log file to confirm what is being passed to DHL? You can find it in “WooCommerce -> Status -> Logs” and select the log file that starts with “DHL” – https://www.awesomescreenshot.com/image/3806443/b80984da29d820059129d3afdc09d616.

    Thread Starter mahevo

    (@mahevo)

    Hi Shadi,
    thanks a lot for your fast reply. I checked the log, this is the content:

    12-09-2020 @ 13:00:21 – “createShipmentOrder” called with: Array
    (
    [Version] => Array
    (
    [majorRelease] => 3
    [minorRelease] => 1
    )

    [ShipmentOrder] => Array
    (
    [sequenceNumber] => XXX
    [Shipment] => Array
    (
    [ShipmentDetails] => Array
    (
    [product] => V01PAK
    [accountNumber] => XXXXXXXXX
    [shipmentDate] => 2020-12-09
    [ShipmentItem] => Array
    (
    [weightInKG] => 0.72
    )

    [customerReference] => XXX
    [returnShipmentReference] => XXX
    )

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

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

    )

    [Communication] => Array
    (
    [phone] => XXXXXX
    [email] => XXXXXX
    )

    )

    [Receiver] => Array
    (
    [name1] => XXXXXX
    [Communication] => Array
    (
    [email] => XXXXXX
    )

    [Packstation] => Array
    (
    [zip] => XXXXXX
    [city] => XXXXXX
    [Origin] => Array
    (
    [countryISOCode] => DE
    )

    [postNumber] => XXXXXX
    [packstationNumber] => XXXXXX
    )

    [Postfiliale] => Array
    (
    [postNumber] =>
    )

    [Address] => Array
    (
    [zip] =>
    )

    )

    )

    )

    [labelResponseType] => B64
    [labelFormat] => 910-300-700
    )

    12-09-2020 @ 13:00:21 – Response Error: SOAP-ERROR: Encoding: object has no ‘streetName’ property

    Is there any problem?

    Thank you for your help!

    Kind regards
    Manuel

    Thread Starter mahevo

    (@mahevo)

    Hey Shadi,
    may I ask about an update, please? Thank you in advance.
    Kind regards
    Manuel

    Plugin Author Shadi Manna

    (@shadim)

    Can we continue this conversation via email, please contact me at “dhlsupport [at] progressusmarketing.com” so I can review your site.

    Plugin Author Shadi Manna

    (@shadim)

    This issue has been fixed in v2.4.2.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Packstation order throws SOAP-ERROR: no ‘streetName’ property’ is closed to new replies.