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:
Reproducible in staging?:
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @joekaufmanexpensify
Slack conversation (hyperlinked to channel name): #product
Action Performed:
- Invoice sender sends an invoice to the receiver.
- Receiver views the invoice, selects pay > pay as business > pay elsewhere.
- Sender than sends another invoice to the receiver.
Expected Result:
Invoice receiver sees option to pay second invoice, just like they did on the first. This is how the invoice flow works if you initially pay as an individual.
Actual Result:
If you initially pay an invoice as a business, the invoice receiver does not see the option to pay the second invoice sent to them. Instead, the invoice sender is shown the option to pay their own invoice.
Workaround:
N/A
Platform:
- Web
Platforms:
Select the officially supported platforms where the issue was reproduced:
- Android: App
- Android: mWeb Chrome
- iOS: App
- iOS: mWeb Safari
- iOS: mWeb Chrome
- Windows: Chrome
- MacOS: Chrome / Safari
- MacOS: Desktop
Platforms Tested:
On which of our officially supported platforms was this issue tested:- Android: App
- Android: mWeb Chrome
- iOS: App
- iOS: mWeb Safari
- iOS: mWeb Chrome
- Windows: Chrome
- MacOS: Chrome / Safari
- MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidence
Second invoice after initially paying as individual
2025-05-06_08-52-28.mp4
Second invoice after initially paying as business
https://github.com/user-attachments/assets/ebe51de0-e11e-4b7c-91a9-02abc825772
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~021935077999789012410
- Upwork Job ID: 1935077999789012410
- Last Price Increase: 2025-06-24
- Automatic offers:
- gijoe0295 | Contributor | 107796121
Activity
melvin-bot commentedon Jun 17, 2025
Triggered auto assignment to @trjExpensify (
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.[-]Pay invoice as business flow shows wrong person option to pay[/-][+][$250] Pay invoice as business flow shows wrong person option to pay[/+]melvin-bot commentedon Jun 17, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021935077999789012410
melvin-bot commentedon Jun 17, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rojiphil (
External)17 remaining items
[-][$250] Pay invoice as business flow shows wrong person option to pay[/-][+][Due for Payment 8th July] [$250] Pay invoice as business flow shows wrong person option to pay[/+]trjExpensify commentedon Jul 7, 2025
👋 checklist time here for tomorrow @rojiphil
gijoe0295 commentedon Jul 9, 2025
@rojiphil Bump
rojiphil commentedon Jul 10, 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:
[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: Not Required. The existing checklist is good enough to capture such issues.
[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.
Regression Test Proposal
Precondition: Sender and receiver have never sent invoice to each other
Test:
Mark as paidbutton on invoice previewMark as paidas a primary action buttonDo we agree 👍 or 👎
rojiphil commentedon Jul 10, 2025
@trjExpensify Checklist done. Thanks.
gijoe0295 commentedon Jul 11, 2025
@trjExpensify ready for payment.
trjExpensify commentedon Jul 14, 2025
I can see this should be covered in this test, so I'm not going to suggest adding another.
Payment summary as follows:
Closing!
rojiphil commentedon Nov 7, 2025
paid