Issue with Fedex/Shipping quote module

Posts: 2
Joined: 03/07/2008

I'm using the uc_fedex shipping quote module which works fine save one thing.

When I select a rate on the checkout page, it prints up the method in the quote:

Order total preview:
                         Subtotal:	$78.15
FedEx Ground -- Residence Address:	$10.30
         Subtotal excluding taxes:	$88.45
                     Missouri Tax:	$5.86
                      Order total:	$94.31

..but only the quote price itself makes it to the subsequent checkout pages.

                      Payment method
                            Subtotal:	$78.15
                                    :	$10.30
            Subtotal excluding taxes:	$88.45
                        Missouri Tax:	$5.86
                               Total:	$94.31

I was looking at it, and it seems that it should be storing the "quote_form" and then somehow using this in the subsequent pages, but the only thing that saves is the method, accessorials, rate.

+--------------+-----------------------+------+-----+---------+-------+
| Field        | Type                  | Null | Key | Default | Extra |
+--------------+-----------------------+------+-----+---------+-------+
| oid          | mediumint(9) unsigned | NO   | PRI |         |       | 
| method       | varchar(25)           | NO   | PRI |         |       | 
| accessorials | varchar(255)          | NO   |     |         |       | 
| rate         | decimal(10,2)         | NO   |     |         |       | 
| quote_form   | text                  | NO   |     |         |       | 
+--------------+-----------------------+------+-----+---------+-------+

I was hacking around with it and got it to save the quote_form information, but am not sure how to make the java-scripty thingy (AJAX?) get it to use it or if that's even the intended use of quote_form column in the db.

Anyone have some insight? I'm more than happy to make any coding changes necessary and post them back, but I don't know jack about javascript or AJAX or what the expected behavior is.

-R. Marc

Posts: 924
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

That's a known bug in version 0.3 of the FedEx module. I've already fixed this for version 0.4, but I haven't posted that new version yet since I still have a few more things to do to it.

--

<tr>.

Posts: 2243
Joined: 08/07/2007
AdministratoreLiTe!

As a point of interest, the quote_form is used when the customer goes back to the checkout page. It's basically a cache of the shipping quotes so we don't have to do another request to display them again. It's not actually used on the review page.

Posts: 104
Joined: 09/07/2007
Uber Donor

TR wrote:
That's a known bug in version 0.3 of the FedEx module. I've already fixed this for version 0.4, but I haven't posted that new version yet since I still have a few more things to do to it.

Hi TR - is there any time frame to release this update? I sent you a message but didn't hear back.

Thanks.

Posts: 104
Joined: 09/07/2007
Uber Donor

TR wrote:
That's a known bug in version 0.3 of the FedEx module. I've already fixed this for version 0.4, but I haven't posted that new version yet since I still have a few more things to do to it.

Any progress?

Posts: 6
Joined: 12/11/2007

I don't want to be bugging, since jimi089 has already asked about the next release.

But perhaps you could tell us how you fixed the issue, so we could patch our code in the mean time while we wait for your next release. It seems like a relatively small thing to fix. Is it?

Much appreciated.

Posts: 924
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

It actually affected a lot of code, and I've made all sorts of other changes too, so it's hard to disentangle just that fix. I really want to get the FedEx Module 1.0 for Ubercart 1.0 released on Drupal.org, since that's the way we're going now, but for some reason they won't approve my CVS access Sad That's been the big thing stopping me.

--

<tr>.

Posts: 6
Joined: 12/11/2007

Ahh man, that sucks.
Can't you just upload it to the ubercart site for now?
Pretty Pleeeeeease.

Posts: 47
Joined: 05/02/2008
Bug Finder

This issue has been fixed and can be downloaded at http://www.ubercart.org/contrib/2106#comment-22954.

--

Cheers,

Jon Antoine
www.antoinesolutions.com
Open Source Development Tutorials & Documentation