Repository navigation
Description
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: v9.0.2-0
Reproducible in staging?: Staging
Reproducible in production?: No - You must navigate to https://staging.new.expensify.com/settings/subscription
If this was caught during regression testing, add the test name, ID and link from TestRail: NA
Email or phone of affected tester (no customers): wardmi@tcd.ie
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL: NA
Issue reported by: mitch@expensify.com
Slack conversation: https://expensify.slack.com/archives/C036QM0SLJK/p1719350462833819
Action Performed:
As a workspace owner with Pay-per-use and/or a Control plan that also has no payment card saved;
- Go to https://staging.new.expensify.com/settings/subscription
- Click "Add payment card"
Expected Result:
Depending on whether you have Annual or Pay-per-use and whether you are on Collect or Control we will show this message above the “Add payment card” button:
- If an Annual subscription is enabled, which it is by default, we show this for Collect: “From $5/active member with the Expensify Card, $10/active member without the Expensify Card.”
- If Pay-per-use is enabled we show this for Collect: “From $10/active member with the Expensify Card, $20/active member without the Expensify Card.”
- If an Annual subscription is enabled, which it is by default, we show this for Control: “From $9/active member with the Expensify Card, $18/active member without the Expensify Card.”
- If Pay-per-use is enabled we show this for Control: “From $18/active member with the Expensify Card, $36/active member without the Expensify Card.”
Actual Result:
The user is on pay-per-use on Control but the text above "Add payment card" reads "From $5/active member with the Expensify Card, $10/active member without the Expensify Card." when it should read “From $18/active member with the Expensify Card, $36/active member without the Expensify Card.”
Workaround:
Ignore
Platforms:
Which of our officially supported platforms is this issue occurring on?
- Android: Native
- Android: mWeb Chrome
- iOS: Native
- iOS: mWeb Safari
- MacOS: Chrome / Safari
- MacOS: Desktop
Screenshots/Videos
Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsDone


Activity
melvin-bot commentedon Jun 25, 2024
Triggered auto assignment to @slafortune (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.nyomanjyotisa commentedon Jun 26, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Correct amounts not showing on "Add payment card"
What is the root cause of that problem?
App/src/pages/settings/Subscription/PaymentCard/AddPaymentCard.tsx
Line 83 in e7e9304
The text above is currently hardcoded
What changes do you think we should make in order to solve the problem?
Create a reusable component to display the same text on AddPaymentCard.tsx and SubscriptionPlan.tsx
App/src/pages/settings/Subscription/SubscriptionPlan.tsx
Lines 67 to 71 in e7e9304
What alternative solutions did you explore? (Optional)
App/src/pages/settings/Subscription/PaymentCard/AddPaymentCard.tsx
Line 83 in e7e9304
Replace this code above with the following code
Proof
-1-New-Expensify.mp4
[-]Correct amounts not showing on "Add payment card"[/-][+][Payment card / Subscription] Correct amounts not showing on "Add payment card"[/+]MrMuzyk commentedon Jun 26, 2024
I am Michał from Callstack - expert contributor group. I’d like to work on this job.
trjExpensify commentedon Jun 26, 2024
@MitchExpensify apparently this will be fixed here: https://github.com/Expensify/App/pull/43572/files#diff-d33a8833443831664318c3ec9ea300090935e1aed9ace8b7642ee38a65b026d7R102
MitchExpensify commentedon Jun 27, 2024
Oh nice! Lets be safe and keep this open as a reminder to test once that's on staging
trjExpensify commentedon Jul 1, 2024
#43572 is on staging, so you can retest this.
melvin-bot commentedon Jul 1, 2024
@slafortune, @MrMuzyk Eep! 4 days overdue now. Issues have feelings too...
trjExpensify commentedon Jul 2, 2024
Bump @MitchExpensify for the retest before closing this issue.
melvin-bot commentedon Jul 3, 2024
@slafortune, @MrMuzyk 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
MitchExpensify commentedon Jul 4, 2024
Tested and this is working