gray-mueller / gray-mueller/grocery-delivery-app-using-php

minimum checkout limit not followed

Open
#326 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Research direction

Start by reproducing the checkout flow with a restaurant whose minimum order is 5000, then locate the place-order and checkout entry points. Inspect where the minimum-order rule is checked and verify that orders below the limit are rejected. The issue names no files or tests, so confirm the existing validation path before making changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, typescript
Domain
full-stack
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.