1

I cannot identify the reason that cause Fedex Shipping Label not working on Magento (1.7.0.2). Everytime I try to generate a new label, I got this message:

An error occurred while creating shipping label.

Exception.log shows:

SoapFault exception: [SOAP-ENV:Server] Fault in app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php:1470

The exception is triggered by this call in Mage_Usa_Model_Shipping_Carrier_Fedex (1470)

$response = $client->processShipment($requestClient);

How can I go further ? Is it an issue on FedEx server side ?

1
  • is it solve your problem
    – user51361
    Apr 10, 2017 at 10:03

1 Answer 1

5

FedEx have changed their Web-Service URL. If you're on 1.7.0.2 copy the file app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php to /app/code/local/Mage/Usa/Model/Shipping/Carrier/Fedex.php and make the following changes to it:

Line 135

$client->__setLocation($this->getConfigFlag('sandbox_mode')
    ? 'https://wsbeta.fedex.com:443/web-services/rate'
    : 'https://ws.fedex.com:443/web-services/rate'
);

Change to:

$client->__setLocation($this->getConfigFlag('sandbox_mode')
    ? 'https://wsbeta.fedex.com:443/web-services'
    : 'https://ws.fedex.com:443/web-services'
);
3
  • I'm getting "Authentication Required" even though I plugged in Production keys/passwords. Quotes and Tracking are working but label creation not. Mar 25, 2016 at 18:53
  • @KalvinKlien : is it solve your problem
    – user51361
    Apr 10, 2017 at 10:02
  • wsbeta.fedex.com:443/web-services, ws.fedex.com:443/web-services this URL also returns empty page.....
    – zus
    Jan 12, 2018 at 12:03

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.