Support » Plugin: DHL for WooCommerce » Error “Post Number is missing, it is mandatory for “Packstation” delivery.”

  • Resolved yoneo12

    (@yoneo12)


    Hello,

    when my customers enter a Packstation address, the error “Post Number is missing, it is mandatory for “Packstation” delivery.” occurs. The Post Number is correctly saved as _shipping_company in the order post meta.

    I am using the latest version of your plugin.

    I have already tried the solution at wordpress.org/support/topic/post-number-is-missing-it-is-mandatory-for-packstation-delivery/, but then the error “SOAP-ERROR: Encoding: object has no ‘streetName’ property” occurs.

    Here a copy of my meta data:

    _cart_hash	d6db9XXXXXXXXXXXX05a23d25c1	
    _billing_first_name	XXXXXXXX
    _billing_last_name	XXXXXXX
    _billing_address_1	XXXXXXX 10a	
    _billing_city	Coburg	
    _billing_postcode	96450	
    _billing_country	DE	
    _billing_email	XXXXXXXX@t-online.de	
    _shipping_first_name	XXXXXXXX
    _shipping_last_name	XXXXXXXX
    _shipping_company	840XXXXXX	
    _shipping_address_1	Packstation 116	
    _shipping_city	Coburg	
    _shipping_postcode	96450	
    _shipping_country	DE	
    _order_currency	EUR	
    _cart_discount	11.11	
    _cart_discount_tax	0	
    _order_shipping	2.99	
    _order_shipping_tax	0	
    _order_tax	0	
    _order_total	28.93	
    _order_version	4.7.1	
    _prices_include_tax	yes	
    _billing_address_index	XXXXXXXX XXXXXXXX XXXXXXXX 10a Coburg 96450 DE XXXXXXXX@t-online.de 	
    _shipping_address_index	XXXXXXXX XXXXXXXX XXXXXXXX 840XXXXXX Packstation 116 Coburg 96450 DE

    Have you an idea about how to solve this? For normal addresses, it works fine.

    Thanks in advance!

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

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

    (@shadim)

    The postnumber should be saved in its own field from the frontend and not in the company field.

    Thread Starter yoneo12

    (@yoneo12)

    Thank you for the information! Now it works perfectly. I have activated the location finder for DHL Packstation in the plugin settings, now the post number field appears at checkout.

    Plugin Author Shadi Manna

    (@shadim)

    Great to hear it. Let us know if you have any further issues.

    Also, a review for this plugin is greatly appreciated.

    Hi.
    We have same error here.

    We ship with UPS and DHL. I want to avoid adding any Packstation location finders. Could this plugin not just look at “Address Line 2” if there is a Post Number and use that content as post number?

    Plugin Author Shadi Manna

    (@shadim)

    It is not possible to use “Address 2” for the postnumber. You do not need to enable Google Maps if you do not want, but the additional field is required for the postnumber.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error “Post Number is missing, it is mandatory for “Packstation” delivery.”’ is closed to new replies.