Normal Proc:

We configure the UPS/FedEx... etc credentials and other api details in Magento Admin Panel.

In cart/checkout page, Magento shows the shipping rates based on configured account details.

If I want to change/show the third party account rates, I will show the custom fields in cart/checkout page based on these credentials, as well as the shipping rates.

If a customer enters values for those custom fields, how can I pass those credentials and get the associated shipping rates.

I mean, which method I should rewrite? Or should I write a new method?

Thanks in advance.

  • So do you mean you want to over ride the calculations of UPS/FEDEX? Commented Jun 2, 2014 at 13:21
  • @user6451, No, Actually shipping rates are based on account number? right. So I just know where magento get the credentials from config for getting shipping rates. Commented Jun 2, 2014 at 13:37
  • @user6451, from requestShippingRates() method also just passing country,item details there is no credentials/account details are getting to get the shipping rates. Commented Jun 2, 2014 at 13:42
  • This link may help you magentocommerce.com/wiki/3_-_store_setup_and_management/… Commented Jun 2, 2014 at 13:45

1 Answer 1


I am not sure, but i think you want to know the database table where ups details are stored:

In the table sales_flat_shipment_track order_id : this is a key value which matches order_id in sales_flat_shipment_grid and parent_id in sales_flat_order_address and entity_id in sales_flat_order number : UPS tracking number

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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