FedEx Shipping Quotes

Contrib type: 
Module
Status: 
Complete and working
Moderation: 
Not ready for moderation
Latest version: 
0.3

Downloads


Compatibility: 
Ubercart 1.x

Shipping quote module that interfaces with the FedEx Web Services API to get rates for package shipments. Replaces the previous FedEx contribution, which was based on an older, deprecated FedEx API.

This module requires PHP 5 built with the SOAP extension enabled (--enable-soap).

Detailed information about requirements, limitations, installation, troubleshooting, etc. are included in the README.txt.

Bug Fixes / Features added in version 0.3:

  1. Fixed minor error in parsing ACCOUNT rates
  2. Verified module works with Ubercart Beta 1

Bug Fixes / Features added in version 0.2:

  1. Fixed weight calculation error - was returning too high a weight by a few percent (typo)
  2. Added package tracking function, not tied into admin menus yet
  3. Made List Rates/Account Rates functional
  4. Minor fix to support shipping to non-US destinations
  5. Changed README.txt to reflect current version of the code

PreviewAttachmentSize
uc_fedex-0.3.tar.gz85.25 KB
mtndan@drupal.org's picture
Offline
Joined: 12/09/2007
Juice: 41
Thank you!

Thanks, this works great!

Any chance of a bounty for uploading shipments to fedex so as to allow merchants to print out labels with doing double entry?

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3269
Re: Thank you!

Thanks. It's pretty cool to see it actually in use so soon!

I do plan to eventually tackle label printing etc., but that gets into the issue of how to do shipping in Ubercart, as opposed to shipping *quotes*, which is what all the shipping modules currently do. There are a number of hurdles and technical difficulties involved with printing labels, one of which is the need, at least for FedEx, to get the label printing code certified by FedEx. I understand UPS restricts issuing credentials for label printing to organizations that ship >50 packages a day, or something like that. And it's plain just not do-able for USPS (I've looked into this and will write a detailed post of my findings someday soon). There may be similar problems with FedEx, I really haven't explored that in detail yet.

<tr>.
mtndan@drupal.org's picture
Offline
Joined: 12/09/2007
Juice: 41
broken in beta 2

Hi - the module is no longer working in beta 2. I have lost the fedex config page and "recieving quotes" just hangs on the checkout page. Any ideas? Thanks

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3269
Re: broken in beta 2

Hmm, I have it running on beta 2 - there's nothing new that should affect this module specifically. "Lost the config page" is an indication that something bigger is going on - I don't know how that can happen unless the installation got screwed up somehow. Do *any* of the shipping quotes modules work?

<tr>.
mtndan@drupal.org's picture
Offline
Joined: 12/09/2007
Juice: 41
Re: Re: broken in beta 2

By enabling another shipping module, suddenly my fedex settings are back

However, it's still hanging when it tries to get quotes. It didn't do this before. Any other ideas?

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3269
Re: Re: Re: broken in beta 2

Are you using the production server or the test server? The test server seems to go down a lot, but I've never seen the production server go down yet.

<tr>.
mtndan@drupal.org's picture
Offline
Joined: 12/09/2007
Juice: 41
it's production

production, all the settings are valid. any way to debug this?

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3269
Re: it's production

Turn on the debug flag at admin/store/settings/quotes/edit

Then when you try to get a quote and the progress bar spins and spins, click on a link to go to another page on your site (like the home page) and you will see the FedEx request/response displayed at the top of the page.

But the issue is almost certainly a workflow-ng problem - workflow-ng seems to get confused when any of the shipping modules are changed (additional shipping methods added/removed, modules installed/disabled, etc). One thing to do to get it back working is described here: http://www.ubercart.org/comment/9688/Re-Its-works-m

<tr>.
mtndan@drupal.org's picture
Offline
Joined: 12/09/2007
Juice: 41
no success

I have enabled debugging and when I go to another page, no errors are displayed?

I tried the fix you suggested for workflow-ng - no success.

I tried enabled "weight" shipping method since we need something working... no success.

Is there any way I can "reinstall" or cleanup the database without breaking the site even further?

Thanks

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3269
Re: no success

It sounds like all your shipping quotes are broken then? I don't really see how there can be no debug info printed at all (you're doing this as admin and you have 'configure quotes' permission?). I suggest you truncate any cache_ tables in your database first. If that doesn't fix things, you can safely disable and *uninstall* workflow-ng and uc_fedex and any other shipping module you have installed, then reinstall workflow-ng (I'm using v1.6 under UC beta3) then reinstall uc_fedex. Use Firebug on the checkout page to see the AJAX calls being made by the shipping methods, to find out where the process is breaking down.

<tr>.
mtndan@drupal.org's picture
Offline
Joined: 12/09/2007
Juice: 41
the horror the horror

OK, I tried all your suggestions. It's STILL hanging... when I check it out in firebug it's hanging here:

POST https://desertsuncoffee.com/cart/checkout/shipping/quote 500 (312ms)

No debug info is being shown (i guess because we're not getting any response from fedex?)

lladnar1's picture
Offline
Joined: 02/01/2008
Juice: 8
re: the horror the horror

Check to make sure SOAP is enabled in PHP. That worked for me once I got my authentication correct.

lladnar1's picture
Offline
Joined: 02/01/2008
Juice: 8
International Shipping?

I've got this working great for Domestic (US) shipping but it doesn't appear to be working for international shipping.

When I try to get a quote for london, I get:
# ERROR
# crss
# 521
# Destination postal code missing or invalid. {0}
# warning: Invalid argument supplied for foreach() in /home/xxx/public_html/sites/all/modules/ubercart/uc_fedex/uc_fedex.module on line 440.

When I try to ship to Victoria, BC, I got a similar error telling me that British Columbia was not valid.

How much testing have you done for international ordering?

lladnar1's picture
Offline
Joined: 02/01/2008
Juice: 8
Line 440 error

I often get an error when the response fails for whatever reason:
warning: Invalid argument supplied for foreach() in /home/xxx/public_html/sites/all/modules/ubercart/uc_fedex/uc_fedex.module on line 440.

I added the line:
if ($respone->Options)
right before the foreach to ensure that it has a value.

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3269
lladnar1 wrote: I've got
lladnar1 wrote:

I've got this working great for Domestic (US) shipping but it doesn't appear to be working for international shipping.

When I try to get a quote for london, I get:
# ERROR
# crss
# 521
# Destination postal code missing or invalid. {0}
# warning: Invalid argument supplied for foreach() in /home/xxx/public_html/sites/all/modules/ubercart/uc_fedex/uc_fedex.module on line 440.

When I try to ship to Victoria, BC, I got a similar error telling me that British Columbia was not valid.

How much testing have you done for international ordering?

I don't use FedEx for international shipping. As I said in the README, I've done only minimal testing for international shipments. I ran quotes for about a half dozen addresses in Canada, UK, France, and Spain. It worked with the addresses I have. Perhaps you're not entering things in a format I expect. Are you using the .cif files in your checkout? The zones and postal codes are passed to uc_fedex directly from the form. I don't do any post-processing like removing white space or anything like that...

If you could send me some example city/zone/postal code/country combinations that fail, I will see what's going wrong. Also, if you can send me some real tracking numbers for FedEx international shipping, I will make sure my Package Tracking module works with those (I haven't tested tracking with FedEx International because I don't ship that way, so I don't have any valid tracking numbers to test with.)

<tr>.
TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3269
Quote:I often get an error
Quote:

I often get an error when the response fails for whatever reason:
warning: Invalid argument supplied for foreach() in /home/xxx/public_html/sites/all/modules/ubercart/uc_fedex/uc_fedex.module on line 440.

I added the line:
if ($respone->Options)
right before the foreach to ensure that it has a value.

Yes, it looks like that part of the XML isn't part of the reply when you send an invalid field to the server. I'll put this fix in.

<tr>.
TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3269
mtndan wrote: OK, I tried
mtndan wrote:

OK, I tried all your suggestions. It's STILL hanging... when I check it out in firebug it's hanging here:

POST https://desertsuncoffee.com/cart/checkout/shipping/quote 500 (312ms)

No debug info is being shown (i guess because we're not getting any response from fedex?)

The debug info prints out using drupal_set_message, meaning it will show up in a message box at the top of the NEXT page you visit on your site. Since the shipping quotes are being done by an AJAX call, you're not actually going to a different page in response to the "Calculate Shipping" button push. Let it spin for a while, then click on any other link on your site - you should see the message box appear at the top of that new page. AS A MINIMUM you will see the request sent to the FedEx server - if you post or PM me that request (remove your private ID numbers) I can take a look to see if it is well-formed or missing something.

Also, you might want to check your theme page.tpl.php file to make sure it's displaying the $messages variable - not all themes are as complete as they should be, and if yours left out this detail you won't see any error messages at all (you can switch your admin theme to Garland to make sure you're seeing everything).

<tr>.
lladnar1's picture
Offline
Joined: 02/01/2008
Juice: 8
re:International Shipping
Quote:

If you could send me some example city/zone/postal code/country combinations that fail, I will see what's going wrong. Also, if you can send me some real tracking numbers for FedEx international shipping, I will make sure my Package Tracking module works with those

I tried the following:
1 Cook Street
Victoria, BC V8V 3W6 (tried it with and without the space)

I also tried:
10 Downing Street
London, Greater London SW1A 2AA (tried with and without the space)

I'm not using the shipping portion, only the quotes, so I don't have any tracking codes for international shipping.

Also, yes, I'm using the .cif country settings.

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3269
Re: re:International Shipping

Both of those addresses work for me. Do the products in your cart have a non-zero weight? The only thing I've found so far is that the quote doesn't return a value if the weight is zero.

Also, are you using the Testing or Production server? Account or List quote type?

<tr>.
dstrickland's picture
Offline
Joined: 01/14/2008
Juice: 83
I started getting the (Invalid Package weight entered) from fedx

Thanks to the development module. I printed out the inputs and outputs from the fedex call

array(1) {
  [0]=>
  object(stdClass)#24 (4) {
    ["price"]=>
    float(656.25)
    ["weight"]=>
    float(882)
    ["shipweight"]=>
    float(882)
    ["qty"]=>
    int(1)
  }
}

As you can see, there is a weight for the quote.

Apparently, Fedex is not checking and returning individual errors. If the weight exceeds the maximum, it returns that there is not a weight. It is just the wrong message. If I go in the shopping cart and change the qty from 75 to 10. it produces a quote.

Does anyone know the maximum fedex weight? I putting together a lightweight cubing algorithm as a fix.

Here is my example. Someone buys 40 balusters at 4 lbs each and it fails. In reality, they are shipped at 5 per box. I am thinking that we can add a parameter of max weight per box or modify products to have a max items per box. Either is a good solution, but I am going to put a fix in for max weight. If you order 200 items and they weight .25 lbs and the max weight is 25 lbs, it will not try to ship them in one box, but multiple boxes.

Hope this helps those fedexers out there.

David Strickland
Delante Solutions

David Strickland
Delante Solutions

dstrickland's picture
Offline
Joined: 01/14/2008
Juice: 83
Fix to be posted after testing.

I have found the fix and it seems to only pertain to shippers who have very heavy or large quantities. I added a parameter to the fedex shipping config for max weight per box, added an additional option for break by shipping weight, and modified the quote that in the case of the "break method" it would estimate the number of boxes based on the param and now wahla... it works without complaint. I will test it today and tomorrow. If it is good, I will post the file here. Thanks.

David Strickland
Delante Solutions

David Strickland
Delante Solutions

dstrickland's picture
Offline
Joined: 01/14/2008
Juice: 83
Here is the Patch (Break Package by Weight)

I have attached a patch that provides a weight parameter on the fedex config screen and a another radio button to use the parameter (break packages by weight).

On ironpickets.com, we set the max weight to 45 lbs for fedex. We are exclusively using fedex or ground shipping companies because of the weights. The existing module would assumes one package, but now it will use the following equation to determine the number of packages = (floor(total weight / max weight) + 1) iff the break by weight option is set and a weight is provided.

Let me know what you think.

David Strickland
Delante Solutions

AttachmentSize
uc_fedex-0.3-DS-1.tar.gz 84.43 KB

David Strickland
Delante Solutions

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3269
mtndan@drupal.org wrote:Hi -
mtndan@drupal.org wrote:

Hi - the module is no longer working in beta 2. I have lost the fedex config page and "recieving quotes" just hangs on the checkout page. Any ideas? Thanks

Just to follow up on this issue, so there's no confusion over the status of the FedEx module:

I worked with mtndan and we got him running again - it turned out to be a problem with his server configuration and not the FedEx module. We had to change three things: 1) new FedEx credentials, 2) PHP needed to be rebuilt with SOAP, 3) PHP needed to be rebuilt with OpenSSL.

Item 3) is not explicitly documented anywhere as a dependency for Ubercart or Drupal, but it is required by drupal_http_request() whenever an https protocol request is made. The FedEx, UPS, and USPS shipping quotes modules all use https to contact the courier's web site. To support this, PHP needs to be built with the --with-openssl flag

<tr>.
jimi089's picture
Offline
Uber Donor
Joined: 09/07/2007
Juice: 219
Hi TR, Any chance 0.4 is

Hi TR,

Any chance 0.4 is going to be posted soon? I want to fix the bug where the shipping type doesn't show up in the order review.

Thanks!

justin's picture
Offline
Joined: 01/30/2008
Juice: 22
PerPieceDimensions

I noticed that beginning on line 584 of v0.3, the dimensions for a package are all explicitly set to 1 before getting the quote:

'PerPieceDimensions'   => array(
        'Length' => '1',
        'Width'  => '1',
        'Height' => '1',
        'Units'  => 'IN',
      ),

Shouldn't it be checking some real dimensions entered for the product(s)? How inaccurate will this make the quote? Or are the dimensions just determined by the package type that you select?
Thanks.

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3269
Re: PerPieceDimensions

This is noted and discussed in the README.txt file that comes with the module. There's all sorts of other good stuff in there.

Basically, for most couriers, FedEx included, the weight is the number used to determine the shipping rate, with the assumption that heavier items come in larger packages. The only time you'll get into trouble is if you ship exceptionally light objects in large packages - then FedEx will charge a "dimensional rate" based on the package size instead of the weight. The package dimension in this module is set small so that you will always get the weight-based rate, not the dimensional weight. (BTW, this is exactly what FedEx's web site does when you get a "quick quote" - it uses a 1"x1"x1" box.)

If you think your shipments might be subject to the dimensional rate, you can easily modify the module for your particular situation. For example, you might want to pass FedEx the dimensions of the largest item in the order. A general solution is not practical, because it requires knowing all the different box sizes you might use and figuring out how large a box is required for an arbitrary mix of your products (along with packing material for the inside of the box). Anyone who has tried to pack a variety of different-sized objects into a box (books, for instance) knows that there are hundreds of ways to do it, some of which make better use of the space than others. Even if you wrote the code to calculate the optimal packing, there is no guarantee a human would do it that same way, therefore there's always going to be a disconnect between what the packaging code "thinks" can be done and what is actually done.

<tr>.
jantoine's picture
Offline
Bug Finder
Joined: 05/02/2008
Juice: 167
Fixed shipping type not showing up on review page

The 0.4 version seems to be taking longer than I expected to release so I went ahead and fixed the "Shipping Type not showing up on the review page" bug. I am attaching a patch and also the complete module. Please test this and let me know if there are any issues.

--
Cheers,

Jon Antoine
www.antoinesolutions.com

AttachmentSize
uc_fedex.patch 799 bytes
uc_fedex.tar.gz 171.05 KB

Cheers,

Jon Antoine
Antoine Solutions
Free Open Source PHP IDE

jrust's picture
Offline
Joined: 12/19/2007
Juice: 122
Showing FedEx image next to quote

I wanted the FedEx module to display the quote similar to the uc_ups logo with a logo so it can easily be differentiated from other carriers. Attached is the logo. To implement just drop the image in the uc_fedex directory and change line 459 to:
'option_label' => '<img class="fedex_logo" src="'. base_path() . drupal_get_path('module', 'uc_fedex') .'/uc_fedex_logo.gif" /> '. $method['fedex']['quote']['accessorials'][$service] . t(' Rate'),

AttachmentSize
uc_fedex_logo.gif 1.16 KB
jantoine's picture
Offline
Bug Finder
Joined: 05/02/2008
Juice: 167
+1 Fedex Logo

+1 for the Fedex Logo. I added this modification to my site and it looks really nice. I extended it by removing the "FedEx " portion of every service. I have attached a patch for easy adoption and would love to see this committed by TR.

*edit
The first patch did not display consistently between the checkout and review pages, so I modified the patch by replacing the "FedEx" text of each service type with the logo. This allows the FedEx logo to be displayed on the review page as well.

Cheers,

Jon Antoine
www.antoinesolutions.com

AttachmentSize
uc_fedex.patch 3.72 KB

Cheers,

Jon Antoine
Antoine Solutions
Free Open Source PHP IDE

japerry@drupal.org's picture
Offline
Bug FinderGetting busy with the Ubercode.Not Kulvik
Joined: 08/08/2007
Juice: 248
+2 fedex logo but with this fix...

I love the fact that there is a FedEX logo now.. however, you gotta check your code! =D

I made a patch to the fedex module to fix the little error, you cannot put the logo in the services field, unless you like your order view to look like this:

<img class="fedex_logo" src="'. base_path() . drupal_get_path('module', 'uc_fedex') .'/uc_fedex_logo.gif" />  2nd Day: 34.32

Since its nice to not display the Fedex words twice, I added a substr around the original services function to get rid of the Fedex words on checkout. This allows the admin to see it print 'Fedex 2nd day' instead of raw HTML output.

Change line around #493:

        'option_label' => $quotes[$key]['option_label'] = '<img class="fedex_logo" src="'. base_path() . drupal_get_path('module', 'uc_fedex') .'/uc_fedex_logo.gif" />  '. substr($method['fedex']['quote']['accessorials'][$service], 5),

And no need to edit _uc_fedex_services()

russelld's picture
Offline
Joined: 09/09/2008
Juice: 9
Silly newbie question.....

Alright, forgive my newbieness ahead of time here, but I'm having a small snag with the module and was hoping someone might know something or could point me in the direction I have failed to look:

At the checkout, it gives me the following message when it calculates shipping:
There were problems getting a shipping quote. Please verify the delivery and product information and try again.
If this does not resolve the issue, please call in to complete your order.

I receive the following message on the error notices on the admin page:

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

I have SOAP enabled on PHP 5.2.6, and have followed all the checklist info in the README file.
I have also double checked my FedEx test credentials, and have even renewed them a few times to try different keys.

Store address is set as well.

What step am I missing here? Or is it the FedEx servers itself right now? I had trouble last week getting the dev keys because that portion of the site was apparently down until this morning or so.

Any advice is HIGHLY appreciated.

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3269
Re: Silly newbie question.....

The message means one of the four numbers you're sending as credentials is wrong. The fact you got a response back from the FedEx server means SOAP and everything else is set up properly on your end. Note that all four numbers are different for the test server - you don't use your normal FedEx account number for the test server, for instance.

<tr>.
joetri@drupal.org's picture
Offline
Joined: 09/18/2008
Juice: 2
FedEx Security Update

This module seems to be working fine for me. Thanx!

I was wondering if anybody got wind of the FedEx security update due to come out shortly. I received an email and can't seem to quote it here, so I attached it. I'm hoping this upgrade won't upset the smooth operation of the Drupal module.

Thanx again and keep up the great work.
--
Joe

AttachmentSize
FedEx-Letter.png 283.99 KB
TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3269
Re: FedEx Security Update

I received the notice, but I have to do some research to see if it affects this module. Currently, the FedEx shipping quotes API does not require or use SSL, so at first blush it seems like it shouldn't be affected.

<tr>.
jrust's picture
Offline
Joined: 12/19/2007
Juice: 122
Patch needed when upgrading to Ubercart 1.4

After upgrading to ubercart 1.4 the fedex quote was no longer working on the shopping cart page (still works fine on the full checkout page, though). The following error was shown:

    * Error in processing FedEx Shipping Quote transaction.
    * ERROR
    * crs
    * 522
    * Destination country code missing or invalid
    * Destination country code missing or invalid

The problem was that CountryCode was being passed to FedEx as null when only the postal code is passed in by the AJAX form. I can think of no easy way to determine the country code just based off the postal code so my patch makes the destination country code equal to the origin country code if it is unable to determine it. Better ideas welcome.

AttachmentSize
dest_country.patch 623 bytes
joegml@drupal.org's picture
Offline
Joined: 09/30/2008
Juice: 2
Post Security Update Authentication Failure

FedEx urgraded yesterday. I tested today and got the following. Prior to FedEx upgrade I was getting quotes fine. Anybody else seeing issues like this? Could just be a coincidence I suppose ???

      *Fault
      Code:soapenv:Server
      String:Internal system error. Please try again later.
    * warning: Invalid argument supplied for foreach() in /var/www/drupal/sites/all/modules/ubercart/uc_fedex/uc_fedex.module on line 440.

Thanks for any insight. Ubercart rocks.

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3269
Re: Post Security Update Authentication Failure

The FedEx Testing server is currently not working, which is why you are receiving that error. (I called FedEx and verified that this is a problem with their server.) The Production server *is* working. The Testing server is really only useful for getting this module configured for the first time - after that you should use the highly-reliable Production server.

I also discussed the notification letter with FedEx. It should *not* affect this module.

<tr>.
dglazer's picture
Offline
Joined: 06/30/2008
Juice: 19
List rates for International Shipping Methods

Forgive me if this sounds silly but what is the reason behind List Rates not being returned for International shipping methods through this module?

effulgentsia@drupal.org's picture
Offline
Joined: 10/01/2008
Juice: 6
Patch for Fedex testing server upgrade

Following up on comments 36 and 37, it appears that as of 9/29/08, Fedex dropped support for their older v2 SOAP API on their testing server. Here's a patch (I just created it, and it appears to be working, but it hasn't gotten much testing) for uc_fedex.module that makes use of the newer v4 API. I'm also attaching the WSDL files from Fedex's developer site. The "RateService_v4.wsdl" file within this zip needs to go in the "wsdl-testing" folder within the "uc_fedex" module. You'll also need to get the production server version of this file and put it in the "wsdl-production" folder once you want to switch to using the Fedex production server. I'm not including that here, because I don't yet have a production account with Fedex. For anyone who tests this out, please reply to this comment to confirm that it's working, or to let me know of a bug. Thanks.

AttachmentSize
uc_fedex_v4api.patch 6.49 KB
standard_services_wsdl_june08.zip 35.05 KB
effulgentsia@drupal.org's picture
Offline
Joined: 10/01/2008
Juice: 6
Above patch only for rate request

Oops. I forgot to mention. The above patch is only for rate request functionality. It doesn't update the API used for tracking related code.

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3269
dglazer wrote:Forgive me if
dglazer wrote:

Forgive me if this sounds silly but what is the reason behind List Rates not being returned for International shipping methods through this module?

It has nothing to do with this module. FedEx does not publish list rates for international shipments, and does not return them through the Web Services API. They state that in their Web Services documentation and on their web site. When I wrote this module I tested to verify this was true, then added that informational statement to make people aware of the issue. I also added the quote markup feature to allow you to modify the quote before you present it to your customer, if you want to charge more or less than the account rate.

<tr>.
TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3269
Re: Patch for Fedex testing server upgrade

Thank you for the patch. I will try to incorporate it into the next version of this module.

effulgentsia@drupal.org wrote:

Following up on comments 36 and 37, it appears that as of 9/29/08, Fedex dropped support for their older v2 SOAP API on their testing server.

Can you cite a source for this information? That is not what the letter in #33 says at all. Also, I called FedEx Web Services Technical Support twice today, talked to two different people, and both tell me that the V2 API is fully supported and they don't intend to drop support for it. The issue with the testing server is what I said above: they are in the process of upgrading its software and it will be unstable for several days.

<tr>.
effulgentsia@drupal.org's picture
Offline
Joined: 10/01/2008
Juice: 6
Re: Patch for Fedex testing server upgrade

Sorry. I didn't mean to imply that FedEx officially dropped support for v2 API from their testing server. It's just that it stopped working, but the v4 API does work, so I assumed that part of what it means to be a testing server is that FedEx doesn't feel a need to maintain old API compatibility on it. Perhaps I'm wrong, and in a few days, the v2 API will resume working on the testing server.

backdrifting's picture
Offline
Joined: 10/03/2008
Juice: 373
Re: FedEx Shipping Quotes

In the readme file for the FedEx module it states: "Tracking information may be obtained using the uc_fedex_tracking_request()
function. An example of how to use this function is in the code comments."

I don't see the example/comments however when I look at the code in the uc_fedex.module file. Is the example/comments in another file? .info or .install?

Does anyone have suggestions on how to get the tracking portion of this to work?

Thanks in advance.

-backdrifting

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3269
Re: Re: FedEx Shipping Quotes

There's a block of commented out code in the module starting with "Just an Example of how to use this information."

But a better way to do it is to use the separate module I wrote for FedEx, UPS, and USPS package tracking: http://www.ubercart.org/contrib/2852

<tr>.
backdrifting's picture
Offline
Joined: 10/03/2008
Juice: 373
Thanks!

Thanks. I'll try the separate module.
-backdrifting

backdrifting's picture
Offline
Joined: 10/03/2008
Juice: 373
How to use this module? Workflow?

I have a general question(s) about this module. I've installed and configured it and it's working with our FedEx developer API without issue (as far as I can tell). But here are my questions:

1) Once the customer orders our product and selects the FedEx shipping option, will FedEx get a copy of the order so they know to pick up the order at our HQ/Warehouse? Is this supposed to happen automatically via the API? Or do we need to do something else to configure the pick up?

2) Will our orders be reflected in our FedEx account? Is there any method of testing this before we "go live"? Can you test a real transaction with just the FedEx developer credentials?

I'm just trying to figure out the workflow here - the module will send all of the order info over to FedEx automatically right?

-backdrifting

backdrifting's picture
Offline
Joined: 10/03/2008
Juice: 373
FedEx quote/info not showing up in Ubercart admin ...

Also, I'm experiencing the same issue(s) that are described in this post:

http://www.ubercart.org/issue/5812/fedex_shipping_method_not_appearing_o...

The order is processing and getting the initial FedEx quote without issue, but then when we login to the admin side and view the order in Ubercart admin, the FedEx info does not show up. It's just got a colon and the $ amount. Can anyone suggest a fix for this?

Should I apply the patch in post #27?

-backdrifting

backdrifting's picture
Offline
Joined: 10/03/2008
Juice: 373
Patches?

Are the patches that appear in the comments added to the 0.3 release of FedEx? Or do they need to be applied separately? I'm looking specifically at the patch in post #27 - is that part of 0.3?

When is 0.4 being released?

-backdrifting

backdrifting's picture
Offline
Joined: 10/03/2008
Juice: 373
Tracking ...

Ok, so if I install that separate tracking module, it should hook into the FedEx module automatically?

-backdrifting