marthaegrimaldi / marthaegrimaldi/ifood-clone-using-react-native
Enatega Customer App: Delivery Fee Not Included in Stripe Checkout Payment
- 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 delivery fee is correctly shown on the app checkout page. However, after redirecting to Stripe’s checkout, the delivery fee becomes 0 and is not included in the payment total.
To Reproduce
Steps to reproduce the behavior:
Add items to the cart.
Proceed to checkout page.
Select stripe as the payment method
Note the total amount which includes the delivery fee.
Continue to Stripe's checkout page.
Observe that the delivery fee is set to 0 and not charged.
Expected behavior
The delivery fee should be included in the Stripe checkout total exactly as shown on the app checkout page.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone:
Device: [Infinix]
OS: [Android]
Browser [app]
Labels: Enatega Multivendor Customer App, Bug
Contributor guide
Research direction
Start from the customer app's checkout flow and trace how the Stripe checkout total is built after the payment method is selected. Reproduce the order with a delivery fee, compare the app total with the Stripe checkout total, and confirm that the delivery fee is included in the final payment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile, payments
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100