[ECE] Do not display ECE/PRB when CC is not enabled #3546
Labels
component: ECE
Issues related to Express Checkout Element
priority: high
The issue/PR is high priority—it affects lots of customers substantially, but not critically.
type: bug
The issue is a confirmed bug.
Describe the bug
When express payment methods are enabled, but credit cards are not, Apple Pay and Google Pay are still available in the
product,cart and checkout pages. However, the shopper cannot complete their purchase using them, and the order results in anInvalid payment method
error.To Reproduce
Steps to reproduce the behavior:
Apple Pay/Google Pay
, but disableCredit card / debit card
as a payment method.product,cart and checkout pages.Invalid payment method
error.Expected behavior
I expect Apple Pay/Google Pay to not be displayed if the shopper cannot finish their purchases using said methods.
Screenshots

The text was updated successfully, but these errors were encountered: