I have configured the UPS shipping method in magento with correct details. During checkout, the UPS shipping rates are displayed. But when I compared those shipping rates(Which displayed during checkout) with the UPS site(Calculate Time and Cost) Shipping rate. It varies.

It has been configured correctly. But dont know what makes the variation.

  • Did you solve your issue?
    – zus
    Feb 17 '18 at 5:04

Do you have negotiated UPS rates for your website?

Are you logging into the UPS site with the same credentials as your website has configured when getting Time and Cost to increase your chances of seeing those same negotiated rates?

If you're using XML with UPS, have you tried doing a var_dump($debugData['request']) in the try portion of the curl request in _getXmlQuotes() to confirm that you have your shipper number configured correctly and that it's getting passed via:

    if ($this->getConfigFlag('negotiated_active')
            && ($shipper = $this->getConfigData('shipper_number')) ) {
        $xmlRequest .= "<ShipperNumber>{$shipper}</ShipperNumber>";

I found that sometimes we'd see different rates if I was not obtaining and passing the correct params e.g. destRegionCode, 19_destPostal, 22_destCountry. I added a call to the TimeInTransit API to make sure we had the matching region code.

  • Thanks for response. i will let you know once your solution helps.
    – vinothavn
    Jul 15 '15 at 9:54

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.