mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
♻️ Reuse existing gateway-IDs for styling tab
This commit is contained in:
parent
f7b2f97b89
commit
30ff337c06
2 changed files with 11 additions and 21 deletions
|
@ -104,33 +104,28 @@ export const STYLING_SHAPES = {
|
|||
};
|
||||
|
||||
export const STYLING_PAYMENT_METHODS = {
|
||||
paypal: {
|
||||
value: '',
|
||||
'ppcp-gateway': {
|
||||
value: 'ppcp-gateway',
|
||||
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',
|
||||
'pay-later': {
|
||||
value: 'pay-later',
|
||||
label: __( 'Pay Later', 'woocommerce-paypal-payments' ),
|
||||
isFunding: true,
|
||||
paymentMethod: 'pay-later',
|
||||
},
|
||||
googlepay: {
|
||||
value: 'googlepay',
|
||||
'ppcp-googlepay': {
|
||||
value: 'ppcp-googlepay',
|
||||
label: __( 'Google Pay', 'woocommerce-paypal-payments' ),
|
||||
paymentMethod: 'ppcp-googlepay',
|
||||
},
|
||||
applepay: {
|
||||
value: 'applepay',
|
||||
'ppcp-applepay': {
|
||||
value: 'ppcp-applepay',
|
||||
label: __( 'Apple Pay', 'woocommerce-paypal-payments' ),
|
||||
paymentMethod: 'ppcp-applepay',
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue