You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2025-12-30] [$125] Card feed icon for USBank plaid card feed is not correct #77756
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Version Number: Reproducible in staging?: Needs Reproduction (Blocked as credentials n/a) Reproducible in production?: Needs Reproduction If this was caught during regression testing, add the test name, ID and link from BrowserStack: Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by:@tgolen Slack conversation (hyperlinked to channel name): #Expensify Bugs
Action Performed:
Create a workspace
Enabled corporate cards
Add USBank plaid feed
Go to the company cards page
Expected Result:
The selected card feed at the top should show the USBank icon.
Actual Result:
A generic card icon is shown.
Workaround:
Unknown
Platforms:
Select the officially supported platforms where the issue was reproduced:
Please re-state the problem that we are trying to solve in this issue.
The selected Plaid card feed (e.g., USBank) shows a generic card icon instead of the bank's specific icon in the company cards page header.
What is the root cause of that problem?
In WorkspaceCompanyCardsListHeaderButtons, getPlaidInstitutionIconUrl is called with selectedFeed which has the format feedName#domainID (e.g., plaid.ins_129663#12345)
Please re-state the problem that we are trying to solve in this issue.
Card feed icon for USBank plaid card feed is not correct
What is the root cause of that problem?
getPlaidInstitutionId splits the feed name by . and returns the second part. When the feed includes a domain ID separator (#), it returns usbank#domain123 instead of usbank, resulting in an invalid icon URL like ${CONST.COMPANY_CARD_PLAID}usbank#domain123.png
What changes do you think we should make in order to solve the problem?
We can extract the feed part (before the # separator) before extracting the institution ID. Use getCompanyCardFeed to get the feed part, then extract the institution ID from that.
Please re-state the problem that we are trying to solve in this issue.
A generic card icon is shown.
What is the root cause of that problem?
selectedFeed is the feed name with the domain ID; however, this function returns the wrong icon URL because it only extracts the institutionId by splitting the feedName at the . character.
What changes do you think we should make in order to solve the problem?
We should use getCompanyCardFeed to get the feed name without domainID first. This approach ensure whenever the getCompanyCardFeed is changed, this function still works well
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
It's cool, looks like we have some proposals, so I shall make it external and with a lower price and have C+ make a judgment. It looks like it's just one line of a code change?
changed the title [-]Card feed icon for USBank plaid card feed is not correct[/-][+][$250] Card feed icon for USBank plaid card feed is not correct[/+]on Dec 16, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.85-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@Pujan92 / @abzokhattab@jliexpensify The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Create a workspace
Enabled company cards
Add USBank plaid feed
Go to the company cards page
Validate that the selected card feed at the top should show the USBank icon and not the default one.
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Dec 16, 2025
Triggered auto assignment to @jliexpensify (
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.abzokhattab commentedon Dec 16, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
The selected Plaid card feed (e.g., USBank) shows a generic card icon instead of the bank's specific icon in the company cards page header.
What is the root cause of that problem?
WorkspaceCompanyCardsListHeaderButtons,getPlaidInstitutionIconUrlis called withselectedFeedwhich has the formatfeedName#domainID(e.g.,plaid.ins_129663#12345)App/src/pages/workspace/companyCards/WorkspaceCompanyCardsListHeaderButtons.tsx
Line 81 in b91283d
.to extract the institution ID, resulting inins_129663#12345instead ofins_129663What changes do you think we should make in order to solve the problem?
WorkspaceCompanyCardsListHeaderButtons, change theplaidUrlassignment to usefeedinstead ofselectedFeedApp/src/pages/workspace/companyCards/WorkspaceCompanyCardsListHeaderButtons.tsx
Line 81 in b91283d
to
feedvariable is already extracted on the previous line usinggetCompanyCardFeed(selectedFeed)which strips the domain ID suffixWorkspaceCompanyCardFeedSelectorPagewhere the icon displays correctlyWorkspaceCompanyCardDetailsPageandCardSelectionStepif neededResult:

What alternative solutions did you explore? (Optional)
Modify
getPlaidInstitutionIdto strip the domain ID suffix (#domainID) before processing, making it handle both formatsnyomanjyotisa commentedon Dec 16, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Card feed icon for USBank plaid card feed is not correct
What is the root cause of that problem?
getPlaidInstitutionIdsplits the feed name by.and returns the second part. When the feed includes a domain ID separator (#), it returnsusbank#domain123instead ofusbank, resulting in an invalid icon URL like${CONST.COMPANY_CARD_PLAID}usbank#domain123.pngApp/src/libs/CardUtils.ts
Lines 493 to 500 in 5a8a078
When the
PlaidCardFeedIconcomponent tries to load this invalid URL, it fails and falls back to the generic card iconApp/src/components/PlaidCardFeedIcon.tsx
Lines 43 to 49 in 5a8a078
What changes do you think we should make in order to solve the problem?
We can extract the feed part (before the
#separator) before extracting the institution ID. UsegetCompanyCardFeedto get the feed part, then extract the institution ID from that.App/src/libs/CardUtils.ts
Lines 493 to 500 in 5a8a078
What alternative solutions did you explore? (Optional)
We could update
getPlaidInstitutionIconUrlto extract the feed part before callinggetPlaidInstitutionIdApp/src/libs/CardUtils.ts
Lines 485 to 491 in 5a8a078
nkdengineer commentedon Dec 16, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
A generic card icon is shown.
What is the root cause of that problem?
selectedFeedis the feed name with the domain ID; however, this function returns the wrong icon URL because it only extracts theinstitutionIdby splitting thefeedNameat the.character.App/src/pages/workspace/companyCards/WorkspaceCompanyCardsListHeaderButtons.tsx
Line 81 in 5a8a078
What changes do you think we should make in order to solve the problem?
We should use
getCompanyCardFeedto get the feed name without domainID first. This approach ensure whenever thegetCompanyCardFeedis changed, this function still works wellApp/src/libs/CardUtils.ts
Lines 493 to 500 in 5a8a078
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
jliexpensify commentedon Dec 16, 2025
@Expensify/design this wouldn't be
internal, right? Also...is this an easy (i.e. $50) job?dannymcclain commentedon Dec 16, 2025
I genuinely have no idea 😕
jliexpensify commentedon Dec 16, 2025
It's cool, looks like we have some proposals, so I shall make it
externaland with a lower price and have C+ make a judgment. It looks like it's just one line of a code change?[-]Card feed icon for USBank plaid card feed is not correct[/-][+][$250] Card feed icon for USBank plaid card feed is not correct[/+]melvin-bot commentedon Dec 16, 2025
Job added to Upwork: https://www.upwork.com/jobs/~022001034393470128159
26 remaining items
melvin-bot commentedon Dec 23, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Dec 23, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.85-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2025-12-30. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Dec 23, 2025
@Pujan92 / @abzokhattab @jliexpensify The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
jliexpensify commentedon Dec 29, 2025
Bump @Pujan92 for the checklist please!
jliexpensify commentedon Dec 29, 2025
Payment
Upwork job
abzokhattab commentedon Dec 29, 2025
I am now being paid with newdot
jliexpensify commentedon Dec 29, 2025
Thanks for the update, I'll end your contract @abzokhattab
twisterdotcom commentedon Dec 29, 2025
@abzokhattab has submitted payment for this report on ND here.
SO: https://stackoverflowteams.com/c/expensify/questions/7582
Zapier Logs
Run ID: 00040eee-b882-a45a-6946-6303f22163a4Pujan92 commentedon Dec 29, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: https://github.com/Expensify/App/pull/62391/changes#r2651091369
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Do we agree 👍 or 👎
jliexpensify commentedon Dec 29, 2025
Payment Summary