Skip to content

[HOLD for payment 2022-11-02] [$250] Unable to enter valid name on enable payments page #10240

Closed

Description

@mvtglobally

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. The account already has a bank account added.
  2. Hit green plus button
  3. Send money
  4. Enter amount
  5. Enter email
  6. Pay with Expensify
  7. Fill out additional details and hit Save & continue

Expected Result:

Form submits without error

Actual Result:

Please enter valid first / last name errors appear

Workaround:

unknown

Platform:

Where is this issue occurring?

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

Version Number: 1.1.86-5
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
image - 2022-08-03T233756 873

Expensify/Expensify Issue URL:
Issue reported by: @neil-marcellini
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1659562084924539

View all open jobs on GitHub

Activity

  1. melvin-bot commented on Aug 4, 2022

    @melvin-bot

    Triggered auto assignment to @iwiznia (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  2. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Aug 8, 2022
  3. melvin-bot commented on Aug 8, 2022

    @melvin-bot

    Triggered auto assignment to @dylanexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

  4. removed their assignment
    on Aug 8, 2022
  5. iwiznia commented on Aug 8, 2022

    @iwiznia
    Contributor

    This is weird, isn't this flow tested in QA @mvtglobally?

  6. thesahindia commented on Aug 9, 2022

    @thesahindia
    Member

    Proposal

    This only happens when the first, last name gets added from the personal details.

    const {firstName, lastName} = PersonalDetails.extractFirstAndLastNameFromAvailableDetails(this.props.currentUserPersonalDetails);

    value={this.props.walletAdditionalDetailsDraft.legalFirstName || firstName}

    In validation we are only checking if walletAdditionalDetailsDraft.legalFirstName walletAdditionalDetailsDraft.legalLastName is empty or not, so if the first name/last name is pre-filled, we will see the error because the walletAdditionalDetailsDraft.legalFirstName/legalLastName will be empty

    To fix this we can update the details directly on the first render and we can remove the firstName from line 298 (same for lastName) This will also fix another issue here

        componentDidMount() {
            const {firstName, lastName} = PersonalDetails.extractFirstAndLastNameFromAvailableDetails(this.props.currentUserPersonalDetails);
            Wallet.updateAdditionalDetailsDraft({legalFirstName: firstName, legalLastName: lastName});
        }
  7. mvtglobally commented on Aug 10, 2022

    @mvtglobally
    Author

    @iwiznia we are blocked currently from wallet and bank validation on NewDot due to PROD KYC wall. This flow is not QAed E2E. (KI 10084)

  8. 44 remaining items

  9. dylanexpensify commented on Nov 2, 2022

    @dylanexpensify
    Contributor
  10. added
    ExternalAdded to denote the issue can be worked on by a contributor
    and removed
    ExternalAdded to denote the issue can be worked on by a contributor
    on Nov 2, 2022
  11. melvin-bot commented on Nov 2, 2022

    @melvin-bot

    Current assignee @dylanexpensify is eligible for the External assigner, not assigning anyone new.

  12. melvin-bot commented on Nov 2, 2022

    @melvin-bot

    Current assignees @rushatgabhane and @thesahindia are eligible for the External assigner, not assigning anyone new.

  13. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Nov 2, 2022
  14. melvin-bot commented on Nov 2, 2022

    @melvin-bot

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

  15. thesahindia commented on Nov 2, 2022

    @thesahindia
    Member

    Applied!

  16. dylanexpensify commented on Nov 3, 2022

    @dylanexpensify
    Contributor
  17. rushatgabhane commented on Nov 3, 2022

    @rushatgabhane
    Member
  18. dylanexpensify commented on Nov 4, 2022

    @dylanexpensify
    Contributor

    @rushatgabhane offer sent!

  19. dylanexpensify commented on Nov 4, 2022

    @dylanexpensify
    Contributor

    payments sent, role closed, contracts ended, thanks yall!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsReviewingHas a PR in review

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions