Fedex Rate Quote Problem

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Jusedawg
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Wed May 21, 2008 2:47 pm

Fedex Rate Quote Problem

Post by Jusedawg » Mon Aug 04, 2008 1:32 pm

Greetings, Not sure if anyone else has seen this issue, but I thought I would put it out there while I am waiting on support to get back to me.

We have our store currently setup using grams and if the total weight of your order is less than say 50 grams, the FedEx module is passing 0.0 as the weight. I don't know if this is a conversion or rounding mistake as I don't currently have the source code to that module even though we purchased a source license or i would just correct the issue myself.

To be honest I really don't have time to wait on them to fix it if it is a bug. Is the module here somewhere or on the ftp hidden? I have searched around and have not found it as of yet.

Anyone else had to work around this?

Thanks,

Chad

Jusedawg
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Wed May 21, 2008 2:47 pm

Re: Fedex Rate Quote Problem

Post by Jusedawg » Mon Aug 04, 2008 2:00 pm

After doing some more testing, I switched the setting to pounds just to see if it had the problem as well and it does. Anything that weighs less than 0.10 pounds will not give back a rate quote for the minimum of 1 pound.

So that explains why anything under 46 grams does not work. We have several items like posters that are like 5 grams which is only 0.011023 lbs

So if the total weight of the order is less than 1 pound, why is the module not getting the quote for the 1 pound minimum?

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Fedex Rate Quote Problem

Post by Katie » Tue Aug 05, 2008 2:03 pm

Hello,

What build of AbleCommerce are you using? I just tested FedEx using a product that weighed 0.1 lbs, then I added 10 of these to the cart. In the debug log, I can see the total weight of the order as 1.0 lb exactly, which generates rates.

I even tested with one of these products weighing only 0.1 lb. AbleCommerce sends the value 0.1 for weight and Fedex returned 1.0 for Billed Weight. So, it looks like FedEx used the default minimum weight for a shipment.

Thanks,
Katie
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

Jusedawg
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Wed May 21, 2008 2:47 pm

Re: Fedex Rate Quote Problem

Post by Jusedawg » Tue Aug 05, 2008 3:51 pm

Well, It is the latest build, and you are correct in thinking adding 10 products weighing 0.10 pounds would bring back a rate for 1 pound. In fact, anything 0.10 pounds and over up to one pound will bring back one pound from FedEx.

It's a problem with a total shipping weight of less than 0.10 pounds that has the issue.

So in other words a total order weight of a single product weighing 0.0-0.09999999 pounds will always be passed to FedEx as 0.0 or in our case being grams, 0 grams to 45 grams.

Thanks for getting me the code, I will fix it from here, I just wanted you guys to be aware.

Thanks,

Chad

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Fedex Rate Quote Problem

Post by Katie » Tue Aug 05, 2008 4:17 pm

Ok, I see now. FedEx only accepts the weight with one decimal place (e.g. 5.1) so I believe this can be considered a bug. AbleCommerce needs to either round weights or only accept values that meet the minimum requirements.

Thanks,
Katie
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

Jusedawg
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Wed May 21, 2008 2:47 pm

Re: Fedex Rate Quote Problem

Post by Jusedawg » Tue Aug 05, 2008 4:42 pm

Yeah, I was just doing some more testing and it appears that the weight is being rounded prior to it ever getting to the Fedex part at all inside the package object. I have not found exactly where to fix it yet though. So anything 0.05 and above is being rounded to 0.10 and anything below that is getting rounded down to 0.0. Almost as if everything below 0.10 needs to be round up to 0.10.

Any ideas where this would be happening or where to put the fix as I am assuming this only applies to FedEx?

I guess we could just make sure all products are 0.05 and above for now, would be the easiest fix.

Upon even further testing it is actually 0.055 and above that rounds up.

I will probably just end up making the minimum product weight 25 grams or 0.055115 lbs for now until we figure out how to fix it.

Post Reply