Skip to content

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

Closed
mountiny wants to merge 1 commit into
mainfrom
revert-50835-arosiclair-in-product-validation
Closed

[CP Staging] Revert "Fix pay someone flow for unvalidated accounts"#52469
mountiny wants to merge 1 commit into
mainfrom
revert-50835-arosiclair-in-product-validation

Conversation

@mountiny

@mountiny mountiny commented Nov 13, 2024

Copy link
Copy Markdown
Contributor

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
@melvin-bot

melvin-bot Bot commented Nov 13, 2024

Copy link
Copy Markdown

@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
Copy Markdown
Contributor

It fixes correctly the issue #52454

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

@sobitneupane sobitneupane left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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

More details #52469 (review)

@mountiny

Copy link
Copy Markdown
Contributor Author

We went ahead with demoting nd fixing the one real blocker

@mountiny mountiny closed this Nov 15, 2024
@coleaeason
coleaeason deleted the revert-50835-arosiclair-in-product-validation branch May 19, 2026 19:53
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