Skip to content

[UPE] Allow customizing the label and description of the payment methods #2993

@a-danae

Description

@a-danae

When the new checkout experience is enabled (UPE), the label and description of the payment method types can't be updated. This functionality is available when UPE is disabled.

The goal of this issue is to allow customizing the label and description of the payment method types for UPE.

This issue is part of unifying the non-UPE and UPE experiences.

Acceptance criteria

The behavior for the label and description of payment methods must be the same as when the updated checkout experience (UPE) is disabled.

Design: xVAk98kbRKUByVTrhPc98g-fi-603_28309

When the new checkout experience is enabled (UPE):

  • Under the payment methods tab, each payment method type must have a "Customize" button.
  • Clicking on the "Customize" button must open an accordion with two fields to update the settings for the payment method: Label and Description.
  • When saving, the values for the label and description must persist.
  • On both the block and shortcode checkouts, the payment methods must display the label and description defined for them on the settings page.

What's out of the scope of this issue

  • Customizing the order of the payment methods. We'll handle this separately.

Open questions

Given that we also have this functionality for non-UPE, should we use the same setting in the database for both UPE and non-UPE?

  • This would imply that the label and description of each payment method would persist when UPE is toggled.
  • When merchants upgrade to the version where this is implemented, the label and descriptions they were using must persist whether or not UPE is enabled.

Metadata

Metadata

Assignees

Labels

component: settingsRelated to the non-UPE payment gateway settings pages

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions