13 replies [Last post]
master_phat's picture
Offline
Joined: 08/19/2008
Juice: 103
Was this information Helpful?

This is different from the post I just made. I noticed that when you go back and forth from "review order" and select "back" it auto increments the order id by 1. I was wondering what the purpose of this was and if it's a bug -- this is just using the default ubercart setup.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Order ID Jumping

Hmm... I thought I noticed this at one point in time, too, but I can't duplicate it now on the Livetest. I'm using a block to display the session and throughout checkout my $_SESSION['cart_order'] variable doesn't increment no matter how many times I use the back button on the review order form or on the browser. I tested also with both credit card and check payment methods. Are you running the 1.4 version of UC, and what browser/Drupal version are you running?

master_phat's picture
Offline
Joined: 08/19/2008
Juice: 103
Re: Re: Order ID Jumping

Actually, I'm using 1.3. I'm assuming the update to 1.4 will fix it?

Here are my other specs:
Drupal 5.10
MySQL database 5.0.51a
PHP 5.2.6
Firefox 3.0.2

Thanks

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Order ID Jumping

Possibly... I'm not entirely sure. Let me know if it doesn't solve it... but there are plenty of other bugfixes that'd make the update worth it.

master_phat's picture
Offline
Joined: 08/19/2008
Juice: 103
Re: Re: Re: Re: Order ID Jumping

Alright, thanks. I'm in the process of updating and will let you know if I still get the bug. Now I'm noticing on the checkout it says Javascript required for the credit card module even though it is. Guess I need to go read something?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Re: Re: Order ID Jumping

Odd... I'd just try refreshing the page to see if that clears it up. Puzzled

Might be a JS error causing the payment JS to flake out.

master_phat's picture
Offline
Joined: 08/19/2008
Juice: 103
Re: Re: Re: Re: Re: Order ID Jumping

nvm, there were javascript errors with uc_taxes. Fixed. Also, I'm still experiencing the order id jumping. =/ Not really a big deal but kind of annoying having the id's 5-10 #'s apart.

master_phat's picture
Offline
Joined: 08/19/2008
Juice: 103
Re: Re: Re: Re: Re: Re: Order ID Jumping

Is there anyway you can "give" me the block you're using so I can debug this? I was using js alerts but it's sooooo _____.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Re: Re: Re: Re: Order ID Jumping

lol Yeah, I simply made a block w/ PHP and put this code in it and set it to display in the content region:

<?php
print '<pre>'. print_r($_SESSION, TRUE) .'</pre>';
?>
master_phat's picture
Offline
Joined: 08/19/2008
Juice: 103
Re: Re: Re: Re: Re: Re: Re: Re: Order ID Jumping

that's too much code for me to understand.

j/k, thanks for the tip tipmaster.

ga@drupal.org's picture
Offline
Joined: 08/07/2008
Juice: 27
Re: Order ID Jumping

i have the same problem, my uc ver is 1.3
it creates a new order each time you go back and keeps the old one, if you go to admin/store/orders, and choose in checkout you can see the list of orders that this bug generate.
as i understood, 1.4 will fix it, am i right?

ga@drupal.org's picture
Offline
Joined: 08/07/2008
Juice: 27
Re: Order ID Jumping

upgraded to 1.4, now get "Javascript must be enabled to view ..." wherever JS required on check out page, it seems to be a bug in 1.4

ga@drupal.org's picture
Offline
Joined: 08/07/2008
Juice: 27
ga@drupal.org wrote:upgraded
ga@drupal.org wrote:

upgraded to 1.4, now get "Javascript must be enabled to view ..." wherever JS required on check out page, it seems to be a bug in 1.4

disabling the uc_tax fixes the problem.

ga@drupal.org's picture
Offline
Joined: 08/07/2008
Juice: 27
Re: Order ID Jumping

1.4 fixed the bug mentioned