-
Notifications
You must be signed in to change notification settings - Fork 3k
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
P2P Enable adding deposit account as payment method #6638
Conversation
Refactor Add Payment method menu and link to add personal bank account flow. fix password requirement on plaid modal. Rm console.log Only add ability to add deposit account for now require password param add password requirement back to plaid form but make it optional add some loading spinner polish
5080dfd
to
9aa0509
Compare
Putting this into reviews while I continue to test on other platforms. |
This is probably not a blocker, but one interesting / weird thing discovered while testing is that on Android (but not any other platform) the plaid payments list shows "Wells Fargo" and the correct icon is not displayed. :lolwut: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and straight-forward. Would love to get another review though, still ramping up on App issues
Sounds good, thanks @ctkochan22. Re-rolling with PullerBear to get another set of eyes. 🙇 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, shouldn't interfere with my projects. Leaving it to @nickmurray47 for final review
PaymentMethods.getPaymentMethods() | ||
.then(() => { | ||
Navigation.goBack(); | ||
Onyx.merge(ONYXKEYS.REIMBURSEMENT_ACCOUNT, {loading: false}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want success growls here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dang yea that would probably be a nice touch. It's pretty strange that we just kick you back to the payments page now that I think about it. But it works for now.
Onyx.merge(ONYXKEYS.REIMBURSEMENT_ACCOUNT, {loading: false}); | ||
}) | ||
.catch(() => { | ||
Onyx.merge(ONYXKEYS.REIMBURSEMENT_ACCOUNT, {loading: false}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failure growl here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gave it a look and also looks pretty good to me!
isVisible: PropTypes.bool.isRequired, | ||
onClose: PropTypes.func.isRequired, | ||
anchorPosition: PropTypes.shape({ | ||
top: PropTypes.number, | ||
left: PropTypes.number, | ||
}), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nab: prop-type doc
🚀 Deployed to staging by @yuwenmemon in version: 1.1.18-6 🚀
|
🚀 Deployed to production by @Julesssss in version: 1.1.21-1 🚀
|
cc @stitesExpensify @nickmurray47 if you guys want to also take a look to make sure this will line up with any active changes for "Send Money" and "Payment Methods".
Details
Adds the ability to set up a personal bank account via the payments page
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/187883
Tests / QA Steps
expensify.com
site asnew.expensify.com
does not yet allow removing payment methods).Settings > Payments > Add payment method
and select "Bank account"Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
![2021-12-08_09-02-07](https://user-images.githubusercontent.com/32969087/145268238-5ddf2a88-1492-4ae2-9969-ec
320b4beb64.png)
Android