Add default/delete popover and supporting methods#4437
Conversation
…tites-setDefaultAndDelete2
|
Looks great, thanks! |
e11c3d3
| } | ||
|
|
||
| function deletePayPalMe() { | ||
| NameValuePair.set(CONST.NVP.PAYPAL_ME_ADDRESS, ''); |
There was a problem hiding this comment.
What happens if this fails? We don't catch it like other cases? Maybe I am missing that part when following the flow
There was a problem hiding this comment.
It looks like it would just fail. I will make a new issue to fix that as it looks like we don't return the call in NVP.set so none of our calls to that method have a failure case.
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by @marcaaron in version: 1.1.30-4 🚀
|
|
@Julesssss @stitesExpensify @pecanoro @shawnborton How do we get Gold account? What is the way to enable different account wallet types ? |
|
@kevinksullivan can we get applause a gold wallet? Or should this be internal QA? |
|
@stitesExpensify If you think in future we may need to validate different accounts on regular bases, we need to have QA access to such accounts somehow. If this is a one time test, you can validate internally if its faster |
|
@stitesExpensify Let's go to internal QA for now. We will need to allow for some test creds to go through KYC once the Wallet is live and we want to test that flow, but I don't think that's worth developing prior before getting it on prod with our own QA first. |
|
Cool, I'll test it this morning |
We will probably want to test this type of PR at some point, but for now it's under a beta :) |
|
QA passed |
|
🚀 Deployed to production by @chiragsalian in version: 1.1.31-1 🚀
|
|
Hi there, I think this resulted in a bug issue #14524 where the "Make Default" and "Delete" popups were not being dismissed if another session deleted the same selected Payment Method. Pretty sure this is a detail we missed as I didn't find any mention of it in the Design Doc. |



Details
Adding the ability to set a default wallet account, and delete payment methods. The default functionality is hidden behind the wallet beta.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/169126
Tests
QA Steps
add payment methodbutton on thepaymentspageadd payment methodbutton on thepaymentspageTested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android