-
Notifications
You must be signed in to change notification settings - Fork 69
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
Add payment method logos to card label #10005
Conversation
Test the buildOption 1. Jetpack Beta
Option 2. Jurassic Ninja - available for logged-in A12s🚀 Launch a JN site with this branch 🚀 ℹ️ Install this Tampermonkey script to get more options. Build info:
Note: the build is updated when a new commit is pushed to this PR. |
Size Change: +2.62 kB (0%) Total Size: 1.36 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gpressutto5 Nice catches! I've made improvements in the responsive handling in 2d30b89 when you have a chance to take another look. |
Fixes #9826
Closes #9660
Changes proposed in this Pull Request
This adds a payment method logos component to the card label on the checkout block. There's another component to this that involves Stripe removing the payment method logo animations from the card number field. For now, this has been implemented on a dev account that we can use for testing. Before this can be merged, we'll need a couple things:
Because payment method animations will be disabled for all WooPayments account, we'll need to ensure we're coordinated with Stripe on the removal. For major release, I think the earliest date would be Feb 5, 2025. However, we could always do a patch release if tighter alignment with Stripe is required.
Testing instructions
Gated Dev account - p1732130572346229/1732125470.634879-slack-C043JN7AJHY
Note: if #9660 hasn't yet been merged, please update the card label text in the browser to read "Cards". This is important because this PR depends on that shorter label to display more card brand logos, especially on mobile.
Blocks Checkout
Classic Checkout
npm run changelog
to add a changelog file, choosepatch
to leave it empty if the change is not significant. You can add multiple changelog files in one PR by running this command a few times.Post merge