[Due for payment 2026-11-19] [$175] Company cards - "help article" and "contact bank" links both lead to same link
If you haven’t already, check out our contributing guidelines for onboarding. To join our Slack channel, fill out this form.
Version Number: v9.5.26-0 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from BrowserStack: https://test-management.browserstack.com/projects/2219752/test-runs/81348538/folder/13176706/41236836/1926751762?sort=%2Bidentifier Email or phone of affected tester (no customers): N/A Issue reported by: Applause Internal Team Bug source: Regression TC Execution Device used: Windows 11/ Chrome, Android 13 App Component: Workspace Settings
Action Performed:
- Sign in staging.new.expensify.com
- Navigate to Workspace > Workspace (create one) > Company cards
- Click on Add cards > Select country (United States)
- Select Commercial > Visa
- As two hyperlinks are displayed ("this help article" and "Contact your bank"), click on each
Expected Result:
Both hyperlinks navigate the user to respective links (help article to instructions from help.expensify and contact your bank to respective bank)
Actual Result:
Both hyperlinks navigate to same hyperlink (instructions for visa from help.expensify
Workaround:
Unknown
Platforms:
- [x] Android: App
- [ ] Android: mWeb Chrome
- [ ] iOS: App
- [ ] iOS: mWeb Safari
- [ ] iOS: mWeb Chrome
- [x] Windows: Chrome
- [ ] MacOS: Chrome Safari
Screenshots/Videos
https://github.com/user-attachments/assets/a00d27d0-7741-4464-afd7-5f66b05c60cf
Applause Internal Information Exported by: Julia Ponikarchuk Bug ID: 7300145
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~022116051613975359462
- Upwork Job ID: 2116051613975359462
- Last Price Increase: 2026-10-30
- Automatic offers:
- getusha | Reviewer | 113022297
Issue Owner
Current Issue Owner: @mallenexpensify
While Applause doesn't embed attachments for this bug, here are the links for quick view: https://platform.applause.com/services/links/v1/external/145df13fad7496fd91179c8cfbcbb795d63815de06aa1164a5e51b8d8bc9679f
Proposal
What is the root cause of that problem?
The step 2 "Contact your bank" link uses the same URL as the step 1 "this help article" link. Both go to the Visa help-article anchor, so the two links open the same page.
Code references
- The
vcfstring links both phrases toCONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP: src/languages/en.ts:7203 - The Mastercard
cdfstring has the same bug withCONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS: src/languages/en.ts:7205 - Every other locale copies the same pattern, for example src/languages/de.ts:6746 and src/languages/es.ts:6611.
- The strings render as HTML on the instructions page: CardInstructionsStep.tsx:104
What changes do you think we should make in order to solve the problem?
Remove the link from "Contact your bank" in the vcf and cdf strings, and leave it as plain text. Make the change in en.ts, es.ts, and all other locale files.
At this step, the user picks a card network (Visa or Mastercard), not a bank. The App has no bank-specific URL to use, so a second link can only repeat the help article.
What alternative solutions did you explore? (Optional)
Link "Contact your bank" to a separate page, such as a help-article section on what to ask the bank. No such section or constant exists today, so this needs a new help-site anchor and product sign-off.
Next Steps for Contributor+ team:
To accept: @MelvinBot implement [this](https://github.com/Expensify/App/issues/105456) to create a draft PR.
To refine: @MelvinBot <your feedback>
To reject: Explain why you are rejecting Melvin's proposal.
Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha (External)
Job added to Upwork: https://www.upwork.com/jobs/~022116051613975359462
Proposal
What is the root cause of that problem?
In src/languages/en.ts (lines 7203 and 7205), the translation strings for the Visa Commercial Feed (vcf) and Mastercard Commercial Feed (cdf) setup instructions contain two hyperlinks each:
- "this help article" →
CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP - "Contact your bank" →
CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP← same constant
Both hyperlinks accidentally use the same URL constant. There is no separate URL constant defined for the "Contact your bank" action, so the copy-paste produced two identical links. The same mistake exists in all other language files (de.ts, es.ts, pl.ts, pt-BR.ts, zh-hans.ts, etc.).
What changes do you think we should make in order to solve the problem?
The "Contact your bank" text instructs users to reach out to their own bank — there is no single fixed URL that covers all banks. The cleanest fix is to remove the hyperlink markup from the "Contact your bank" portion of the translation strings in en.ts (and all language files), so that text becomes plain text. The "this help article" link should remain as-is.
Specifically, for vcf (line 7203) and cdf (line 7205) in every language file, change:
[Contact your bank](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP})→ plain textContact your bank[Kontaktiere deine Bank](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP})→ plain text (each language respectively)
What alternative solutions did you explore? (Optional)
An alternative would be to define new URL constants (e.g., a Visa commercial card enrollment page URL and a Mastercard enrollment page URL) and use those as the "Contact your bank" link targets. However, since "Contact your bank" refers to the user's own bank (which varies per user), a fixed link is misleading. Removing the hyperlink entirely is more accurate and less confusing.
Contributor details Your Expensify account email: [email protected] Upwork Profile Link: https://www.upwork.com/freelancers/~015c92a110b06ee5b3
Proposal
Please re-state the problem that we are trying to solve in this issue.
When navigating to Workspace Settings > Company cards > Add cards > United States > Commercial > Visa or Mastercard, the setup instructions screen displays two hyperlinks in the text ("this help article" and "Contact your bank"). Clicking either link navigates to the exact same URL (the Expensify help article for commercial feeds).
What is the root cause of that problem?
In src/languages/en.ts (lines 7203 and 7205) and the corresponding locale translation files (de.ts, es.ts, fr.ts, it.ts, ja.ts, nl.ts, pl.ts, pt-BR.ts, zh-hans.ts, el.ts), the translation strings for workspace.companyCards.addNewCard.enableFeed.vcf and workspace.companyCards.addNewCard.enableFeed.cdf erroneously format step 2 ("Contact your bank") as a markdown link using the same URL constant as step 1:
- For
vcf: both step 1 and step 2 link toCONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP - For
cdf: both step 1 and step 2 link toCONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS
Step 2 instructs the user to contact their financial institution to request commercial feed enablement. Because each user has a different issuing bank, there is no single URL for the user's bank. (In comparison, enableFeed.gl1025 for American Express on line 7204 leaves the step 2 instruction as plain text without any hyperlink). The markdown hyperlink syntax was accidentally copy-pasted onto "Contact your bank".
What changes do you think we should make in order to solve the problem?
Remove the hyperlink markdown formatting from "Contact your bank" in both vcf and cdf translation strings across src/languages/en.ts and all locale files (de.ts, es.ts, fr.ts, it.ts, ja.ts, nl.ts, pl.ts, pt-BR.ts, zh-hans.ts, el.ts), keeping the text as plain text:
In src/languages/en.ts:
--- a/src/languages/en.ts
+++ b/src/languages/en.ts
@@ -7200,9 +7200,9 @@ const translations = {
heading: 'We have a direct integration with your card issuer and can import your transaction data into Expensify quickly and accurately.\n\nTo get started, simply:',
visa: 'We have global integrations with Visa, though eligibility varies by bank and card program.\n\nTo get started, simply:',
mastercard: 'We have global integrations with Mastercard, though eligibility varies by bank and card program.\n\nTo get started, simply:',
- vcf: `1. Visit [this help article](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP}) for detailed instructions on how to set up your Visa Commercial Cards.\n\n2. [Contact your bank](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP}) to verify they support a commercial feed for your program, and ask them to enable it.\n\n3. *Once the feed is enabled and you have its details, continue to the next screen.*`,
+ vcf: `1. Visit [this help article](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP}) for detailed instructions on how to set up your Visa Commercial Cards.\n\n2. Contact your bank to verify they support a commercial feed for your program, and ask them to enable it.\n\n3. *Once the feed is enabled and you have its details, continue to the next screen.*`,
gl1025: `1. Visit [this help article](${CONST.COMPANY_CARDS_AMEX_COMMERCIAL_CARD_HELP}) to find out if American Express can enable a commercial feed for your program.\n\n2. Once the feed is enabled, Amex will send you a production letter.\n\n3. *Once you have the feed information, continue to the next screen.*`,
- cdf: `1. Visit [this help article](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS}) for detailed instructions on how to set up your Mastercard Commercial Cards.\n\n 2. [Contact your bank](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS}) to verify they support a commercial feed for your program, and ask them to enable it.\n\n3. *Once the feed is enabled and you have its details, continue to the next screen.*`,
+ cdf: `1. Visit [this help article](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS}) for detailed instructions on how to set up your Mastercard Commercial Cards.\n\n2. Contact your bank to verify they support a commercial feed for your program, and ask them to enable it.\n\n3. *Once the feed is enabled and you have its details, continue to the next screen.*`,
stripe: `1. Visit Stripe’s Dashboard, and go to [Settings](${CONST.COMPANY_CARDS_STRIPE_HELP}).\n\n2. Under Product Integrations, click Enable next to Expensify.\n\n3. Once the feed is enabled, click Submit below and we’ll work on adding it.`,
Apply the identical change (removing [...](${...}) around the respective translated "Contact your bank" string) across:
src/languages/de.ts(Kontaktiere deine Bank)src/languages/es.ts(Contacte a su banco)src/languages/fr.ts(Contactez votre banque)src/languages/it.ts(Contatta la tua banca)src/languages/ja.ts(銀行に連絡)src/languages/nl.ts(Neem contact op met je bank)src/languages/pl.ts(Skontaktuj się ze swoim bankiem)src/languages/pt-BR.ts(Entre em contato com o seu banco)src/languages/zh-hans.ts(联系您的银行)src/languages/el.ts(Επικοινωνήστε με την τράπεζά σας)
What alternative solutions did you explore? (Optional)
Link "Contact your bank" to an external directory or generic search. However, this does not exist in Expensify constants and banks vary by customer. Matching the plain text convention established by enableFeed.gl1025 is the cleanest and most consistent design.
✅ Contributor details stored successfully. Thank you for contributing to Expensify!
Proposal
Please re-state the problem that we are trying to solve.
When setting up a Commercial Card feed for Visa or Mastercard under Workspace > Company Cards > Add cards > Commercial > Visa (or Mastercard), the instructions screen displays two hyperlinks: "this help article" and "Contact your bank". Clicking either hyperlink navigates the user to the exact same URL (CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP for Visa, or CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS for Mastercard).
What is the root cause of that problem?
In src/languages/en.ts (lines 7189 and 7191) and all other locale files (de.ts, el.ts, es.ts, fr.ts, it.ts, ja.ts, nl.ts, pl.ts, pt-BR.ts, zh-hans.ts), the translation strings for workspace.companyCards.addNewCard.enableFeed.vcf and workspace.companyCards.addNewCard.enableFeed.cdf wrap step 2 ("Contact your bank" / localized equivalent) in markdown link syntax [...](...) pointing to the identical help article constant used in step 1 ("this help article"):
- In
vcf:- Step 1:
[this help article](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP}) - Step 2:
[Contact your bank](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP})
- Step 1:
- In
cdf:- Step 1:
[this help article](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS}) - Step 2:
[Contact your bank](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS})
- Step 1:
In CardInstructionsStep.tsx (line 104), these strings are parsed with Parser.replace(...) and rendered via RenderHTML:
<RenderHTML html={Parser.replace(feedProvider ? translate(`workspace.companyCards.addNewCard.enableFeed.${feedProvider}`) : '')} />
Because step 2 was mistakenly formatted as a markdown link using the help article URL, it renders as a clickable blue hyperlink that navigates to the help article rather than being plain instructional text. At this step of the flow, the user has only selected the card network (Visa / Mastercard) and has not specified their issuing bank; Expensify has no bank-specific URL to link to. In comparison, enableFeed.gl1025 (Amex) and enableFeed.stripe leave step 2 as plain instructional text without duplicate links. Additionally, in several locale files (en.ts, es.ts, fr.ts, it.ts), cdf has an unintentional leading space before 2. (\n\n 2.).
What changes do you think we should make in order to solve the problem?
Remove the markdown link syntax [...](...) surrounding "Contact your bank" (and its translated equivalents) in vcf and cdf across src/languages/en.ts and all 10 non-English locale files, leaving the text as plain text. Also standardize the newline spacing in cdf by removing the redundant leading space before 2..
1. src/languages/en.ts
--- a/src/languages/en.ts
+++ b/src/languages/en.ts
@@ -7186,9 +7186,9 @@ const translations = {
heading: 'We have a direct integration with your card issuer and can import your transaction data into Expensify quickly and accurately.\n\nTo get started, simply:',
visa: 'We have global integrations with Visa, though eligibility varies by bank and card program.\n\nTo get started, simply:',
mastercard: 'We have global integrations with Mastercard, though eligibility varies by bank and card program.\n\nTo get started, simply:',
- vcf: `1. Visit [this help article](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP}) for detailed instructions on how to set up your Visa Commercial Cards.\n\n2. [Contact your bank](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP}) to verify they support a commercial feed for your program, and ask them to enable it.\n\n3. *Once the feed is enabled and you have its details, continue to the next screen.*`,
+ vcf: `1. Visit [this help article](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP}) for detailed instructions on how to set up your Visa Commercial Cards.\n\n2. Contact your bank to verify they support a commercial feed for your program, and ask them to enable it.\n\n3. *Once the feed is enabled and you have its details, continue to the next screen.*`,
gl1025: `1. Visit [this help article](${CONST.COMPANY_CARDS_AMEX_COMMERCIAL_CARD_HELP}) to find out if American Express can enable a commercial feed for your program.\n\n2. Once the feed is enabled, Amex will send you a production letter.\n\n3. *Once you have the feed information, continue to the next screen.*`,
- cdf: `1. Visit [this help article](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS}) for detailed instructions on how to set up your Mastercard Commercial Cards.\n\n 2. [Contact your bank](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS}) to verify they support a commercial feed for your program, and ask them to enable it.\n\n3. *Once the feed is enabled and you have its details, continue to the next screen.*`,
+ cdf: `1. Visit [this help article](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS}) for detailed instructions on how to set up your Mastercard Commercial Cards.\n\n2. Contact your bank to verify they support a commercial feed for your program, and ask them to enable it.\n\n3. *Once the feed is enabled and you have its details, continue to the next screen.*`,
stripe: `1. Visit Stripe’s Dashboard, and go to [Settings](${CONST.COMPANY_CARDS_STRIPE_HELP}).\n\n2. Under Product Integrations, click Enable next to Expensify.\n\n3. Once the feed is enabled, click Submit below and we’ll work on adding it.`,
},
2. Other 10 Locale Files
Remove the [...](...) link wrapping around the bank contact text in:
src/languages/de.ts:vcf: Change2. [Kontaktiere deine Bank](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP})to2. Kontaktiere deine Bankcdf: Change2. [Kontaktiere deine Bank](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS})to2. Kontaktiere deine Bank
src/languages/el.ts:vcf: Change2. [Επικοινωνήστε με την τράπεζά σας](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP})to2. Επικοινωνήστε με την τράπεζά σαςcdf: Change2. [Επικοινωνήστε με την τράπεζά σας](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS})to2. Επικοινωνήστε με την τράπεζά σας
src/languages/es.ts:vcf: Change2. [Póngase en contacto con su banco](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP})to2. Póngase en contacto con su bancocdf: Change\n\n 2. [Póngase en contacto con su banco](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS})to\n\n2. Póngase en contacto con su banco
src/languages/fr.ts:vcf: Change2. [Contactez votre banque](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP})to2. Contactez votre banquecdf: Change2. [Contactez votre banque](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS})to2. Contactez votre banque
src/languages/it.ts:vcf: Change2. [Contatta la tua banca](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP})to2. Contatta la tua bancacdf: Change2. [Contatta la tua banca](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS})to2. Contatta la tua banca
src/languages/ja.ts:vcf: Change[銀行に連絡](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP})to銀行に連絡cdf: Change[銀行に問い合わせてください](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS})to銀行に問い合わせてください
src/languages/nl.ts:vcf: Change2. [Neem contact op met je bank](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP})to2. Neem contact op met je bankcdf: Change2. [Neem contact op met je bank](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS})to2. Neem contact op met je bank
src/languages/pl.ts:vcf: Change2. [Skontaktuj się ze swoim bankiem](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP})to2. Skontaktuj się ze swoim bankiemcdf: Change2. [Skontaktuj się ze swoim bankiem](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS})to2. Skontaktuj się ze swoim bankiem
src/languages/pt-BR.ts:vcf: Change2. [Entre em contato com o seu banco](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP})to2. Entre em contato com o seu bancocdf: Change2. [Entre em contato com o seu banco](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS})to2. Entre em contato com o seu banco
src/languages/zh-hans.ts:vcf: Change请[联系您的银行](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP})to请联系您的银行cdf: Change2. [联系您的银行](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS})to2. 联系您的银行
What alternative solutions did you explore? (Optional)
- Linking "Contact your bank" to an external search or bank portal directory: Not viable because thousands of card issuing banks exist worldwide and the user has not even entered their bank name at this step of the flow.
- Linking "Contact your bank" to another section of the help article: The help article linked in step 1 (
how-to-enable-a-visa-commercial-card-feed-vcf/how-to-enable-a-mastercard-commercial-card-feed-cdf) already provides the guidance on what requirements and details to request from the bank. Creating a redundant link pointing to another anchor or the same page causes confusion.
Automated Tests
Add a test in tests/unit/TranslateTest.ts to assert that across all 11 supported languages, both vcf and cdf instructions contain exactly 1 hyperlink (pointing to their respective help center articles) and that "Contact your bank" is plain text without markdown links:
it('ensures company card instructions for vcf and cdf contain exactly one hyperlink to their respective help articles and no duplicate bank link', () => {
// Given the set of supported language translations and markdown link regex
const markdownLinkRegex = /\[([^\]]+)\]\(([^)]+)\)/g;
const locales = [
{code: 'de', translations: de},
{code: 'el', translations: el},
{code: 'en', translations: en},
{code: 'es', translations: es},
{code: 'fr', translations: fr},
{code: 'it', translations: itTranslations},
{code: 'ja', translations: ja},
{code: 'nl', translations: nl},
{code: 'pl', translations: pl},
{code: 'pt-BR', translations: ptBR},
{code: 'zh-hans', translations: zhHans},
];
// When inspecting the enableFeed markdown strings for Visa (vcf) and Mastercard (cdf) across all locales
for (const {translations: locale} of locales) {
const vcfInstructions = locale.workspace.companyCards.addNewCard.enableFeed.vcf;
const cdfInstructions = locale.workspace.companyCards.addNewCard.enableFeed.cdf;
const vcfLinks = Array.from(vcfInstructions.matchAll(markdownLinkRegex));
const cdfLinks = Array.from(cdfInstructions.matchAll(markdownLinkRegex));
// Then each feed instruction must have exactly one link pointing to its help center article, and "Contact your bank" must remain plain text
expect(vcfLinks).toHaveLength(1);
expect(vcfLinks[0][2]).toBe(CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP);
expect(cdfLinks).toHaveLength(1);
expect(cdfLinks[0][2]).toBe(CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS);
}
});
Contributor details
Expensify account email: [email protected] Upwork Profile Link: https://www.upwork.com/freelancers/~014bb7d4c250a1fe03
✅ Contributor details stored successfully. Thank you for contributing to Expensify!
Proposal
Please re-state the problem that we are trying to solve in this issue.
In Workspace > Company cards > Add cards > United States > Commercial > Visa (or Mastercard), the setup instructions screen (CardInstructionsStep.tsx) renders two links — "this help article" in step 1 and "Contact your bank" in step 2 — that both point to the exact same help article URL.
What is the root cause of that problem?
In src/languages/en.ts (lines 7203 and 7205, workspace.companyCards.addNewCard.feedDetails.vcf and workspace.companyCards.addNewCard.feedDetails.cdf) and the corresponding keys across all other locale files (src/languages/es.ts, de.ts, fr.ts, it.ts, ja.ts, nl.ts, pl.ts, pt-BR.ts, zh-hans.ts):
- Step 1 links
"this help article"to${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP}(forvcf) /${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS}(forcdf). - Step 2 erroneously wraps
"Contact your bank"in a Markdown link pointing to that same URL constant ([Contact your bank](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP})/[Contact your bank](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS})), whichCardInstructionsStep.tsx(line 104) renders via<RenderHTML>as a duplicate link.
What changes do you think we should make in order to solve the problem?
In src/languages/en.ts and all other locale files (de.ts, el.ts, es.ts, fr.ts, it.ts, ja.ts, nl.ts, pl.ts, pt-BR.ts, zh-hans.ts):
- Under
workspace.companyCards.addNewCard.feedDetails.vcfandworkspace.companyCards.addNewCard.feedDetails.cdf, keep the hyperlink on"this help article"in step 1 and remove the Markdown hyperlink wrapper around"Contact your bank"in step 2 so it renders as plain text:vcf:2. Contact your bank to request the data feed delivery to Expensify.cdf:2. Contact your bank to request the data feed delivery to Expensify.
- Update the corresponding translated strings in all locale files to remove the duplicate Markdown URL wrapper on step 2.
What alternative solutions did you explore? (Optional)
Pointing "Contact your bank" to a separate external URL is not applicable because at this step the user has selected a card network (Visa / Mastercard) rather than a specific issuing bank, and as confirmed by product, removing the link on "Contact your bank" is the desired behavior.
Contributor details Your Expensify account email: [email protected] Upwork Profile Link: https://www.upwork.com/freelancers/~010b8a98bb82c2f8e6
✅ Contributor details stored successfully. Thank you for contributing to Expensify!
Proposal
Please re-state the problem that we are trying to solve in this issue.
In Workspace > Company cards > Add cards > United States > Commercial > Visa (or Mastercard), the instructions screen (CardInstructionsStep.tsx) displays two hyperlinks:
- Step 1: "this help article"
- Step 2: "Contact your bank"
Both links navigate to the exact same help article URL (
CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP/CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS).
What is the root cause of that problem?
In src/languages/en.ts under workspace.companyCards.addNewCard.feedDetails:
- For
vcf(Visa, line 7203): Step 2 wraps "Contact your bank" in markdown link syntax pointing to${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP}. - For
cdf(Mastercard, line 7205): Step 2 wraps "Contact your bank" in markdown link syntax pointing to${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS}. - This same pattern is duplicated across all locale files (
es.ts,de.ts,fr.ts,it.ts,ja.ts,nl.ts,pl.ts,pt-BR.ts,zh-hans.ts,el.ts).
Because the user at this step has only selected a card network (Visa / Mastercard) rather than an individual issuing bank, there is no bank-specific URL to link to. Wrapping "Contact your bank" with the card help article URL causes a redundant duplicate link.
What changes do you think we should make in order to solve the problem?
-
In
src/languages/en.ts: Underworkspace.companyCards.addNewCard.feedDetails, remove the markdown link wrapper around "Contact your bank" so it renders as plain text:- For
vcf:vcf: `1. Follow the instructions in [this help article](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP}) to determine your feed delivery method.\n2. Contact your bank to request the data feed delivery to Expensify.\n3. The bank will email you a form to complete or take the request over the phone.\n4. We'll send you an email with instructions on where to securely share your connection details.`, - For
cdf:cdf: `1. Follow the instructions in [this help article](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS}) to determine your feed delivery method.\n2. Contact your bank to request the data feed delivery to Expensify.\n3. The bank will email you a form to complete or take the request over the phone.\n4. We'll send you an email with instructions on where to securely share your connection details.`,
- For
-
In all other locale files (
es.ts,de.ts,fr.ts,it.ts,ja.ts,nl.ts,pl.ts,pt-BR.ts,zh-hans.ts,el.ts): Remove the markdown link wrapper syntax[ ... ](...)from Step 2 in bothvcfandcdf, keeping the translated text as plain text.
Proposal
Please re-state the problem that we are trying to solve in this issue.
In Workspace > Company cards > Add cards > Select country (United States) > Commercial > Visa (or Mastercard), the setup instructions page (CardInstructionsStep.tsx) displays two hyperlinks: "this help article" in Step 1 and "Contact your bank" in Step 2. Clicking either link navigates the user to the exact same help article URL (CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP / CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS).
What is the root cause of that problem?
In src/languages/en.ts (lines 6611 & 6613) under workspace.companyCards.addNewCard.enableFeed:
- For
vcf(Visa):vcf: `1. Visit [this help article](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP}) for detailed instructions on how to set up your Visa Commercial Cards.\n\n2. [Contact your bank](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP}) to verify they support a commercial feed for your program, and ask them to enable it.\n\n3. *Once the feed is enabled and you have its details, continue to the next screen.*`, - For
cdf(Mastercard):cdf: `1. Visit [this help article](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS}) for detailed instructions on how to set up your Mastercard Commercial Cards.\n\n 2. [Contact your bank](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS}) to verify they support a commercial feed for your program, and ask them to enable it.\n\n3. *Once the feed is enabled and you have its details, continue to the next screen.*`,
The same pattern was replicated across all other locale files (es.ts, de.ts, fr.ts, it.ts, ja.ts, nl.ts, pl.ts, pt-BR.ts, zh-hans.ts, etc.).
At this stage in the "Add company card" flow, the user has only selected a card network (Visa / Mastercard) rather than an individual issuing bank. Because Expensify does not have a bank-specific URL or a separate help article for contacting individual banks, wrapping "Contact your bank" with the card help article URL creates an unintentional duplicate link.
What changes do you think we should make in order to solve the problem?
-
In
src/languages/en.ts: Underworkspace.companyCards.addNewCard.enableFeed, remove the Markdown hyperlink brackets and URL target from "Contact your bank" in bothvcfandcdf, keeping it as plain text:- For
vcf:vcf: `1. Visit [this help article](${CONST.COMPANY_CARDS_VISA_COMMERCIAL_CARD_HELP}) for detailed instructions on how to set up your Visa Commercial Cards.\n\n2. Contact your bank to verify they support a commercial feed for your program, and ask them to enable it.\n\n3. *Once the feed is enabled and you have its details, continue to the next screen.*`, - For
cdf:cdf: `1. Visit [this help article](${CONST.COMPANY_CARDS_MASTERCARD_COMMERCIAL_CARDS}) for detailed instructions on how to set up your Mastercard Commercial Cards.\n\n2. Contact your bank to verify they support a commercial feed for your program, and ask them to enable it.\n\n3. *Once the feed is enabled and you have its details, continue to the next screen.*`,
- For
-
In all other locale files (
src/languages/{es,de,fr,it,ja,nl,pl,pt-BR,zh-hans}.ts): Remove the Markdown hyperlink formatting around the translated phrase for "Contact your bank" invcfandcdf, ensuring Step 2 renders as regular text while retaining the valid link on Step 1.
What alternative solutions did you explore? (Optional)
- Linking "Contact your bank" to an external bank directory or a specific section of the help center: Not viable because banks have differing internal commercial card departments and no such centralized URL constant exists in the codebase. Removing the link in Step 2 is standard for generic bank contact instructions.
Contributor details
Your Expensify account email: [email protected] Upwork Profile Link: https://www.upwork.com/freelancers/~0105126232377c4c5c
✅ Contributor details stored successfully. Thank you for contributing to Expensify!
@getusha Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
@getusha Whoops! This issue is 2 days overdue. Let's get this updated quick!
@getusha Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
@MelvinBot can you verify if your alternative solution is viable?
No, the alternative isn't viable right now. There is no separate help-site section on contacting your bank that "Contact your bank" could link to. I recommend the main proposal: make "Contact your bank" plain text.
What I checked
- All three commercial-feed constants point to anchors in one article, Set up a Commercial Feed for Company Cards: src/CONST/index.ts:1836-1846
- The article's guidance on what to ask the bank is step 1 of the same Mastercard and Visa sections that step 1 of the App instructions already links to: Mastercard (CDF) and Visa (VCF). Linking there again recreates this bug.
- The only other bank-related content doesn't fit:
- The intro line "contact your bank to confirm that your card program is eligible" has no anchor: line 16
- The FAQ "What can I do if my bank doesn't offer a commercial card feed?" covers ineligible banks, not what to ask your bank: lines 113-115
- To make the alternative work, someone would need to add a new help-site section and constant, with docs or product sign-off. That section would mostly repeat step 1 of each network section, so it isn't worth doing for this bug.