Add Klarna Payments to default payment gateway suggestions (https://github.com/woocommerce/woocommerce-admin/pull/7267)
This commit is contained in:
parent
e48fabe964
commit
c1978af7f7
|
@ -61,7 +61,7 @@ class DefaultPaymentGateways {
|
|||
),
|
||||
array(
|
||||
'id' => 'kco',
|
||||
'title' => __( 'Klarna', 'woocommerce-admin' ),
|
||||
'title' => __( 'Klarna Checkout', 'woocommerce-admin' ),
|
||||
'content' => __( 'Choose the payment that you want, pay now, pay later or slice it. No credit card numbers, no passwords, no worries.', 'woocommerce-admin' ),
|
||||
'image' => WC()->plugin_url() . '/assets/images/klarna-black.png',
|
||||
'plugins' => array( 'klarna-checkout-for-woocommerce' ),
|
||||
|
@ -70,6 +70,31 @@ class DefaultPaymentGateways {
|
|||
self::get_rules_for_cbd( false ),
|
||||
),
|
||||
),
|
||||
array(
|
||||
'id' => 'klarna_payments',
|
||||
'title' => __( 'Klarna Payments', 'woocommerce-admin' ),
|
||||
'content' => __( 'Choose the payment that you want, pay now, pay later or slice it. No credit card numbers, no passwords, no worries.', 'woocommerce-admin' ),
|
||||
'image' => WC()->plugin_url() . '/assets/images/klarna-black.png',
|
||||
'plugins' => array( 'klarna-payments-for-woocommerce' ),
|
||||
'is_visible' => array(
|
||||
self::get_rules_for_countries(
|
||||
array(
|
||||
'DK',
|
||||
'DE',
|
||||
'AT',
|
||||
'NL',
|
||||
'CH',
|
||||
'BE',
|
||||
'SP',
|
||||
'PL',
|
||||
'FR',
|
||||
'IT',
|
||||
'GB',
|
||||
)
|
||||
),
|
||||
self::get_rules_for_cbd( false ),
|
||||
),
|
||||
),
|
||||
array(
|
||||
'id' => 'mollie_wc_gateway_banktransfer',
|
||||
'title' => __( 'Mollie', 'woocommerce-admin' ),
|
||||
|
|
Loading…
Reference in New Issue