gray-mueller / gray-mueller/zomato-clone-app-using-react-native
Enatega Customer App: Incorrect order flow with stripe payment integration
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When placing an order using Stripe, the current flow places the order before collecting Stripe payment details. After confirming the order, the user is taken to the Stripe checkout page. Payment details should be collected first, and the order should be placed only after successful payment confirmation.
To Reproduce
Steps to reproduce the behavior:
Add items to the cart.
Proceed to checkout.
Select Stripe as the payment method.
Place the order.
Observe that the order is placed immediately, and then the user is redirected to Stripe checkout.
Expected behavior
User should be taken to Stripe checkout before placing the order. The order should only be created after Stripe confirms successful payment.
Smartphone :
Device: [infinix]
OS: [Android]
Browser [app]
Labels: Enatega Multivendor Customer App, Bug
Contributor guide
Research direction
Start at the customer app's checkout entry point and trace the Stripe payment flow described in the reproduction steps. Verify that checkout opens before order creation and that an order is created only after successful payment confirmation; no file or test path is named in the issue, so locate the relevant flow before adding coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile, payments
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100