gray-mueller / gray-mueller/courier-delivery-system-node-js
minimum checkout limit not followed
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
the minimum order limit of the restaurant was 5000 but it took orders below it
To Reproduce
Steps to reproduce the behavior:
Go to 'place order'
Click on 'any items that are below the limit of orders'
proceed to checkout and order
See error
Expected behavior
should not accept orders below the limit
Screenshots
Screenshot 2024-03-11 145427
Screenshot 2024-03-11 145359
Desktop (please complete the following information):
OS: Windows
Browser Chrome
Version 122.0.6261.95 (Official Build) (64-bit)
Contributor guide
Research direction
Start by reproducing checkout with items below the restaurant's minimum order limit of 5000, then trace the checkout and order-creation flow to find where the minimum is validated. Done means orders below the limit are rejected while valid orders continue normally; the issue names no files or tests, so identify the relevant entry point and add or update coverage there.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100