Skip to content
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

[CP Staging] Revert "Fix pay someone flow for unvalidated accounts" #52469

Closed
wants to merge 1 commit into from

Conversation

mountiny
Copy link
Contributor

@mountiny mountiny commented Nov 13, 2024

Straight Reverts #50835

cc @arosiclair

Details

Fixes the pay someone flow when attempting to validate the account. When there is a Onyx update gap detected after calling ValidateLogin, we use the new authToken in the response before attempting to fetch missing updates since the current authToken is invalidated.

Fixed Issues

$ #52454
$ #52456
$ #52455
$ #52453

Tests

Confirm the linked blockers are no longer reproducible

Offline tests

None

QA Steps

Same as Tests

@mountiny mountiny self-assigned this Nov 13, 2024
@mountiny mountiny marked this pull request as ready for review November 13, 2024 12:37
@mountiny mountiny requested a review from a team as a code owner November 13, 2024 12:37
@melvin-bot melvin-bot bot requested review from allroundexperts and youssef-lr and removed request for a team November 13, 2024 12:37
Copy link

melvin-bot bot commented Nov 13, 2024

@allroundexperts @youssef-lr One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@lakchote
Copy link
Contributor

It fixes correctly the issue #52454

Screen.Recording.2024-11-13.at.13.42.21.mov

Copy link
Contributor

@sobitneupane sobitneupane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#52454

Screen.Recording.2024-11-13.at.18.24.26.mov

#52453 : Reverts back to the condition where user is logged out.

Screen.Recording.2024-11-13.at.18.29.40.mov

#52456 and #52455

I can still reproduce these issues with slightly different steps:

  1. Go to https://staging.new.expensify.com/ and log in with a new account
  2. Select Something else on the onboarding modal
  3. Click on FAB > Start chat and enter an email of another user
  4. In 1:1 chat click on + > Pay someone
  5. Enter the amount and proceed to the next step
  6. Select Pay with Expensify
  7. Go offline
  8. Go online
Screen.Recording.2024-11-13.at.18.37.55.mov

@sobitneupane
Copy link
Contributor

@mountiny It fixes #52454 But I can still reproduce #52456 and #52455

More details #52469 (review)

@mountiny
Copy link
Contributor Author

We went ahead with demoting nd fixing the one real blocker

@mountiny mountiny closed this Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants