Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[$250] [HOLD for payment 2024-12-09] [HOLD for payment 2024-12-07] Search - Pay button from the dropdown does nothing when trying to pay without bank account #53292

Closed
8 tasks done
IuliiaHerets opened this issue Nov 28, 2024 · 23 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Nov 28, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 9.0.68-2
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause Internal Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Create a new workspace (do not set up bank account).
  3. Go to workspace chat.
  4. Submit an expense.
  5. Click on the down caret button on the expense preview in the workspace chat.
  6. Select Pay with Expensify.
  7. Go to Search.
  8. Click Pay on the expense item.
  9. Note that it opens expense details RHP.
  10. Close the RHP.
  11. Select the same expense via checkbox.
  12. Click on the dropdown.
  13. Click Pay.

Expected Result:

Expense detalis RHP will open since the expense cannot be paid directly because bank account is not set up.

Actual Result:

Clicking Pay from the dropdown list does not do anything except that the Pay button loads and reverts to the initial state.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6679507_1732827808993.20241129_045736.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021866077420608244096
  • Upwork Job ID: 1866077420608244096
  • Last Price Increase: 2024-12-09
@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Nov 28, 2024
Copy link

melvin-bot bot commented Nov 28, 2024

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

Copy link

melvin-bot bot commented Nov 28, 2024

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

Copy link

melvin-bot bot commented Nov 28, 2024

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

@melvin-bot melvin-bot bot added the Daily KSv2 label Nov 28, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Nov 28, 2024
Copy link
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.

@neonbhai

This comment was marked as resolved.

@aldo-expensify
Copy link
Contributor

aldo-expensify commented Nov 29, 2024

Seems like the backend is returning an error:

{
    "onyxData": [
        {
            "key": "snapshot_243428839",
            "onyxMethod": "merge",
            "value": {
                "data": {
                    "report_8794135360699161": {
                        "hasError": true
                    }
                }
            }
        }
    ],
    "httpCode": 200,
    "jsonCode": 200,
    "authResponseMessage": "200 OK",
    "requestID": "8e9e95da7b892d84-YVR"
}

paymentData's amount looks wrong:

paymentData: [{"reportID":"8794135360699161","amount":0,"paymentType":"ACH"}]

The logs don't appear to show any error:

https://www.expensify.com/_devportal/tools/logSearch/#query=request_id:(%228e9e95da7b892d84-YVR%22)+AND+timestamp:[2024-11-28T23:47:15.649Z+TO+2024-11-29T01:47:15.649Z]&index=logs_expensify-031418

In production the Pay button simply doesn't appear:

image

Maybe the bug is that the button appears in staging when it shouldn't?

@aldo-expensify
Copy link
Contributor

aldo-expensify commented Nov 29, 2024

This can be time consuming to test because the Search view keeps getting stuck "loading" even if the Search request already returned 200:

image

(This is a new account, so there isn't much data on it)

@aldo-expensify
Copy link
Contributor

@luacmartins @lakchote I think you may be more familiar with this feature, do you know if the Pay button should show in the dropdown when you select Pay in Expensify but you don't have a bank account?

@aldo-expensify
Copy link
Contributor

This is a new feature introduced in this Pr: https://github.com/Expensify/App/pull/51913/files

@lakchote
Copy link
Contributor

Taking the lead on this one to fix the blocker

@lakchote
Copy link
Contributor

@luacmartins @lakchote I think you may be more familiar with this feature, do you know if the Pay button should show in the dropdown when you select Pay in Expensify but you don't have a bank account?

Answered in Slack here

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Nov 29, 2024
@mountiny mountiny removed the DeployBlockerCash This issue or pull request should block deployment label Nov 29, 2024
@shubham1206agra
Copy link
Contributor

@lakchote Please assign me the issue

@melvin-bot melvin-bot bot removed the Weekly KSv2 label Nov 30, 2024
@melvin-bot melvin-bot bot added the Awaiting Payment Auto-added when associated PR is deployed to production label Nov 30, 2024
@melvin-bot melvin-bot bot changed the title Search - Pay button from the dropdown does nothing when trying to pay without bank account [HOLD for payment 2024-12-07] Search - Pay button from the dropdown does nothing when trying to pay without bank account Nov 30, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 30, 2024
Copy link

melvin-bot bot commented Nov 30, 2024

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

Copy link

melvin-bot bot commented Nov 30, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.68-7 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 2024-12-07. 🎊

Copy link

melvin-bot bot commented Nov 30, 2024

@lakchote @garrettmknight @lakchote 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]

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Dec 2, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-12-07] Search - Pay button from the dropdown does nothing when trying to pay without bank account [HOLD for payment 2024-12-09] [HOLD for payment 2024-12-07] Search - Pay button from the dropdown does nothing when trying to pay without bank account Dec 2, 2024
Copy link

melvin-bot bot commented Dec 2, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.69-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 2024-12-09. 🎊

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

Copy link

melvin-bot bot commented Dec 2, 2024

@shubham1206agra @garrettmknight @shubham1206agra 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]

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Dec 7, 2024
Copy link

melvin-bot bot commented Dec 9, 2024

Payment Summary

Upwork Job

BugZero Checklist (@garrettmknight)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@melvin-bot melvin-bot bot added the Overdue label Dec 9, 2024
@garrettmknight garrettmknight added External Added to denote the issue can be worked on by a contributor and removed Awaiting Payment Auto-added when associated PR is deployed to production labels Dec 9, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-12-09] [HOLD for payment 2024-12-07] Search - Pay button from the dropdown does nothing when trying to pay without bank account [$250] [HOLD for payment 2024-12-09] [HOLD for payment 2024-12-07] Search - Pay button from the dropdown does nothing when trying to pay without bank account Dec 9, 2024
Copy link

melvin-bot bot commented Dec 9, 2024

Job added to Upwork: https://www.upwork.com/jobs/~021866077420608244096

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 9, 2024
Copy link

melvin-bot bot commented Dec 9, 2024

Current assignee @shubham1206agra is eligible for the External assigner, not assigning anyone new.

@garrettmknight garrettmknight added Awaiting Payment Auto-added when associated PR is deployed to production and removed External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors labels Dec 9, 2024
@garrettmknight
Copy link
Contributor

@shubham1206agra offer is out to you.

@melvin-bot melvin-bot bot removed the Overdue label Dec 9, 2024
@shubham1206agra
Copy link
Contributor

@garrettmknight Offer accepted

@garrettmknight
Copy link
Contributor

Cool, paid and closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering
Projects
None yet
Development

No branches or pull requests

7 participants