[IOU] Users are able to send payment requests and split bills with Concierge
See original GitHub issueIf you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Platform - version:
All platforms - v1.0.37-0
How to enable the Request Money
or Spilt Bills
flow
As the feature is currently behind a beta, you must perform the following change to reproduce the issue. Either navigate to Permissions.js, comment out this line and return true – or apply this diff.txt with git apply path/to/diff.txt
Action Performed (reproducible steps): 0. Read the above section to ensure that the beta feature is available to you
- Click the
+
icon on global create and selectRequest Money
orSpilt Bills
- Enter an amount and click
Next
- Search for concierge@expensify.com
- Observe that Concierge is listed as a participant and available to send a payment request to
- Now navigate to the Concierge DM and click the
+
icon within the DM - Observe that
Request Money
is an available option in the CreateMenu along withAdd Attachment
Expected Result:
- Concierge should not be an available participant to select on the IOUParticipants page via the
Request Money
orSplit Bills
flows. Request Money
should not be an available option in the CreateMenu when launched from within the Concierge DM
Actual Result:
- Users can select Concierge as a participant
- Users can launch the
Request Money
flow from within the Concierge DM
Notes/Photos/Videos:
Expensify/Expensify Issue URL: https://github.com/Expensify/Expensify/issues/162867 Upwork Job URL: https://www.upwork.com/jobs/~010daa7b8e343f79e4
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:16 (15 by maintainers)
Top GitHub Comments
That’s right! I missed that we skip participant selection if IOU modal is launched within a chat. In addition to my proposal, we can do the following steps;
createIOUTransaction
andcreateIOUSplit
if concierge is somehow passed as a participant, so these requests do not reach to the server even if something is broken on the front end. If you can fix the server side, this step may not be necessary. https://github.com/Expensify/Expensify.cash/blob/7d0987a4d0f96f200005219424ed2b05bf8c88e9/src/libs/actions/IOU.js#L63Thanks for reverting the PR to resolve the issue, I will send a new PR with including the fix to the regression.