Closed (fixed)
Project:
FedEx Shipping
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2009 at 15:24 UTC
Updated:
18 Apr 2009 at 01:20 UTC
For some reason the cart never returns the shipping quote back to me, I have the debug turned on and when going to another page the SOAP response and request are showing up just fine at the top of the page in green.
When the shipments error out I the progress bar disappears and displays an empty box, but when there is a valid soap response, the progress bar just stays.
I've attached a copy of my soap request and response with account number etc xxx'd out.
This is with the WEEKDAY_DELIVERY default option removed from the module's code in both of the first two instances.
| Comment | File | Size | Author |
|---|---|---|---|
| tessite.txt | 21.42 KB | worldcoast |
Comments
Comment #1
tr commentedBecause the SOAP request is successful, I think it's unlikely that the problem is with this module (not impossible, just not the most likely suspect at this time). The progress bar on the checkout page will spin while the uc_quote JavaScript makes an AJAX request for quotes and waits for the response back from web server. So the first thing you should do is try shipping quotes with just one Flat Rate enabled (flat rate methods are computed locally on the web server and do not connect to another host to obtain a quote, like FedEx does). If the flat rate exhibits the same behavior, you know you have bigger problems. Likewise, try it with JUST FedEx enabled, no other methods. The progress bar will spin until *all* the quote methods have finished, so if one of them is holding things up then you will never get a response, even if FedEx succeeds in getting a quote.
I think the most likely problem is a JavaScript problem - things like jQuery Update occasionally interfere with the proper execution of the uc_quote and other JavaScript on the checkout page. Use the Firebug console on the checkout page to examine the AJAX request/response and to look for JavaScript errors on the page. I can take a look at the checkout page for you if you PM me a link to your site.
Comment #2
worldcoast commentedfirst thing to try - flat rate
Enabled flat rate quote, disabled fedex quote
Nothing seemed to be working at all even though flat rate was disabled before, so I went through made sure every module was up to date, nothing working! gah!
I created a new "flat rate" quote type and suddenly it's working although the default flat rate of "shipping" wasn't showing up anywhere.
Suddenly everything works (with the weekday_delivery option disabled of course)
Huzzah!
Must have been some weird database error, thanks for your help.
In firebug there just wasn't any response being delivered by the ajax.
Comment #3
tr commentedPerhaps a cache issue then...
So can this issue be marked as fixed/closed?
Comment #4
worldcoast commentedOkay I found the problem after playing with every setting.
I'm trying to return the discounted account prices and it will only return list prices. Returning discounted account prices stalls out. I guess reinstalling the fedex module makes it default to List Prices, so in essence the Discount Account Prices isn't working for me :)
Comment #5
tr commentedTry changing this:
To this:
Comment #6
worldcoast commentedwith that change it works.
I'd make a patch file but I don't know how!
Comment #7
tr commentedFixed in 6.x-1.x-dev. 6.x-2.x-dev has always had this bit of code.
Comment #8
worldcoast commented