Google & Apple Pay buttons are displayed in editor even when the payment method is disabled #9444
Labels
focus: checkout payments
good first issue
The issue is a good candidate for the first community contribution/for a newcomer to the team.
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.
Milestone
Describe the bug
The Google & Apple Pay buttons are displayed in editor even when the payment method is disabled in WooPayments settings.
To Reproduce
Actual behavior
The Apple and Google Pay buttons are visible in the editor when they are disabled in settings.
Screenshots
Expected behavior
The Apple and Google Pay buttons should not be visible in the editor when they are disabled in settings.
Potential solution
We should only call
registerExpressPaymentMethod
if it is enabled from the WooPayments settings pageThe text was updated successfully, but these errors were encountered: