Skip to content

[Due for payment 2026-11-03] [$175] Auto-Collect Approver- No further action required! is displayed after admin approve #102736

Closed

Description

@applause-bot

If you haven’t already, check out our contributing guidelines for onboarding. To join our Slack channel, fill out this form.


Version Number: 9.5.0-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/76538431/folder/54012021/41236798/1815968341?sort=%2Bidentifier
Email or phone of affected tester (no customers): duytestnguyen+dk34@gmail.com
Issue reported by: Applause Internal Team
Bug source: Regression TC Execution
Device used: Windows 11 Chrome
App Component: Money Requests

Action Performed:

Preconditions:

  • Account A is admin, create new collect workspace and invite Account B as employee
  1. Open https://staging.new.expensify.com/
  2. As account B, create an expense and submit
  3. As account A, open the created expense by account B
  4. As account A, click 'Approve' button

Expected Result:

Verify the report shows Waiting for an admin to pay expenses

Actual Result:

Waiting for an admin to pay expenses appears briefly then 'No further action required!' is displayed

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug7274204_1790843853155.bandicam_2026-10-01_15-27-17-346.mp4

View all open jobs on GitHub

Applause Internal Information
Exported by: Julia Ponikarchuk
Bug ID: 7274204

Upwork Automation - Do Not Edit
Issue OwnerCurrent Issue Owner: @mallenexpensify

Activity

  1. added
    Daily
    Bug
    on Oct 1, 2026
  2. applause-bot commented on Oct 1, 2026

    @applause-bot
    Author

    While Applause doesn't embed attachments for this bug, here are the links for quick view:
    https://platform.applause.com/services/links/v1/external/cad7fb7dc4e3f6f5eac545096c621ff377b80bc9bc12dcc485d64e7839a439de

  3. MelvinBot commented on Oct 1, 2026

    @MelvinBot
    Contributor

    Issue Analysis

    Root Cause: The App shows the correct "Waiting … to pay" step optimistically. The server's ApproveMoneyRequest response then replaces it with "No further action required!". This appears to be a backend/internal issue. A separate internal investigation is needed.

    Recommended Fix: No App change is recommended. The fix needs changes outside the App repo, so please escalate to an internal engineer with backend access.

    Investigation details

    What the App does on Approve

    • After the final approval, the App builds the next step in src/libs/NextStepUtils.ts:287-300. It returns "No further action" only for invoices, a $0 reimbursable total, or reimbursementChoice === reimburseNo. Otherwise it returns WAITING_TO_PAY.
    • A new Collect workspace gets reimbursementChoice: reimburseYes optimistically, so the App picks WAITING_TO_PAY. This matches the expected result.
    • The successData in src/libs/actions/IOU/ReportWorkflow.ts:642-655 only clears pendingFields.nextStep. It never writes a new nextStep. The switch to "No further action" must therefore come from the server's response data.
    • The header reads report.nextStep through getReportNextStep in src/libs/NextStepUtils.ts:326-370. The only client-side override is "approved with a $0 reimbursable total", which doesn't apply to a normal expense.

    History

    Not verified

    • I couldn't read the ApproveMoneyRequest response payload or production logs, so the server-side cause is unconfirmed.
    • To confirm, check the response's report.nextStep, the report's reimbursableTotal, and the workspace's stored reimbursementChoice.

    Next Steps: Reply with @MelvinBot <your feedback> to refine this analysis.


    view run

  4. added
    External
    on Oct 1, 2026
  5. melvin-bot commented on Oct 1, 2026

    @melvin-bot

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

  6. changed the title [-]Auto-Collect Approver- No further action required! is displayed after admin approve[/-] [+][$175] Auto-Collect Approver- No further action required! is displayed after admin approve[/+] on Oct 1, 2026
  7. melvin-bot commented on Oct 1, 2026

    @melvin-bot
  8. jawad-erfani commented on Oct 1, 2026

    @jawad-erfani

    @Ollyws, as I checked, this issue appears to be a backend issue.

    The report is approved and still reimbursable:

    • statusNum: 3 — approved
    • reimbursableTotal: -3200
    • unheldTotal: -3200
    • The transaction is marked reimbursable: true
    • reimbursementChoice: reimburseManual

    However, the backend sends:

    {
      "nextStep": {
        "messageKey": "noFurtherAction",
        "icon": "checkmark"
      }
    }

    For this report, the response should indicate waitingToPay. The frontend does not send or calculate this value after the approval request; it receives nextStep from the backend and displays it. Therefore, the backend is returning an incorrect next-step value for an approved, reimbursable report with manual reimbursement enabled.

  9. camesenin commented on Oct 1, 2026

    @camesenin
  10. camesenin commented on Oct 1, 2026

    @camesenin
  11. camesenin commented on Oct 1, 2026

    @camesenin
  12. camesenin commented on Oct 1, 2026

    @camesenin
  13. 33 remaining items

  14. added
    Awaiting Payment
    on Oct 27, 2026
  15. melvin-bot commented on Nov 2, 2026

    @melvin-bot

    Triggered auto assignment to @mallenexpensify (Awaiting Payment)

  16. melvin-bot commented on Nov 2, 2026

    @melvin-bot

    Payment Summary

    Resolving PRs:

    BugZero Checklist (@mallenexpensify)

    • I have confirmed assignees, roles, and Upwork contracts look correct
    • I have paid out Upwork contracts / manual NewDot requests
    • [BugZero Assignee] I have created a GH issue for creating/updating the regression test once above steps have been agreed upon
  17. Ollyws commented on Nov 5, 2026

    @Ollyws
    Contributor

    Contributor+ Checklist:

    • [Contributor] The offending PR and associated issue have been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.

      Link to the comment on the PR: N/A, was caused by backend change
      Link to the comment on the Issue:

    • [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:

    • [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 Template. Needed for all bugs AND new features

    Regression Test Proposal

    Precondition:

    • Account A is admin, create new collect workspace and invite Account B as employee

    Test:

    1. Open https://staging.new.expensify.com/
    2. As account B, create an expense and submit
    3. As account A, open the created expense by account B
    4. As account A, click 'Approve' button
    5. Verify the report changes from "Waiting for you to approve expenses." to "No further action required" without flashing "Waiting for you to pay expenses"
    

    Do we agree 👍 or 👎

  18. melvin-bot commented on Nov 5, 2026

    @melvin-bot

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

  19. mallenexpensify commented on Nov 6, 2026

    @mallenexpensify
    Contributor

    Payment Summary

    Contributor+: @Ollyws due $175 via NewDot

  20. flaviadefaria commented on Nov 9, 2026

    @flaviadefaria
    Contributor

    Approved: @Ollyws due $175 via NewDot

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