6 replies [Last post]
stewey's picture
Offline
Bug Finder
Joined: 05/14/2008
Juice: 54
Was this information Helpful?

I have enabled the Shipping, Shipping Quotes and Flatrate modules. I have added two shipping rates:

1. Free Ground - $0
2. Express Shipping - $15

Now I cannot checkout. When I click checkout, I am taken back to the checkout page, but the shipping and/or cc information is gone. There is no error message. I cannot get past the checkout page.

The behavior is somewhat erratic. For example, sometimes the line items contain a 'Subtotal Excluding Taxes' line, other times they don't.

Is this a known bug in Ubercart 1.0, or am I missing something?

Thank you in advance,
Stewart

stewey's picture
Offline
Bug Finder
Joined: 05/14/2008
Juice: 54
Re: Flatrate Shipping Breaks Checkout

Bump! ...Also, let me rephrase the question: is anyone successfully using the shipping, shipping quotes and flatrate modules?

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
stewey wrote:Bump! ...Also,
stewey wrote:

Bump! ...Also, let me rephrase the question: is anyone successfully using the shipping, shipping quotes and flatrate modules?

Yes. In short, pretty much everybody uses shipping quotes, and flatrate is probably one of the most-used methods. So if these were broken, you would be seeing a lot of forum posts complaining.

Are you using Drupal 5.8? There was a bug that in that version which affects JavaScript loading (shipping quotes use JavaScript). Switch to Drupal 5.9. This might also be a http_referer issue (as discussed in other posts) - what browser are you using and what makes you think your problem is related to shipping quotes and/or flatrate? The problem might even be your theme failing to display the error message.

If you could post a URL to your site we might be able to see what the problem is rather than just speculate.

<tr>.
stewey's picture
Offline
Bug Finder
Joined: 05/14/2008
Juice: 54
Re: stewey wrote:Bump! ...Also,

Thanks for the reply. This was helpful. I switched to 'Garland' and tried the shipping/flatrate modules again. Now I am able to get past the checkout to the review order page. There must be a problem with my theme.

Cheers,
Stew

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: Re: stewey wrote:Bump! ...Also,

Check your theme page.tpl.php to see if your theme has

<?php
print $scripts;
?>

in the page header, and if

<?php
print $messages;
?>

shows up somewhere on the page. Look at the Garland page.tpl.php to see how it's done.

<tr>.
stewey's picture
Offline
Bug Finder
Joined: 05/14/2008
Juice: 54
Hi TR, Yes, I have scripts

Hi TR,

Yes, I have scripts and messages.

The problem it turns out was rather more sneaky. My theme's submit button was setting the 'op' value of the form to "Review order", not "Review Order" - notice the case of the 'o'. Capitalizing the 'o' made all the difference.

Blasted magic strings!

stewey's picture
Offline
Bug Finder
Joined: 05/14/2008
Juice: 54
Re: Re: Re: stewey wrote:Bump! ...Also,

Thanks again!