woocommerce / woocommerce-gateway-stripe

The official Stripe Payment Gateway for WooCommerce
https://wordpress.org/plugins/woocommerce-gateway-stripe/
229 stars 200 forks source link

Saving SEPA payment method in Blocks with UPE enabled shows incorrect title #1942

Closed reykjalin closed 2 weeks ago

reykjalin commented 2 years ago

Describe the bug

Saving a SEPA payment method in the Block based checkout creates an entry called "Saved token for Stripe" when it should say "SEPA IBAN ending in XXXX":

To Reproduce

Steps to reproduce the behavior:

  1. Make sure UPE is enabled
  2. Add a product to your cart
  3. Go to the Blocks checkout
  4. Pay with AT321904300235473204
  5. Go to My Account > Payment Methods and note that the entry has the last for digits
  6. Add a new product to your cart
  7. Go the Blocks checkout and see that the saved SEPA payment method is just called "Saved token for Stripe"

Expected behavior

Saved SEPA payment method should say "SEPA IBAN ending in XXXX"

Screenshots

image

superdav42 commented 2 years ago

Seems to be not limited to UPE.

Mayisha commented 2 weeks ago

Confirming that this is not reproducible anymore.

✅ Saved Sepa token during checkout via block checkout (UPE enabled) => saved token displayed correctly on the block checkout, shortcode checkout and 'My account' pages. ✅ Saved Sepa token during checkout via shortcode checkout (UPE enabled) => saved token displayed correctly on the block checkout, shortcode checkout and 'My account' pages. ✅ Saved Sepa token during checkout via 'My Account' page (UPE enabled) => saved token displayed correctly on the block checkout, shortcode checkout and 'My account' pages. ✅ Saved Sepa token during checkout via shortcode checkout (UPE disabled) => saved token displayed correctly on the shortcode checkout and 'My account' pages (Sepa is not available in block checkout in legacy experience). ✅ Saved Sepa token during checkout via 'My Account' page (UPE disabled) => saved token displayed correctly on the shortcode checkout and 'My account' pages (Sepa is not available in block checkout in legacy experience).

Screenshot 2024-08-16 at 1 41 38 AM