Concurrent checkouts can lead to negative stock


I'm looking for someone to solve the below issue in OpenCart:


When two customers check out concurrently for the same product and the total quantity being ordered is greater than the quantity available, the stock can become negative even if the ‘Store Checkout’ setting under Stock is set to ‘no’.

Steps to reproduce

Start site, create two customers, create/pick test product and allocate some stock.

Both customers add the product to their carts such that each cart individually is under the available stock, but combined they exceed the available stock.

Perform a checkout concurrently, making sure both customers finish checkout (click the ‘Confirm Order’ button) as close to the same time as possible.

We have reproduced this behavior on a single machine, by performing the above steps by simulating one customer in one browser window and another customer in a second browser window.

Expected Result

One of the two checkouts fails to complete.

Actual Result

Both checkouts succeed and the quantity for the product is negative in the admin console.

Kemahiran: Kart Terbuka

Lihat lagi: lead generation job description, negative stock tally, negative stock tdl, tally negative stock tdl, lead generator job description, lead editor job description, sales lead position job description, lead writer job description, lead researcher job description, sales lead generator job description, lead manager job description, lead graphic designer description, lead sourcer job description, director of lead generation job description, lead designer job description, lead management job description, iso 27001 lead auditor job description

Tentang Majikan:
( 9 ulasan ) Riyadh, Saudi Arabia

ID Projek: #28333006

14 pekerja bebas membida secara purata $176 untuk pekerjaan ini


Hi,I Have read your project description.i have 8 year exp. in opencart. i have completed 400+ opencart project.i m the top opencart developer in this [login to view URL] check my review and rating and match my skills with Lagi

$250 USD dalam 10 hari
(289 Ulasan)

Hi, I am interested in your project. I have 7-year experience on Opencart and my completed projects on freelancer.com are on Opencart. I understood your requirement. I can have solution for your case. Please feel fre Lagi

$140 USD dalam 4 hari
(164 Ulasan)

Hello, I am expert in Opencart and I have fixed the similar issue on a site earlier. So I am 100% confident to do it. I will check on the checkout page that if product stock is 0 or less than checkout will not complet Lagi

$100 USD dalam 2 hari
(35 Ulasan)

Good Day, I totally understand the test case & desired output you have given I can easily achieve this. Please ping me anytime to discuss & I can start immediately.

$200 USD dalam sehari
(14 Ulasan)

Dear Concern I work in Opencart and i am interest to work with you. Have a time to chat for more information? I am available to chat with u. Thanks Suman

$200 USD dalam 7 hari
(52 Ulasan)

Hello Sir, I am an expert Opencart developer and I can fix your issue. You have explained issue very well. I can help to fix this issue. Award project and create milestone. Thanks, Pratibha

$222 USD dalam 4 hari
(22 Ulasan)

very honestly without proper information about job i can not give exact cost. i am having all skills for this project that's why you can see my bid [login to view URL] be my charges will be higher because my quality of output wi Lagi

$140 USD dalam 7 hari
(32 Ulasan)

Hi, I have good experience on Opencart web development sure I can make web page as per your requirements please message for other details and shear your current site. I have worked on similar projects and are confiden Lagi

$100 USD dalam 4 hari
(8 Ulasan)

Hi, I have read your job carefully and I am interested in your job post for a web developer to solve your issue and it can be done as per your expectation. I have experience in the specific field your are looking for. Lagi

$250 USD dalam 3 hari
(4 Ulasan)

Hello, We're experienced with Opencart customization, API integration, bug fixing, and advanced development could be interesting to you. Here is a couple of relevant work examples on which we're working, please feel f Lagi

$250 USD dalam 10 hari
(1 Ulasan)

Dear client. Nice to see you. I am an opencart expert who can handle your project. Checking your proposal, I completely understood. Please open chat for more details. I will fix the nagative number issue. Regards from Lagi

$150 USD dalam 2 hari
(0 Ulasan)

Hi, I know you are looking for an fulll stack web developer. For the last few years, I am mainly focusing on web development with shopify, opencart and did some good jobs. Especially, I have a good experience with inte Lagi

$100 USD dalam 2 hari
(0 Ulasan)

Hello. I can help you as well I'll provide you good result I'll do my best for this job Please contact me best regards Aleksandra Kholmogorova

$250 USD dalam 7 hari
(0 Ulasan)

I've already fixed such issue previous. Will check the product quantity just before clicking the confirm order button. If not in stock, will redirect to shopping cart page. I've very good experience in developing e-c Lagi

$111 USD dalam 2 hari
(0 Ulasan)