-
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
Unable to delete/remove my Paypal.me username - Reported by @mananjadhav #6944
Comments
Triggered auto assignment to @nkuoch ( |
Triggered auto assignment to @jliexpensify ( |
Hi @nkuoch - just confirming: are we getting a Contributor to take care of it? Does an Upworks job need to be created? |
Proposed Solution: While the solution is to just add a length check in
I feel we should show some kind of feedback to let user know that the Papyal.me username will be unset.
cc - @nkuoch |
@jliexpensify Yes, I tagged it external so it can be worked on by a contributor via Upworks. @mananjadhav Hmmm ... I'll let @shawnborton gives his opinion on it. |
I don't think we need to do anything crazy here. Maybe once the empty input is saved, we can just show a quick growl that says "PayPal.me username has been removed" or something like that? |
I agree with Shawn if we want to go this path then we can just show an alert. Another approach would be to show a delete button to remove the PayPal account instead of leaving this to the user as he would have to guess or find out that clearing the input will remove his PayPal account.
this won't be user-friendly. |
@parasharrajat +1 for Delete button. |
Posted! Internal - https://www.upwork.com/ab/applicants/1478215885127532544/job-details @nkuoch - done! No need to remove the Contributor Manager (i.e. me) next time: they can stay assigned to the issue for the duration of it. I'll update the Upworks job name and GH issue once @shawnborton weighs in with the button vs growl debate. |
I don't think we need a delete button. I think it will be obvious for the user that if they clear that input, they are removing their PayPal.me login. They are essentially taking voluntary action to remove their own username, so I think that will be good enough. |
Okay I’ll update the proposal. |
Updated Proposal Extending the proposal from #6944 (comment).
App/src/pages/settings/Payments/AddPayPalMePage.js Lines 63 to 70 in 691dda2
For the
|
This is not yet exported but I guess it is going to be so I am reviewing the proposal.
Adding isEmpty check to isValid could be confusing for someone looking at the code. I think it is better to divide those into two variables. What do you think?
didn't get this... is this the correct condition? Also, as a small piece of advice, It is always best to add links to code. It speeds up the proposal review process and makes things clear from the developer's perspective. It could save us some Q&A. |
Sure can do. Can keep App/src/pages/settings/Payments/AddPayPalMePage.js Lines 63 to 64 in 691dda2
Sorry yeah, you're right. I was supposed to add |
Sorry late here, earlier the implementation was like to remove paypal when we save empty but there was a wrong growl message shown earlier, I raised an issue for this #5399. @stitesExpensify comment here> That comment was
So I think it is better to check with @stitesExpensify before proceeding further. |
👋 I agree with @Santhosh-Sellavel (and past me 😄). I don't think we need to do anything here. Default/Delete will fix this issue very soon ™️ |
@stitesExpensify - Are you happy for me to close the Upworks job? Also does @mananjadhav get a bonus for reporting? |
Yes, I think that the upwork job can be closed. WRT payment, since there isn't an exact issue for deleting payment methods on /app (it's only on /expensify) we should pay for the reporting. I'll create a new issue to prevent any future confusion. |
Thanks for confirming @stitesExpensify . Will close Upworks issue once @mananjadhav accepts my invite so I can pay a $250 bonus for reporting. |
Done @jliexpensify |
Paid and closed job! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
User should have an option to delete PayPal account
Actual Result:
User has no option to delete PayPal account
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.23-0
![Screen Shot 2021-12-29 at 4 06 13 PM](https://user-images.githubusercontent.com/43995119/147703420-227e04e2-539a-4054-b51e-70e78db8f1bd.png)
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @mananjadhav
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1640701527159200
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: