hector-jewell / hector-jewell/uber-eats-clone-using-react-native

The application is processing orders with an amount less than the minimum order value.

Open
#944 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
The application is processing orders with an amount less than the minimum order value.

To Reproduce

Open the application and select items to add to the cart.
Ensure the total order amount is below the minimum order value set by the restaurant.
Proceed to checkout and place the order.
Expected behavior

The application should validate the total order amount during checkout.
If the order amount is less than the minimum required value, the user should see a message like: "The order amount is below the minimum required value of [amount]. Please add more items to proceed."
The order should not be processed until the minimum order value is met.
Proposed Solution

Add a validation check at checkout to compare the total order amount with the minimum order value.
If the amount is below the threshold, disable the checkout option and display a clear error message.
Smartphone (please complete the following information):

Device: iPhone15pro
OS: iOS17.6.1

Contributor guide

Open the contributing guide

Research direction

Start by locating the React Native checkout flow and the source of each restaurant's minimum order value. Reproduce an order below that threshold, then verify that checkout prevents submission and shows the required minimum-value message when the total is too low.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.