Hello,

I've been trying to make some updates to a site's shipping quote settings. I can consistently get quotes on the cart page, but I also receive the follow error after I navigate off the cart page.

# Error in processing FedEx Shipping Quote transaction.
# ERROR
# prof
# 1000
# Authentication Failed

I called Fedex tech support, and they recommending changing the settings to the production server. I did so, and continued to get the error. Their next suggestion was to get a new FedEx developer key, which I did. I've doubled check the 4 credential fields on the settings page, and tried it set to both production and testing servers. I've done the same logged in as User 1 and as Anonymous, yet the error continues as soon as I refresh or move away from the cart page after getting a quote.

I've followed the debug instructions in README.txt, and I'm not finding any ubercart errors in dblog. Any ideas on what this could be? Is there some other authentication I need to enter other than the four items at /admin/store/settings/quotes/methods/fedex?

Thanks in advance!

Comments

tr’s picture

You need four numbers:

FedEx Web Services API User Key
FedEx Web Services API Password
FedEx Account #
FedEx Meter #

These four numbers all have different values for the production server than for the test server.

That error is telling you that at least one of your four numbers is wrong, or doesn't match the server type. Or your FedEx account isn't authorized to use an API you're trying to use (e.g. Address Validation and Label Printing each require additional permissions on the FedEx end).

tr’s picture

Status: Active » Postponed (maintainer needs more info)
sco_tt’s picture

Status: Postponed (maintainer needs more info) » Fixed

Thanks for getting back so quickly. I switched it over to the Production Server and it started working correctly. Not quite sure what the issue was. Thanks again.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

vako’s picture

Status: Closed (fixed) » Active

It's been more than a year since this post was closed, but I am still getting the exact same issue with the following configuration:

Drupal 6.20
Ubercart 6.x.2.x-dev
FedEx Shipping Quotes for Ubercart 6.x.2.x-dev

Mainly, when we try to get a shipping quote during the checkout process, we get the error:

# Error in processing FedEx Shipping Quote transaction.
# ERROR
# prof
# 1000
# Authentication Failed

We have all 4 FedEx numbers entered and I can't seem to find where the problem is. Any feedback is appreciated.
Thanks!

tr’s picture

An authentication failure is pretty easy - one or all of your four numbers is not correct, or you don't have permission to use the FedEx service. As I said above, you have a different set of numbers for the Production server than for the Testing server. And there are different permissions for each of the FedEx API services, so if you're trying to use Label Printing or Address Validation you will have to get FedEx to enable your account for those services (and enable your account on BOTH the testing and Production servers). Contact the FedEx tech support line and they can trace your quote requests and tell you exactly what is going wrong.

vako’s picture

Thanks for the quick answer and suggestions. I will check with FedEx tomorrow and make sure all keys are in working condition.
Meanwhile, in /admin/store/settings/quotes/methods/fedex the password field gets blanked out after we save the page, is that normal? should the password show on that page or not?

sco_tt’s picture

It's blanked out on my production site and working correctly.

tr’s picture

Status: Active » Postponed (maintainer needs more info)
vako’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

My issue has been fixed as follows:
- started from a fresh installation
- created a brand new Fedex account.

The authentication error might have been due to wrong account info.

jasonabc’s picture

Was experiencing the exact same thing as #5. Had my developer credentials all inserted correctly but was getting "Authentication Failed" messages. I stopped trying to get my Test credentials working and applied for Production credentials. Once I inserted those and moved the UC FedEx module to LIVE - it worked fine.

eklingen’s picture

Issue summary: View changes

This is a super old post, but since I was led here looking for a solution, I figured I would share.

It turns out that PHP was caching my WDSL with the beta URLs.

Two potential solutions presented themselves:

ini_set( 'soap.wsdl_cache_enabled', 0 );

$client = new SoapClient( $url, array( 
    'cache_wsdl' => WSDL_CACHE_NONE
) );
youarethebombdiggity’s picture

Thank you eklingen for your amazing information! My SOAP's client cache would be the !LAST THING IN THE WORLD! that I would ever think of to check or consider as to why I kept getting Error Code 1000. You are amazing!