-
Notifications
You must be signed in to change notification settings - Fork 5
(Online shop) Sales Item: Updating Stock-level #408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
adisa39
commented
Jul 7, 2025
- Fixed cancel payment callback API endpoint bug.
- Fixed item sales item price updating bug.
- limit sales item possible order quantity based on the item stock level.
Nice refactoring 👍 |
It looks good to me. Thanks |
Hi @adisa39 - Since we’re currently deferring the payment flow until the online ordering feature is complete, I’m unsure how to accurately test the use cases outlined in the requirements document @ https://sharing.clickup.com/9015444408/t/h/86c3275h5/PXUPLHKBSSA69R5. It seems like this task might still be a work in progress, dependent on the final payment structure — or is the expectation that the seller will manually mark the order as completed for the stock levels to change? Hope I'm making sense here.. 🙃 |
Although the error might be caused from attempting to buy sold stock level, but payment error can be further debugged after the payment queuing is merged. The sales item refresh error can be handled using React state hook properly. |