The cart_shipping.list
method in the Magento Core API does not return all shipping/payment methods enabled on the admin site. The enabled methods are Flat Rate, Table Rates, Free Shipping, UPS, USPS, FedEx and DHL. Calling cart_shipping.list
only returns Flat Rate, Free Shipping and UPS.
Any ideas as to why?
My main suspicion (when looking at the getShippingRatesCollection()
function of the Mage_Sales_Model_Quote_Address
class) is that the shipping address set for the order is used to filter some of the methods out. However, I don't fully understand how this filtering occurs, since in the front end this problem does not occur when using the same shipping address (i.e. I can see all the shipping methods that I expect to see for that address).