Today Magento is effective software for online E-commerce system. In your E-commerce system, a shipping module is essential for online shopping. Today world Fed-Ex is one of the best shipping providers. So if you want to integrate Fed-Ex shipping module in Magento, then you may face problems regarding the Fed-Ex shipping rate calculation API. I have solved that issue in Magento existing Fex-Ex module.
Step 1:
If you are using live site then
$_gatewayUrl = ‘https://gateway.fedex.com/GatewayDC’;
Or
For tesing(sand box) site :
$_gatewayUrl = ‘https://gatewaybeta.fedex.com/GatewayDC’;
Step 2: Please open
app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php and find out “_getXmlQuotes() “ function . Now here you havev to mention correct MeterNumber and CarrierCode.
See Example:
$requestHeader->addChild(‘MeterNumber’, ’100121601′);
$requestHeader->addChild(‘CarrierCode’, ‘FDXE’);
Note: In admin “shipping setting” section, you need to enter correct “Account Number” for proper working of this module.







