beckn / beckn-ui-workspace

Mono Repo for Beckn UI Workspace
9 stars 12 forks source link

Mobility - Driver App - Inconsistent currency display in order history across different countries #1921

Closed omkar-em closed 2 months ago

omkar-em commented 2 months ago

Bug Description

In the driver app, when a ride is completed in various countries, the order history shows the same amount regardless of the currency. For example, it displays "20 INR" and "20 EUR" as the same amount, even though the currencies are different. This inconsistency can lead to confusion and incorrect financial reporting.

Steps to Reproduce

  1. Complete a ride in one country (e.g., India).
  2. Check the order history for the completed ride and note the amount displayed in INR.
  3. Log in to the driver app from a different country (e.g., a country using EUR as currency).
  4. Check the order history again and observe that the amount remains the same, but the currency changes (e.g., 20 EUR instead of 20 INR).

Expected Behavior

The order history should correctly convert and display the amount according to the local currency of the country where the ride was completed.

Actual Behavior

The order history shows the same numerical amount for different currencies (e.g., 20 INR and 20 EUR), leading to incorrect currency representation.

Figma

(Include Figma link or relevant details here)

Environment

Screenshots/Logs

(Include screenshots or logs here, if applicable)

aniketceminds commented 2 months ago

@omkar-em for this we need to create dedicated driver logins for all 3 apps

omkar-em commented 2 months ago

Ok. @shreyvishal will create 3 creds for the 3 apps. Closing this task. cc: @emmayank @aniketceminds @shreyvishal

emmayank commented 2 months ago

Review Completed - working fine for India and Gambia