woocommerce/woocommerce-gateway-stripe

Card Brand Icon not showing in legacy checkout experience

Opened this issue · 0 comments

Describe the bug

When you turn on the legacy checkout experience, the card brand icon doesn't appear based on the input card number. However, when you turn off the legacy checkout experience option, the card brand icon appears perfectly.

To Reproduce
Steps to reproduce the behavior:

  1. Enable legacy checkout experience
  2. Navigate to checkout and enter a card number.
  3. A card brand icon should appear as it used to appear on earlier versions.

Expected behavior

A card brand icon should appear as it used to appear on earlier versions.

Screenshots

CleanShot 2024-06-04 at 15 42 03

CleanShot 2024-06-04 at 15 39 28

CleanShot 2024-06-04 at 15 38 12

Environment (please complete the following information):

  • WordPress Version: 6.5.3
  • WooCommerce Version: 8.9.1
  • Stripe Plugin Version: 8.3.1
  • Browser [e.g. chrome, safari] and Version: Firefox, Chrome and Safari - Latest.
  • Any other plugins installed: WooPayments, WP Mail Logging and Query Monitor

Additional context
Reported here: 8274700-zen
Thread: https://wordpress.org/support/topic/interactive-card-icons-gone-in-single-field-since-8-3-0/