Skip to content

[Due for payment 2025-05-30] [$250] Invoice - Pay button appears in invoice preview for sender after receiver pays as business #61315

Closed

Description

@jponikarchuk

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: 9.1.39-2
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/6032955
Email or phone of affected tester (no customers): applausetester+5893023@applause.expensifail.com
Issue reported by: Applause Internal Team
Device used: Mac 15.3 / Chrome
App Component: Money Requests

Action Performed:

Precondition:

  • Log in with Expensifail account.
  • Invoice is enabled.
  1. Go to staging.new.expensify.com
  2. [User A] Open FAB > Send invoice.
  3. [User A] Send two invoices to User B.
  4. [User B] Open invoice room with User A.
  5. [User B] On the first invoice, click Pay button > Pay as a business > Pay elsewhere.
  6. [User B] Note that pay button on the second invoice disappears for User B after paying the first invoice as business.
  7. [User A] Go to invoice room with User B.
  8. [User A] Note that pay button on the second invoice appears for User A who is also the invoice sender.

Expected Result:

After paying invoice as business,

  • In Step 6, the pay button on the second invoice will not disappear for User B.
  • In Step 8, the pay button on the second invoice will not appear for User A who is the invoice sender.

Actual Result:

After paying invoice as business,

  • In Step 6, the pay button on the second invoice disappears for User B.
  • In Step 8, the pay button on the second invoice appears for User A who is the invoice sender.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

1.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021919538908936604963
  • Upwork Job ID: 1919538908936604963
  • Last Price Increase: 2025-05-05
  • Automatic offers:
    • nkdengineer | Contributor | 107220768
Issue OwnerCurrent Issue Owner: @fedirjh

Activity

  1. added
    Bug
    Daily
    on May 2, 2025
  2. melvin-bot commented on May 2, 2025

    @melvin-bot

    Triggered auto assignment to @mallenexpensify (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.

  3. melvin-bot commented on May 5, 2025

    @melvin-bot

    @mallenexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

  4. added
    External
    on May 5, 2025
  5. changed the title [-]Invoice - Pay button appears in invoice preview for sender after receiver pays as business[/-] [+][$250] Invoice - Pay button appears in invoice preview for sender after receiver pays as business[/+] on May 5, 2025
  6. melvin-bot commented on May 5, 2025

    @melvin-bot
  7. added
    Help Wanted
    on May 5, 2025
  8. melvin-bot commented on May 5, 2025

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh (External)

  9. mallenexpensify commented on May 5, 2025

    @mallenexpensify
    Contributor

    Seems like it could be worked on by a contributor.

  10. 22 remaining items

  11. melvin-bot commented on Jun 2, 2025

    @melvin-bot

    @mallenexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

  12. fedirjh commented on Jun 2, 2025

    @fedirjh
    Contributor

    BugZero Checklist:

    • [Contributor] Classify the bug:
    Bug classification

    Source of bug:

    • 1a. Result of the original design (eg. a case wasn't considered)
    • 1b. Mistake during implementation
    • 1c. Backend bug
    • 1z. Other:

    Where bug was reported:

    • 2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
    • 2b. Reported on staging (eg. found during regression or PR testing)
    • 2d. Reported on a PR
    • 2z. Other:

    Who reported the bug:

    • 3a. Expensify user
    • 3b. Expensify employee
    • 3c. Contributor
    • 3d. QA
    • 3z. Other:
    • [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: Simplified Actions on Report Header and Preview V2 #59999 (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: 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.

    N/A We have a regression test in place.

    Regression Test Proposal Template
    • [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

    Precondition:

    Test:

    Do we agree 👍 or 👎

  13. mallenexpensify commented on Jun 3, 2025

    @mallenexpensify
    Contributor

    Contributor: @nkdengineer paid $250 via Upwork
    Contributor+: @fedirjh due $250 via NewDot

    @fedirjh , before closing, can you please confirm in a post that the test case doesn't need to be updated?

    Image
  14. melvin-bot commented on Jun 6, 2025

    @melvin-bot

    @fedirjh Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  15. melvin-bot commented on Jun 10, 2025

    @melvin-bot

    @fedirjh 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

  16. Julesssss commented on Jun 10, 2025

    @Julesssss
    Contributor

    Awaiting payment

  17. fedirjh commented on Jun 10, 2025

    @fedirjh
    Contributor

    @fedirjh , before closing, can you please confirm in a post that the test case doesn't need to be updated?

    @mallenexpensify we can add an extra steps :

    - Confirm that the “Pay” button is not visible to the invoice sender, both before and after the invoice is paid.
    - Confirm that the “Pay” button disappears for the receiver after they complete the payment.
    
  18. mallenexpensify commented on Jun 11, 2025

    @mallenexpensify
    Contributor
  19. laurenreidexpensify commented on Aug 6, 2025

    @laurenreidexpensify
    Contributor

    $250 approved in New Expensify for @fedirjh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions