I had integrated Magento UPS XML Shipping module with all live credentials. But What I see is

No shipping Methods Available I enabled the debug mode the debug file is below Error code I got is

<AccessRequest xml:lang="en-US">
  'request' => '<?xml version="1.0"?>
<RatingServiceSelectionRequest xml:lang="en-US">
      <CustomerContext>Rating and Service</CustomerContext>
          <Description>Customer Counter</Description>

  <Shipment>      <Shipper>      <Address>
          <City> Pretoria</City>
          <StateProvinceCode>72 Struben St, Pretoria Central, </StateProvinceCode>
          <StateProvinceCode></StateProvinceCode><ResidentialAddressIndicator>01</ResidentialAddressIndicator>      </Address>

          <StateProvinceCode>72 Struben St, Pretoria Central, </StateProvinceCode>

    </Package>  </Shipment>
  'result' => '<?xml version="1.0"?>
<Response><TransactionReference><CustomerContext>Rating and Service</CustomerContext><XpciVersion>1.0</XpciVersion>
<ErrorDescription>This measurement system is not valid for the selected country or territory.</ErrorDescription></Error>
) {"is_exception":false} []

As per the error provided by you, you can see that the measurement units used by you are lbs. For India, you will not get the rates with these.

You need to switch to kgs.

You can switch this weight unit from admin.

Logged in to your Magento admin panel -> go to store -> configuration -> general section -> locale options -> over there you will see weight unit option -> select which you want to set.

I hope it helps.

| improve this answer | |
  • Thanks a lot, you saved my day. it's working – Ramesh KR Mar 1 '19 at 8:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.