Add 'Apply Cash Back to My Expensify Bill' toggle to card settings#87956
Add 'Apply Cash Back to My Expensify Bill' toggle to card settings#87956JS00001 merged 24 commits intoExpensify:mainfrom
Conversation
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx ts-node ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
|
@ZhenjaHorbach Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3309561d34
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
@JS00001 assigning you here since pull bearer assigned you in the Auth PR https://github.com/Expensify/Auth/pull/21079 |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
…gandalf/App into toggle-card-cashback-to-bill # Conflicts: # src/types/onyx/ExpensifyCardSettings.ts
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppios.moviOS: mWeb SafariMacOS: Chrome / Safariweb.mov |
|
@mkhutornyi have you completed your review? |
|
@allgandalf could you fix the error dismissing problem real quick? |
|
fixed in 2e26f9b, added clearCashbackToBillError action and wired it as onCloseError on the toggle. the X now shows up and clears settings.errors when clicked |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/JS00001 in version: 9.3.67-0 🚀
Bundle Size Analysis (Sentry): |
|
Yes, help site changes are required. The PR adds a new Apply cash back to my Expensify bill toggle to the Expensify Card Settings page, which is not documented in the current help articles. Draft PR created: #89641 Changes made:
Please mark the PR as "Ready for review" when it's ready. |
|
@allgandalf @trjExpensify @mkhutornyi Could you please help? How can we test steps 5 and 6. What card should we use? Can you check these steps internally? |
|
I think @trjExpensify would be able to help you with that |


Explanation of Change
Adds the "Apply Cash Back to My Expensify Bill" toggle to the workspace Expensify Card settings page. This toggle exists in Expensify Classic but was missing from NewDot.
The toggle allows workspace admins to choose whether their Expensify Card cash back is applied toward their Expensify bill or sent to their settlement account. It defaults to enabled (matching Classic behavior).
Visibility constraints (matching Classic):
Related PRs (must be merged together for the feature to work):
Fixed Issues
$ #77925
Tests
Offline tests
QA Steps
PR Author Checklist
Screen.Recording.2026-04-29.at.1.15.08.PM.mov