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

Update the Credit and Debit radio button label in checkout #9660

Open
pierorocca opened this issue Oct 31, 2024 · 0 comments
Open

Update the Credit and Debit radio button label in checkout #9660

pierorocca opened this issue Oct 31, 2024 · 0 comments
Labels
focus: checkout payments priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. type: enhancement The issue is a request for an enhancement.

Comments

@pierorocca
Copy link
Contributor

pierorocca commented Oct 31, 2024

Description

In #9625 (comment) @frosso points out that on mobile sized viewports, e.g. 375px wide, the Test badge wraps.

While this is not overly problematic, making choices that are mobile friendly particularly space efficiency, is an important principle to follow. The two options considered were:

  1. "Credit / debit card" - this aligns with the latest copy in the merchant settings UI.
  2. "Cards" - this was suggested by Daniel in design as the most space efficient option.

Option 2 is the most compelling as it's the most space efficient and opens up room for the new responsive logos seen in v2 and that we'll implement in v1 once Stripe unblocks us. The generic card icon present is temporary and will be replaced by the end of 2024. Cards + card brand logos, currently in the card number field and later will be moved to the radio button, is more than sufficient to let the user know the payment method type.

Acceptance criteria

  1. The Card component radio button label on shortcode and blocks checkout is "Cards".

  2. Decouple (if it really is coupled) and update the settings UI text to "Credit / Debit Cards". This should be plural since it's titling the category consisting of many card brands and types vs. a user entering a single card in checkout where the singular form made sense. Also it looks a bit odd that "card" is the only word in the entire list of payment methods that's lower case. I know normally we use sentence case but in this instance use title case.
    Image

No other changes to the Test Mode badge or the generic card icon are required at this time.

@pierorocca pierorocca added focus: checkout payments priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. type: enhancement The issue is a request for an enhancement. labels Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus: checkout payments priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. type: enhancement The issue is a request for an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant