Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Invoice ID's are incrementing 2 at a time

#310

For some reason, when new orders are placed, invoice ID's are incrementing by 2, instead of 1.

Reported by expNinja · August 17th, 2011 @ 11:10 PM

State: new
Milestone: none

Activity

  1. rasseljandavid (at gmail)
    rasseljandavid (at gmail)

    According to my investigation this scenario happens when the following occurs:
    Sample:
    Current Order ID: 5

    Client 1 added a product in the 'new' cart but he didn't checkout yet because he is sitll browsing in the store(New current order id: 6), Meanwhile Client 2 Added a product into his 'new' cart and he checkout first before the client 1 does(New current id: 7) So if the system admin check the order id, it will look like it is been incremented by 2 since the order id 6 is already been reserved by the Client 1. I "think" this is just a precautionary feature to avoid colliding orders when we will have hundred-thousand clients ordering simultaneously.

    Another thing to note is that whenever a client confirm an order it creates another empty record with the same sessionticket_ticket and user_id and an invoice_id with a value of 0(see attached). This record will be filled the next time the same client order an id.

    August 30th, 2011 @ 07:29 AM

  2. expNinja

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.