{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/7928","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/7928/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/7928/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/7928/events","html_url":"https://github.com/magento/magento2/issues/7928","id":197113820,"number":7928,"title":"DHL Shipping Address Hong Kong Issue","user":{"login":"shahankitb997","id":20528998,"avatar_url":"https://avatars.githubusercontent.com/u/20528998?v=3","gravatar_id":"","url":"https://api.github.com/users/shahankitb997","html_url":"https://github.com/shahankitb997","followers_url":"https://api.github.com/users/shahankitb997/followers","following_url":"https://api.github.com/users/shahankitb997/following{/other_user}","gists_url":"https://api.github.com/users/shahankitb997/gists{/gist_id}","starred_url":"https://api.github.com/users/shahankitb997/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahankitb997/subscriptions","organizations_url":"https://api.github.com/users/shahankitb997/orgs","repos_url":"https://api.github.com/users/shahankitb997/repos","events_url":"https://api.github.com/users/shahankitb997/events{/privacy}","received_events_url":"https://api.github.com/users/shahankitb997/received_events","type":"User","site_admin":false},"labels":[{"id":429635502,"url":"https://api.github.com/repos/magento/magento2/labels/2.1.x","name":"2.1.x","color":"fbca04","default":false},{"id":147131376,"url":"https://api.github.com/repos/magento/magento2/labels/bug%20report","name":"bug report","color":"d93f0b","default":false},{"id":418813624,"url":"https://api.github.com/repos/magento/magento2/labels/Shipping","name":"Shipping","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":{"login":"alena-marchenko","id":9049705,"avatar_url":"https://avatars.githubusercontent.com/u/9049705?v=3","gravatar_id":"","url":"https://api.github.com/users/alena-marchenko","html_url":"https://github.com/alena-marchenko","followers_url":"https://api.github.com/users/alena-marchenko/followers","following_url":"https://api.github.com/users/alena-marchenko/following{/other_user}","gists_url":"https://api.github.com/users/alena-marchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/alena-marchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alena-marchenko/subscriptions","organizations_url":"https://api.github.com/users/alena-marchenko/orgs","repos_url":"https://api.github.com/users/alena-marchenko/repos","events_url":"https://api.github.com/users/alena-marchenko/events{/privacy}","received_events_url":"https://api.github.com/users/alena-marchenko/received_events","type":"User","site_admin":false},"assignees":[{"login":"alena-marchenko","id":9049705,"avatar_url":"https://avatars.githubusercontent.com/u/9049705?v=3","gravatar_id":"","url":"https://api.github.com/users/alena-marchenko","html_url":"https://github.com/alena-marchenko","followers_url":"https://api.github.com/users/alena-marchenko/followers","following_url":"https://api.github.com/users/alena-marchenko/following{/other_user}","gists_url":"https://api.github.com/users/alena-marchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/alena-marchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alena-marchenko/subscriptions","organizations_url":"https://api.github.com/users/alena-marchenko/orgs","repos_url":"https://api.github.com/users/alena-marchenko/repos","events_url":"https://api.github.com/users/alena-marchenko/events{/privacy}","received_events_url":"https://api.github.com/users/alena-marchenko/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-12-22T07:46:17Z","updated_at":"2016-12-28T01:33:54Z","closed_at":"2016-12-27T16:15:24Z","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n<!--- Before adding new issues, please, check this article https://github.com/magento/magento2/wiki/Issue-reporting-guidelines-->\r\n\r\n### Preconditions\r\n<!--- Provide a more detailed information of environment you use -->\r\n<!--- Magento version, tag, HEAD, etc., PHP & MySQL version, etc.. -->\r\n1.  I am using Magento 2.1.3 CE Version\r\n2. DHL Shipping Method is Enabled\r\n\r\n### Steps to reproduce\r\n<!--- Provide a set of unambiguous steps to reproduce this bug include code, if relevant  -->\r\n1.  Please enter any of the Hong Kong Address.\r\n2.  Street Address & City as Hong Kong.\r\n3.  In Hong Kong Zip Code is not required,\r\n4. It should pass City Name in DHL Request API\r\n5. Save Hong Kong address in Address Book from Frontend My Account & Use that Hongkong Address for Shipping\r\n\r\nRequest API\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<p:DCTRequest xmlns:p=\"http://www.dhl.com\" xmlns:p1=\"http://www.dhl.com/datatypes\" xmlns:p2=\"http://www.dhl.com/DCTRequestdatatypes\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.dhl.com DCT-req.xsd \">\r\n   <GetQuote>\r\n      <Request>\r\n         <ServiceHeader>\r\n            <SiteID>****</SiteID>\r\n            <Password>****</Password>\r\n         </ServiceHeader>\r\n      </Request>\r\n      <From>\r\n         <CountryCode>SG</CountryCode>\r\n         <Postalcode>11111</Postalcode>\r\n         <City>SINGAPORE</City>\r\n      </From>\r\n      <BkgDetails>\r\n         <PaymentCountryCode>SG</PaymentCountryCode>\r\n         <Date>2016-12-22</Date>\r\n         <ReadyTime>PT0H00M</ReadyTime>\r\n         <DimensionUnit>CM</DimensionUnit>\r\n         <WeightUnit>KG</WeightUnit>\r\n         <Pieces>\r\n            <Piece>\r\n               <PieceID>1</PieceID>\r\n               <Weight>2</Weight>\r\n            </Piece>\r\n         </Pieces>\r\n         <PaymentAccountNumber>610461741</PaymentAccountNumber>\r\n         <IsDutiable>Y</IsDutiable>\r\n      </BkgDetails>\r\n      <To>\r\n         <CountryCode>HK</CountryCode>\r\n         <Postalcode />\r\n         <City />\r\n      </To>\r\n      <Dutiable>\r\n         <DeclaredCurrency>SGD</DeclaredCurrency>\r\n         <DeclaredValue>32.00</DeclaredValue>\r\n      </Dutiable>\r\n   </GetQuote>\r\n</p:DCTRequest>\r\n```\r\nResponse API\r\n```\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<res:DCTResponse xmlns:res=\"http://www.dhl.com\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.dhl.com DCT-Response.xsd\">\r\n   <GetQuoteResponse>\r\n      <Response>\r\n         <ServiceHeader>\r\n            <MessageTime>2016-12-22T08:39:34.941+01:00</MessageTime>\r\n            <SiteID>****</SiteID>\r\n         </ServiceHeader>\r\n      </Response>\r\n      <Note>\r\n         <Condition>\r\n            <ConditionCode>3021</ConditionCode>\r\n            <ConditionData>The destination country HK location postal code  or City  is invalid. Please check the destination country location details.</ConditionData>\r\n         </Condition>\r\n      </Note>\r\n   </GetQuoteResponse>\r\n</res:DCTResponse>\r\n```\r\n5. It's not passing Hong Kong As a City\r\n\r\n### Expected result\r\n<!--- Tell us what should happen -->\r\n1. \r\nRequest API Should be like\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<p:DCTRequest xmlns:p=\"http://www.dhl.com\" xmlns:p1=\"http://www.dhl.com/datatypes\" xmlns:p2=\"http://www.dhl.com/DCTRequestdatatypes\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.dhl.com DCT-req.xsd \">\r\n   <GetQuote>\r\n      <Request>\r\n         <ServiceHeader>\r\n            <SiteID>****</SiteID>\r\n            <Password>****</Password>\r\n         </ServiceHeader>\r\n      </Request>\r\n      <From>\r\n         <CountryCode>SG</CountryCode>\r\n         <Postalcode>11111</Postalcode>\r\n         <City>SINGAPORE</City>\r\n      </From>\r\n      <BkgDetails>\r\n         <PaymentCountryCode>SG</PaymentCountryCode>\r\n         <Date>2016-12-22</Date>\r\n         <ReadyTime>PT0H00M</ReadyTime>\r\n         <DimensionUnit>CM</DimensionUnit>\r\n         <WeightUnit>KG</WeightUnit>\r\n         <Pieces>\r\n            <Piece>\r\n               <PieceID>1</PieceID>\r\n               <Weight>2</Weight>\r\n            </Piece>\r\n         </Pieces>\r\n         <PaymentAccountNumber>610461741</PaymentAccountNumber>\r\n         <IsDutiable>Y</IsDutiable>\r\n      </BkgDetails>\r\n      <To>\r\n         <CountryCode>HK</CountryCode>\r\n         <Postalcode />\r\n         <City>Hong Kong</City>\r\n      </To>\r\n      <Dutiable>\r\n         <DeclaredCurrency>SGD</DeclaredCurrency>\r\n         <DeclaredValue>32.00</DeclaredValue>\r\n      </Dutiable>\r\n   </GetQuote>\r\n</p:DCTRequest>\r\n\r\n```\r\n### Actual result\r\n<!--- Tell us what happens instead -->\r\n1. If we pass above request, then it works fine. Otherwise Not\r\n<!--- (This may be platform independent comment) -->\r\n @magento-admin and @magento-team  Please look"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/269410238","html_url":"https://github.com/magento/magento2/issues/7928#issuecomment-269410238","issue_url":"https://api.github.com/repos/magento/magento2/issues/7928","id":269410238,"user":{"login":"shahankitb997","id":20528998,"avatar_url":"https://avatars.githubusercontent.com/u/20528998?v=3","gravatar_id":"","url":"https://api.github.com/users/shahankitb997","html_url":"https://github.com/shahankitb997","followers_url":"https://api.github.com/users/shahankitb997/followers","following_url":"https://api.github.com/users/shahankitb997/following{/other_user}","gists_url":"https://api.github.com/users/shahankitb997/gists{/gist_id}","starred_url":"https://api.github.com/users/shahankitb997/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahankitb997/subscriptions","organizations_url":"https://api.github.com/users/shahankitb997/orgs","repos_url":"https://api.github.com/users/shahankitb997/repos","events_url":"https://api.github.com/users/shahankitb997/events{/privacy}","received_events_url":"https://api.github.com/users/shahankitb997/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T01:33:54Z","updated_at":"2016-12-28T01:33:54Z","body":"HI @joni-jones Can you please provide the solution. What needs to be fixed to solve this issue?"}}
{"actor":{"display_login":"shahankitb997"}}