-
Notifications
You must be signed in to change notification settings - Fork 215
Allow customizing the label and description of the UPE payment methods #3176
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
Conversation
diegocurbelo
left a comment
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.
Thanks for working on this @Mayisha.
The code looks good, I think we should check if UPE is enabled server-side it would make the code cleaner.
It works great in the new checkout experience:

It also works with empty titles/description:

The only detail is the position of the customize button with payment methods with short descriptions like Klarna... we need to align the button to the right.
|
Thanks @diegocurbelo 🚀 I have fixed the button in 0efdc2d and now I am checking the UPE status on the server side which is fixed in 048c2f4. |
diegocurbelo
left a comment
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.
Thanks for making the changes @Mayisha!
Looks great now! 🚢

Fixes #2993
In legacy experience, merchants can customize the title and description of the payment methods and they are also reflected on the checkout page. This feature was missing from the new checkout experience. In this PR, I have added the ability to customize the title and description of the payment methods when UPE is enabled.
Changes proposed in this Pull Request:
woocommerce_stripe_ideal_settings,woocommerce_stripe_eps_settingsetc.Testing instructions
developbranch, there is noCustomizebutton beside the payment methods. In this branch, you should see aCustomizebutton beside each payment method.Customizebutton of a payment method and confirm that it has a title and description populated which was saved as part of the legacy experience. (This is true for the payment method existing in legacy experience, not for the new methods like klarna or afterpay)Save changes. Reload the page and confirm that the changes persist.Shortcode

Block