Skip to content

[Due for payment 2025-05-08] [Due for payment 2025-04-18] Expense - Empty space instead of "Pay" button on expense preview after payment is cancelled #59927

Closed

Description

@nlemma

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.25-0
Reproducible in staging?: Yes
Reproducible in production?: N/A
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): ibellicotest+536@gmail.com
Issue reported by: Applause Internal Team
Device used: Motorola MotoG60 - Android 12 - Chrome
App Component: Money Requests

Action Performed:

  1. Open the staging.new.expensify.com website.
  2. Open any workspace chat.
  3. Tap on "+" button and select "Create Expense"
  4. Complete the creation flow and submit the expense.
  5. Once redirected to chat, tap on dropdown menu on "Pay" button on expense preview and select "Pay Elsewhere"
  6. Pay the expense elsewhere and note that "Pay" button becomes "View"
  7. Open the expense report.
  8. Tap on "More"
  9. Cancel the payment.
  10. Return to conversation using device´s back button.
  11. Note that an empty space is now displayed instead of "Pay Elsewhere" button.

Expected Result:

"Pay Elsewhere" button should reappear on expense preview after the payment is cancelled.

Actual Result:

Empty space is displayed on expense preview instead of "Pay Elsewhere" button after the payment is cancelled on expense report and the user returns to chat using device´s back button. "View" button disappears, but "Pay Elsewhere" button doesn´t reappear after that.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6797057_1744206092045.Device_s.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @adelekennedy

Activity

  1. added
    Bug
    Daily
    DeployBlockerCash
    on Apr 9, 2025
  2. melvin-bot commented on Apr 9, 2025

    @melvin-bot

    Triggered auto assignment to @tgolen (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  3. melvin-bot commented on Apr 9, 2025

    @melvin-bot

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

  4. melvin-bot commented on Apr 9, 2025

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  5. github-actions commented on Apr 9, 2025

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  6. nlemma commented on Apr 9, 2025

    @nlemma
    Author

    @adelekennedy FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

  7. tgolen commented on Apr 9, 2025

    @tgolen
    Contributor

    Looks like this should get fixed when #59931 is reverted so I am attaching this issue to that PR.

  8. added
    Reviewing
    on Apr 9, 2025
  9. 34 remaining items

  10. changed the title [-][Due for payment 2025-04-18] Expense - Empty space instead of "Pay" button on expense preview after payment is cancelled[/-] [+][Due for payment 2025-05-08] [Due for payment 2025-04-18] Expense - Empty space instead of "Pay" button on expense preview after payment is cancelled[/+] on May 1, 2025
  11. melvin-bot commented on May 1, 2025

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  12. removed
    Reviewing
    on May 1, 2025
  13. melvin-bot commented on May 1, 2025

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.38-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2025-05-08. 🎊

    For reference, here are some details about the assignees on this issue:

    • @borys3kk does not require payment (Contractor)
    • @jnowakow does not require payment (Contractor)
  14. melvin-bot commented on May 1, 2025

    @melvin-bot

    @tgolen / @luacmartins @adelekennedy @borys3kk / @jnowakow The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

  15. melvin-bot commented on May 8, 2025

    @melvin-bot

    Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.

  16. adelekennedy commented on May 9, 2025

    @adelekennedy
    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:

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

  17. sobitneupane commented on May 14, 2025

    @sobitneupane
    Contributor

    @adelekennedy I reviewed the associated PR. Could you please assign me the issue and share a payment summary?

  18. sobitneupane commented on May 20, 2025

    @sobitneupane
    Contributor
  19. adelekennedy commented on May 20, 2025

    @adelekennedy
    Contributor

    sorry @sobitneupane! Yes - let me add you here and add a payment summary

  20. adelekennedy commented on May 20, 2025

    @adelekennedy
    Contributor

    Payment Summary

    Contributor+: @sobitneupane due $250 via NewDot

  21. laurenreidexpensify commented on Aug 7, 2025

    @laurenreidexpensify
    Contributor

    $250 approved in New Expensify for @sobitneupane

  22. trjExpensify commented on Aug 14, 2025

    @trjExpensify
    Contributor

    $250 approved in NewDot for @sobitneupane.

    (We changed approvers so this bounced to me!)

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

Metadata

Metadata

Labels

Awaiting PaymentBugEngineeringWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions