Help: Sold More than InStock
Posted: Tue Feb 26, 2013 8:28 am
Hi,
We sell clothing and track variants. It works like a charm pretty much all of the time. You set the inventory count to 1, for example, for a particular colour/size of an item, and, once 1 of them are sold, you can no longer buy it.
However, last week, we double sold an item with an inventory count of 1. (The orders are about 10 hours apart.) I checked the raw HTTP logs (to see if anyone edited the product and modified its inventory count), the application log, and even the server system log to see if there was a MS SQL error. I couldn't find anything at all. I tried reproducing the problem by putting the item into the cart of two different browsers and then checking out. At the very last stage of checkout, I would get an error saying the item was sold out (i.e. the correct behaviour). The first order was paid by Visa and the second was paid by PayPal Express checkout. I tried to reproduce this scenario and even used the same browsers, with no luck.
Both orders that bought this single item were from Germany. I don't think this could be due to some extremely aggressive ISP cache in Germany, but I'm at wits' end as to what else it could be.
Help!
Thanks,
Moustafa
We sell clothing and track variants. It works like a charm pretty much all of the time. You set the inventory count to 1, for example, for a particular colour/size of an item, and, once 1 of them are sold, you can no longer buy it.
However, last week, we double sold an item with an inventory count of 1. (The orders are about 10 hours apart.) I checked the raw HTTP logs (to see if anyone edited the product and modified its inventory count), the application log, and even the server system log to see if there was a MS SQL error. I couldn't find anything at all. I tried reproducing the problem by putting the item into the cart of two different browsers and then checking out. At the very last stage of checkout, I would get an error saying the item was sold out (i.e. the correct behaviour). The first order was paid by Visa and the second was paid by PayPal Express checkout. I tried to reproduce this scenario and even used the same browsers, with no luck.
Both orders that bought this single item were from Germany. I don't think this could be due to some extremely aggressive ISP cache in Germany, but I'm at wits' end as to what else it could be.
Help!
Thanks,
Moustafa