Skip to content

@W-20510422: [1cc] [Bug] Mismatch Between OTP Modal Text and Number of Code Boxes#3521

Merged
dannyphan2000 merged 1 commit intofeature/1cc_paymentsfrom
dannyphan2000.W-20510422.otp-length-text-fix
Dec 16, 2025
Merged

@W-20510422: [1cc] [Bug] Mismatch Between OTP Modal Text and Number of Code Boxes#3521
dannyphan2000 merged 1 commit intofeature/1cc_paymentsfrom
dannyphan2000.W-20510422.otp-length-text-fix

Conversation

@dannyphan2000
Copy link
Contributor

The instructional modal text prompts the user to enter a 8-digit code and there are 8 boxes to enter the code.

Description

Steps: Checkout as a new/guest user and select Create an account to check out faster. The Create an account modal appears. The modal text says "...To create your account and proceed to checkout, enter the 6-digit code below." but there are 8 boxes to enter a code.

Result: Mismatch between instructional modal text and action the user needs to take
The instructional modal text prompts the user to enter a 6-digit code and there are 6 boxes to enter the code.

Expected: 8-digit code instead.

Types of Changes

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Documentation update
  • Breaking change (could cause existing functionality to not work as expected)
  • Other changes (non-breaking changes that does not fit any of the above)

Breaking changes include:

  • Removing a public function or component or prop
  • Adding a required argument to a function
  • Changing the data type of a function parameter or return value
  • Adding a new peer dependency to package.json

Changes

  • (change1)

How to Test-Drive This PR

  • (step1)

Checklists

General

  • Changes are covered by test cases
  • CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance

You must check off all items in one of the follow two lists:

  • There are no changes to UI

or...

Localization

  • Changes include a UI text update in the Retail React App (which requires translation)

Signed-off-by: d.phan <d.phan@salesforce.com>
@dannyphan2000 dannyphan2000 requested a review from a team as a code owner December 16, 2025 16:12
@cc-prodsec
Copy link
Collaborator

cc-prodsec commented Dec 16, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@dannyphan2000 dannyphan2000 merged commit 2d8bc52 into feature/1cc_payments Dec 16, 2025
11 of 16 checks passed
@dannyphan2000 dannyphan2000 deleted the dannyphan2000.W-20510422.otp-length-text-fix branch December 16, 2025 16:16
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