Note that there are some explanatory texts on larger screens.

plurals
  1. POMagento, enabling DHL, "Site Id is wrong"
    primarykey
    data
    text
    <p>We have just tried to enable DHL shipping method on our Magento backend, and for some reason the mentioned "Site Id is wrong" error keeps coming up. We have checked and re-checked that our information is correct, and have tried searching for similar problems, but can't find any that match or have been answered. After digging up through the logs, this is what we have found:</p> <pre><code>( [request] =&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;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 "&gt;&lt;GetQuote xmlns=""&gt;&lt;Request&gt;&lt;ServiceHeader&gt;&lt;SiteID&gt;*site id*&lt;/SiteID&gt;&lt;Password&gt;*password*&lt;/Password&gt;&lt;/ServiceHeader&gt;&lt;/Request&gt;&lt;From&gt;&lt;CountryCode&gt;EE&lt;/CountryCode&gt;&lt;Postalcode&gt;11911&lt;/Postalcode&gt;&lt;City&gt;Tallinn&lt;/City&gt;&lt;/From&gt;&lt;BkgDetails&gt;&lt;PaymentCountryCode&gt;EE&lt;/PaymentCountryCode&gt;&lt;Date&gt;2013-03-04&lt;/Date&gt;&lt;ReadyTime&gt;PT48H00M&lt;/ReadyTime&gt;&lt;DimensionUnit&gt;CM&lt;/DimensionUnit&gt;&lt;WeightUnit&gt;KG&lt;/WeightUnit&gt;&lt;Pieces xmlns=""&gt;&lt;Piece xmlns=""&gt;&lt;PieceID&gt;1&lt;/PieceID&gt;&lt;Weight&gt;1.5&lt;/Weight&gt;&lt;/Piece&gt;&lt;/Pieces&gt;&lt;PaymentAccountNumber&gt;323080462&lt;/PaymentAccountNumber&gt;&lt;IsDutiable&gt;Y&lt;/IsDutiable&gt;&lt;/BkgDetails&gt;&lt;To&gt;&lt;CountryCode&gt;SG&lt;/CountryCode&gt;&lt;Postalcode&gt;510583&lt;/Postalcode&gt;&lt;City&gt;Singapore&lt;/City&gt;&lt;/To&gt;&lt;Dutiable&gt;&lt;DeclaredCurrency&gt;EUR&lt;/DeclaredCurrency&gt;&lt;DeclaredValue&gt;166.25&lt;/DeclaredValue&gt;&lt;/Dutiable&gt;&lt;/GetQuote&gt;&lt;/p:DCTRequest&gt; [result] =&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;res:ErrorResponse xmlns:res='http://www.dhl.com' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation= 'http://www.dhl.com err-res.xsd'&gt; &lt;Response&gt; &lt;ServiceHeader&gt; &lt;MessageTime&gt;2013-03-03T22:58:48+00:00&lt;/MessageTime&gt; &lt;SiteID&gt;*site id*&lt;/SiteID&gt; &lt;Password&gt;*site id*&lt;/Password&gt; &lt;/ServiceHeader&gt; &lt;Status&gt; &lt;ActionStatus&gt;Error&lt;/ActionStatus&gt; &lt;Condition&gt; &lt;ConditionCode&gt;100&lt;/ConditionCode&gt; &lt;ConditionData&gt;Validation Failure:Site Id is wrong&lt;/ConditionData&gt; &lt;/Condition&gt; &lt;/Status&gt; &lt;/Response&gt;&lt;/res:ErrorResponse&gt; [__pid] =&gt; 11937 ) 2013-03-04T00:58:45+00:00 DEBUG (7): Array ( [100] =&gt; Error #100 : Validation Failure:Site Id is wrong [__pid] =&gt; 11937 ) </code></pre> <p>If you read through that carefully, the code later seems to send the site id as the site id and password for some reason (and again, we have checked that the site id and password have been put in correctly in the configuration).</p> <p>Has anyone encountered similar problems or know where we could look for a fix?</p> <p>Any input is appreciated.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload