Merge pull request #3077 from woocommerce/PCP-4194-only-show-active-payment-methods

Only show active payment methods (PCP-4194)
This commit is contained in:
Emili Castells 2025-02-07 17:14:18 +01:00 committed by GitHub
commit c35b0dba75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 19 additions and 2 deletions

View file

@ -109,23 +109,28 @@ export const STYLING_PAYMENT_METHODS = {
label: __( 'PayPal', 'woocommerce-paypal-payments' ),
checked: true,
disabled: true,
paymentMethod: 'ppcp-gateway',
},
venmo: {
value: 'venmo',
label: __( 'Venmo', 'woocommerce-paypal-payments' ),
isFunding: true,
paymentMethod: 'venmo',
},
paylater: {
value: 'paylater',
label: __( 'Pay Later', 'woocommerce-paypal-payments' ),
isFunding: true,
paymentMethod: 'pay-later',
},
googlepay: {
value: 'googlepay',
label: __( 'Google Pay', 'woocommerce-paypal-payments' ),
paymentMethod: 'ppcp-googlepay',
},
applepay: {
value: 'applepay',
label: __( 'Apple Pay', 'woocommerce-paypal-payments' ),
paymentMethod: 'ppcp-applepay',
},
};