marthaegrimaldi / marthaegrimaldi/zomato-clone-source-code

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

Open
#1,841 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
2
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

Research direction

Start by locating the customer app's Stripe checkout integration and tracing how the delivery fee moves from the app checkout total into the external checkout session. Reproduce the reported flow with a cart that has a delivery fee, then verify that the Stripe total matches the app total and that the fee is charged.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
payments
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.