Hi everyone,
Does anyone know how OFBIZ handle race cart condition please? Especially at the last step of checkout when people go to enter credit card number. So imagine the scenario, one product has only 1 stock left, and 2 users have each added 1 of that product to their basket. Now both users go to checkout. What does OFBIZ do from here onwards please? Thanks very much. Kind Regards Fong |
Administrator
|
Have a look at Quantity On Hand vs Available To Promise
Jacques From: "Ofbiz 开发" <[hidden email]> > Hi everyone, > > Does anyone know how OFBIZ handle race cart condition please? Especially at > the last step of checkout when people go to enter credit card number. > > So imagine the scenario, one product has only 1 stock left, and 2 users > have each added 1 of that product to their basket. > > Now both users go to checkout. What does OFBIZ do from here onwards please? > Thanks very much. > > Kind Regards > > Fong > |
Fong,
If your inventory setup requires product to be in stock before you take orders then, create order will fail if ordered product is not in stock. Thanks and Regards Anil Patel Hotwax Media Inc http://www.hotwaxmedia.com/ On Jan 14, 2013, at 2:12 PM, Jacques Le Roux <[hidden email]> wrote: > Have a look at Quantity On Hand vs Available To Promise > > Jacques > > From: "Ofbiz 开发" <[hidden email]> >> Hi everyone, >> >> Does anyone know how OFBIZ handle race cart condition please? Especially at >> the last step of checkout when people go to enter credit card number. >> >> So imagine the scenario, one product has only 1 stock left, and 2 users >> have each added 1 of that product to their basket. >> >> Now both users go to checkout. What does OFBIZ do from here onwards please? >> Thanks very much. >> >> Kind Regards >> >> Fong >> |
Thanks Anil and Jacques,
I allow any number of users to add up to current stock level of that product to cart, but only want to allow quantity of up to the current stock level of that product to be converted to order. E.g. If Product A has 10 stocks on hand, then I allow, say 30 users, to each add 10 Product A to their basket, because not necessarily every one will checkout eventually. But when checkout, I don't want Product A to be over sold. So a problem will come if 2 or more people tries to go to credit card page at the same time, especially when the credit card page is on a 3rd party website and out of my control. If I create order after the credit card process successfully then there is a risk of 2 user's money are deducted, but only 1 order can be created. If I create order before credit card process then there is a risk of the first user's card not have enough money, or fail for other reasons. Has OFBIZ handled this situation already or do I have to implement the insurance logic myself? What do you guys normally do in this case please? Thanks very much. Kind Regards Fong On Tue, Jan 15, 2013 at 12:16 AM, Anil K Patel <[hidden email]>wrote: > Fong, > If your inventory setup requires product to be in stock before you take > orders then, create order will fail if ordered product is not in stock. > > Thanks and Regards > Anil Patel > Hotwax Media Inc > http://www.hotwaxmedia.com/ > > On Jan 14, 2013, at 2:12 PM, Jacques Le Roux <[hidden email]> > wrote: > > > Have a look at Quantity On Hand vs Available To Promise > > > > Jacques > > > > From: "Ofbiz 开发" <[hidden email]> > >> Hi everyone, > >> > >> Does anyone know how OFBIZ handle race cart condition please? > Especially at > >> the last step of checkout when people go to enter credit card number. > >> > >> So imagine the scenario, one product has only 1 stock left, and 2 users > >> have each added 1 of that product to their basket. > >> > >> Now both users go to checkout. What does OFBIZ do from here onwards > please? > >> Thanks very much. > >> > >> Kind Regards > >> > >> Fong > >> > > |
Fong,
Saving customers payment information is one step of checkout. It happens before you store order in database. Ofbiz does not support scenario where customer gives credit card information on third party website (and may be payment is collected) before order is created in Ofbiz. If this is what you need then, yes Its case of customization. Paypal integration is similar to what you need, you may take its reference. Thanks and Regards Anil Patel Hotwax Media Inc http://www.hotwaxmedia.com/ On Jan 15, 2013, at 2:02 AM, Ofbiz 开发 <[hidden email]> wrote: > Thanks Anil and Jacques, > > I allow any number of users to add up to current stock level of that > product to cart, but only want to allow quantity of up to the current stock > level of that product to be converted to order. > > E.g. If Product A has 10 stocks on hand, then I allow, say 30 users, to > each add 10 Product A to their basket, because not necessarily every one > will checkout eventually. > > But when checkout, I don't want Product A to be over sold. So a problem > will come if 2 or more people tries to go to credit card page at the same > time, especially when the credit card page is on a 3rd party website and > out of my control. > > If I create order after the credit card process successfully then there is > a risk of 2 user's money are deducted, but only 1 order can be created. > > If I create order before credit card process then there is a risk of the > first user's card not have enough money, or fail for other reasons. > > Has OFBIZ handled this situation already or do I have to implement the > insurance logic myself? What do you guys normally do in this case please? > Thanks very much. > > Kind Regards > > Fong > > > > On Tue, Jan 15, 2013 at 12:16 AM, Anil K Patel > <[hidden email]>wrote: > >> Fong, >> If your inventory setup requires product to be in stock before you take >> orders then, create order will fail if ordered product is not in stock. >> >> Thanks and Regards >> Anil Patel >> Hotwax Media Inc >> http://www.hotwaxmedia.com/ >> >> On Jan 14, 2013, at 2:12 PM, Jacques Le Roux <[hidden email]> >> wrote: >> >>> Have a look at Quantity On Hand vs Available To Promise >>> >>> Jacques >>> >>> From: "Ofbiz 开发" <[hidden email]> >>>> Hi everyone, >>>> >>>> Does anyone know how OFBIZ handle race cart condition please? >> Especially at >>>> the last step of checkout when people go to enter credit card number. >>>> >>>> So imagine the scenario, one product has only 1 stock left, and 2 users >>>> have each added 1 of that product to their basket. >>>> >>>> Now both users go to checkout. What does OFBIZ do from here onwards >> please? >>>> Thanks very much. >>>> >>>> Kind Regards >>>> >>>> Fong >>>> >> >> |
Thanks Anil.
Kind Regards Fong On Tue, Jan 15, 2013 at 12:45 PM, Anil K Patel <[hidden email]>wrote: > Fong, > Saving customers payment information is one step of checkout. It happens > before you store order in database. > > Ofbiz does not support scenario where customer gives credit card > information on third party website (and may be payment is collected) before > order is created in Ofbiz. If this is what you need then, yes Its case of > customization. > > Paypal integration is similar to what you need, you may take its reference. > > Thanks and Regards > Anil Patel > Hotwax Media Inc > http://www.hotwaxmedia.com/ > > On Jan 15, 2013, at 2:02 AM, Ofbiz 开发 <[hidden email]> wrote: > > > Thanks Anil and Jacques, > > > > I allow any number of users to add up to current stock level of that > > product to cart, but only want to allow quantity of up to the current > stock > > level of that product to be converted to order. > > > > E.g. If Product A has 10 stocks on hand, then I allow, say 30 users, to > > each add 10 Product A to their basket, because not necessarily every one > > will checkout eventually. > > > > But when checkout, I don't want Product A to be over sold. So a problem > > will come if 2 or more people tries to go to credit card page at the same > > time, especially when the credit card page is on a 3rd party website and > > out of my control. > > > > If I create order after the credit card process successfully then there > is > > a risk of 2 user's money are deducted, but only 1 order can be created. > > > > If I create order before credit card process then there is a risk of the > > first user's card not have enough money, or fail for other reasons. > > > > Has OFBIZ handled this situation already or do I have to implement the > > insurance logic myself? What do you guys normally do in this case please? > > Thanks very much. > > > > Kind Regards > > > > Fong > > > > > > > > On Tue, Jan 15, 2013 at 12:16 AM, Anil K Patel > > <[hidden email]>wrote: > > > >> Fong, > >> If your inventory setup requires product to be in stock before you take > >> orders then, create order will fail if ordered product is not in stock. > >> > >> Thanks and Regards > >> Anil Patel > >> Hotwax Media Inc > >> http://www.hotwaxmedia.com/ > >> > >> On Jan 14, 2013, at 2:12 PM, Jacques Le Roux < > [hidden email]> > >> wrote: > >> > >>> Have a look at Quantity On Hand vs Available To Promise > >>> > >>> Jacques > >>> > >>> From: "Ofbiz 开发" <[hidden email]> > >>>> Hi everyone, > >>>> > >>>> Does anyone know how OFBIZ handle race cart condition please? > >> Especially at > >>>> the last step of checkout when people go to enter credit card number. > >>>> > >>>> So imagine the scenario, one product has only 1 stock left, and 2 > users > >>>> have each added 1 of that product to their basket. > >>>> > >>>> Now both users go to checkout. What does OFBIZ do from here onwards > >> please? > >>>> Thanks very much. > >>>> > >>>> Kind Regards > >>>> > >>>> Fong > >>>> > >> > >> > > |
Free forum by Nabble | Edit this page |