I'm not sure if this is feasible or not, but I have a number of wholesale customers who I allow to use their own fedex account numbers for shipping, because they get a better rate than I do. When I'm shipping the package, I have to call them up each time to get their account number. Is there a way to allow user to specify their own fedex account number on checkout to get a quote, which will append to the order as a comment, but not charge them for that amount, since the shipping charge will be added upon shipment, and not upon payment? I know it's not a common request, and probably should be in a helper module, but I figured here's the best place to ask.

Sorry if that's kind of a ramble.

Comments

BroadlineCable’s picture

You would need more than just their Account number. It would probably require all of the information used in the web services api (api key, password, account number, meter number) to get an accurate quote.

tr’s picture

Like BroadlineCable said, the FedEx API doesn't allow you to get quotes for other people's accounts, since account rates are private between the shipper and FedEx.

However, that's probably not what you want. Every place that I've dealt with that allows me to supply my own FedEx number does *not* quote me shipping, it just lets me enter my number and have FedEx bill the actual shipping charges to me. I do not find out the shipping cost until I get my FedEx bill.

Adding the feature to allow the customer to specify an account number to charge requires thinking about how you want the user interface to operate - do you want the customer to see all the rates then get a choice to enter his own number (and remember, "all the rates" could include not only FedEx rates but also any other shipping methods configured - UPS, Flat Rate, USPS, etc.). Then you would have to let the customer choose what type of number - is it a FedEx number, UPS number? Perhaps even a number for something like DHL where there is no available shipping quotes module.) You will also have to somehow give the user a choice of method (next day, 2-day, etc.) to use when shipping with the customer's account number, and the methods depend on what type of number the customer enters. This choice of method is also not necessarily the same choice as you would present when fetching shipping quotes.

I suspect this sort of functionality is better encapsulated in a separate module because it will have to manage fetching and display of *all* the configured shipping quotes, and it will have to manage the shipping quotes pane on the checkout page to present either quote or a number entry form, and will have to have some JavaScript to deal with either adding the quote price to the order total or not, depending on whether the customer provided an account number or not.

tr’s picture

Status: Active » Postponed
Dokuro’s picture

Anything ever come about on this with UPS or FedEx?

jimmyobomsawin’s picture

I would be happy to see a simpler feature: when the checkout screen polls for shipping rates, one of the options returned will be a $0 "use your own FedEx account". The module doesn't poll for their rate. Choosing this option simply reveals a field into which they can type their FedEx account number, which gets saved with the order.

junipllc’s picture

Title: Allow Users to Input Their Own Fedex Account Number » Allow Users to Input Their Own Fedex Account Number RDUGE

This issue seems to be postponed, but I was wondering also if this would be a possibility. squirrelist has a good solution for my clients' needs. I just want to make sure that it isn't implemented somewhere else before I do a little monkeying around with the code. If not, I'll submit a patch with anything I can come up with.

Oops, sorry about the subject change -- copy and paste snafu. :)

tr’s picture

Title: Allow Users to Input Their Own Fedex Account Number RDUGE » Allow Users to Input Their Own Fedex Account Number
Version: 6.x-2.0 » 7.x-2.x-dev

No, this hasn't been implemented yet.