App icon indicating copy to clipboard operation
App copied to clipboard

[HOLD for payment 2021-10-22] When I try to access the "Payments" page, I get stuck on a white screen

Open michaelhaxhiu opened this issue 5 years ago • 14 comments

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:

  • Open New Expensify
  • Go to Settings (your avatar) > Payments
  • Get stuck on a white screen

This white screen never clears:

image

Expected Result:

I should be able to access the Payments page on New Expensify (app or website)

Actual Result:

When I try to access the Payments page, I get stuck on a white screen.

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround? Not able to access the Payments page.

Platform:

All

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: v1.1.3-1 Reproducible in staging?: Yes Reproducible in production?: Yes Logs: https://stackoverflow.com/c/expensify/questions/4856 Issue reported by: mhaxhiu Slack conversation: n/a

View all open jobs on GitHub

michaelhaxhiu avatar Sep 30 '21 14:09 michaelhaxhiu

Triggered auto assignment to @laurenreidexpensify (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

MelvinBot avatar Sep 30 '21 14:09 MelvinBot

Ha caught me as I was just looking at my dailies. Okay so I can't replicate this in web - am I missing something in your steps?

2021-09-30_16-00-16

laurenreidexpensify avatar Sep 30 '21 15:09 laurenreidexpensify

Hmm I didn't do anything special on my side, it's reproducible every time for me.

michaelhaxhiu avatar Sep 30 '21 15:09 michaelhaxhiu

Hmmm I can't repro this on Android. Gonna ask in open-source.

laurenreidexpensify avatar Oct 01 '21 12:10 laurenreidexpensify

This issue is caused by the below line, but additionalData.bankName is expected here in bankAccount but seems not available here. cc: @stitesExpensify https://github.com/Expensify/App/blob/fa7cb605574f1ddd147615eb070d828985dfc20a/src/pages/settings/Payments/PaymentMethodList.js#L90

We can modify above line as shown below, to fix this issue.

const {icon, iconSize} = getBankIcon(_.get(bankAccount, 'additionalData.bankName', ''));

Santhosh-Sellavel avatar Oct 01 '21 16:10 Santhosh-Sellavel

Seems like a fine solution to me @Santhosh-Sellavel. @laurenreidexpensify want to make a job and hire him? Nice quick one line fix :smile:

stitesExpensify avatar Oct 01 '21 20:10 stitesExpensify

@stitesExpensify can you add the external label pls? thanks

laurenreidexpensify avatar Oct 04 '21 12:10 laurenreidexpensify

Added!

stitesExpensify avatar Oct 04 '21 17:10 stitesExpensify

@stitesExpensify Can I open up a PR for this?

Santhosh-Sellavel avatar Oct 04 '21 17:10 Santhosh-Sellavel

Let's wait until you are hired on upwork, just to make sure you get paid when it's merged :)

stitesExpensify avatar Oct 04 '21 17:10 stitesExpensify

@Santhosh-Sellavel issue is here on UPwork https://www.upwork.com/jobs/~0120784484db15f0d0 if you want to apply, I'll hire you tomorrow

laurenreidexpensify avatar Oct 05 '21 16:10 laurenreidexpensify

Triggered auto assignment to @Jag96 (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

MelvinBot avatar Oct 05 '21 16:10 MelvinBot

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.1.7-24 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

  • https://github.com/Expensify/App/pulls/5663

If no regressions arise, payment will be issued on 2021-10-22. :confetti_ball:

botify avatar Oct 15 '21 05:10 botify

Paid @Santhosh-Sellavel 🎉 thanks

laurenreidexpensify avatar Oct 22 '21 07:10 laurenreidexpensify