remove extra checkout enable checkbox for dcc

This commit is contained in:
David Remer 2020-08-19 16:07:46 +03:00
parent 0bc0d66456
commit 47e5d96f4f
3 changed files with 3 additions and 20 deletions

View file

@ -1436,19 +1436,6 @@ return [
'gateway' => 'paypal',
],
'dcc_checkout_enabled' => [
'title' => __('Enable credit card on checkout', 'woocommerce-paypal-commerce-gateway'),
'type' => 'checkbox',
'label' => __('Allow your customers to pay with credit card in the checkout.', 'woocommerce-paypal-commerce-gateway'),
'default' => true,
'screens' => [
State::STATE_ONBOARDED,
],
'requirements' => [
'dcc',
],
'gateway' => 'dcc',
],
'disable_cards' => [
'title' => __('Disable specific credit cards', 'woocommerce-paypal-commerce-gateway'),
'type' => 'ppcp-multiselect',