Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Support for Freight Rates #121

Open
GeorgeValergas opened this issue Jun 22, 2016 · 5 comments
Open

No Support for Freight Rates #121

GeorgeValergas opened this issue Jun 22, 2016 · 5 comments

Comments

@GeorgeValergas
Copy link

GeorgeValergas commented Jun 22, 2016

Hi there,

passing in :service_type => "FEDEX_FREIGHT_ECONOMY" when calling
Fedex::Shipment#rate
gives the following error.

Either a FedEx Freight or Alternate account number and associated address is required for service type FEDEX_FREIGHT_ECONOMY

In order to support freight shipments, the credentials class needs a data member for :freight_account_number

@fxfilmxf
Copy link

fxfilmxf commented Jan 8, 2017

Any response here? Some guidance on implementing would be welcome as well.

@vpontis
Copy link

vpontis commented Mar 21, 2018

I am also experiencing this error! I have reached out to our local FedEx person to see if they can help me debug. I'll update if I figure it out :)

I am experiencing this using test credentials and wsdl='beta'. I have not yet gotten production credentials.

Though I encountered the error when using this repo: https://github.com/jzempel/fedex

I think that means this error is a fedex auth issue, not a library issue.

@vpontis
Copy link

vpontis commented Mar 24, 2018

OK so I fixed my error and it's a little bit weird.

FedEx set us up with two different accounts: one for express (ground / parcel / etc) and one for freight (LTL, freight economy, etc).

Only the express account will give working API credentials (API Key, password, account number, and meter number) but if you want to get a freight rate request, you will need to add your freight account number at another part of the request.

@vpalos
Copy link

vpalos commented Jun 19, 2018

@vpontis But where exactly did you add the Account Number? Can you give a code sample?

@vpalos
Copy link

vpalos commented Jun 19, 2018

So, you're supposed to add the Freight Account Number (which is different from the regular one) at the path: RequestedShipment.FreightShipmentDetail.FedExFreightAccountNumber.

Really awkward API definition, FedEx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants