Support » Plugin: DHL WooCommerce Shipping Method » country that does not use postal code (cityname instead)

  • Resolved seangnc

    (@seangnc)


    we want to purchase the premium version but would like to try out the basic plugin while we are in development stage. Hope you can assist us. Thanks

    our dhl account is based in AE we do not use postal code (no_postcode_country). it looks up valid city (Dubai). Majority of our customers country does not use postal code (Qatar, Oman, Saudi, Bahrain, Lebanon, Kuwait). Test order with correct address with city name results to error or wrong XML code.

    DHL REQUEST (DEBUG)

    <From>
    <CountryCode>AE</CountryCode>
    <Postalcode></Postalcode>
    </From>

    *the <City> tag is missing

    the correct DHL XML code FROM should be like this

    <From>
    <CountryCode>AE</CountryCode>
    <Postalcode></Postalcode>
    <City>Dubai</City>
    </From>

    Also the <To> code has missing City

    <To>
    <CountryCode>QA</CountryCode>
    <Postalcode></Postalcode>
    </To>

    should be like this…

    <To>
    <CountryCode>QA</CountryCode>
    <Postalcode></Postalcode>
    <City>Doha</City>
    </To>

    DHL RESPONSE DEBUG
    <Note><Condition><ConditionCode>3020</ConditionCode><ConditionData>The origin country AE location postal code or City is invalid. Please check the origin country location details. </ConditionData></Condition></Note><Note><Condition><ConditionCode>3021</ConditionCode><ConditionData>The destination country QA location postal code or City is invalid. Please check the destination country location details.</ConditionData></Condition></Note></GetQuoteResponse></res:DCTResponse>

    https://wordpress.org/plugins/dhl-woocommerce-shipping-method/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Sean,

    We reopened #3012 in our support. You can continue further communication through ticket.

    HI, i facing the same issue, our store based at Hong Kong and we don’t have a postal code for our address. How should I fix this error because even i set or not set the postal code also give the same error. Thanks

    Hi Specex,

    It seems you are using the premium version of the plugin. We have a dedicated team to support premium customers. Please raise a ticket on support@wooforce.com.

    Hi WooForce,

    We are using the free version, there is only postcode field but without city field. Should the city field will fix this issue? thanks

    Hi Specex,
    This is a Woocommerce option. we request to approach for Woocommerce for this.

    However, we can provide some mechanism for this on premium version.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘country that does not use postal code (cityname instead)’ is closed to new replies.