Margaret-Petersen / Margaret-Petersen/uber-eats-clone-using-react-native

Enatega Customer App: Delivery Fee Not Included in Stripe Checkout Payment

Open
#1,806 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the order flow in the React Native customer app: compare the delivery fee on the app checkout page with the value shown in Stripe Checkout. Trace the payment request between those two points and identify where the delivery fee becomes zero. Done means Stripe charges the same total, including delivery, shown in the app.

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
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.