Concurrent checkouts can lead to negative stock
Ngân sách $30-250 USD
Hello,
I'm looking for someone to solve the below issue in OpenCart:
Description
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.
14 freelancer chào giá trung bình$176 cho công việc này
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.
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
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
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 Thêm
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 Thêm
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. Thêm
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 Thêm
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 Thêm
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 Thêm
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