woocommerce / woocommerce-gateway-stripe

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

[HC] Stripe is showing unwanted messages on the payment options on version 8.5 #3272

Closed carolframen closed 3 weeks ago

carolframen commented 1 month ago

Describe the bug When using 8.5 some payment methods show an unwanted message on checkout. It's the message that explains the payment method for the store owner, but it shouldn't be shown to the customers.

This only happens with the new checkout experience.

To Reproduce Steps to reproduce the behavior:

  1. Have Stripe 8.5
  2. Check the credit card option on checkout

Expected behavior For the message to not show.

Screenshots

image image

Here's a screenshot of my checkout on 8.4 image

Environment (please complete the following information):

Additional context Reported here.

OmarFPG commented 1 month ago

I can also confirm the new text, however, this is not a bug, it's a feature.

Reviewing the latest changelogs for Stripe you can find this:

  • Add - Allow customizing the title and description of the UPE payment methods.

Which is awesome! You can customize each by going to your WooCommerce > Settings > Payments > Stripe > Payment Methods > Customize (next to each payment method). You can add a Name and a Description for each.

Edit: Here’s the relevant documentation for it: https://woocommerce.com/document/stripe/setup-and-configuration/additional-payment-methods/#customizing

Edit 2: it may actually be a bug, though, since maybe the empty settings shouldn't include a default string; I've seen another report already here. From this comment in the PR, it seems the empty should work, and from what we're seeing in actual usage, it isn't working!). (edited)

mattthomasphoto commented 1 month ago

It’s definitely a “new feature” however bugged the fact it’s pulling through the backend admin descriptions, which should definitely not be displayed to a customer. On the legacy version this wasn’t the case.

At the moment the only way is a dirty CSS method to hide, which isn’t ideal and shouldn’t be considered as a “fix”

aheckler commented 1 month ago

The dev team is aware of this issue and we're discussing the best way to handle it.

Prin-S commented 1 month ago

8494269-zd-a8c

Prin-S commented 1 month ago

8497019-zd-a8c 8514039-zd-a8c