mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
remove extra checkout enable checkbox for dcc
This commit is contained in:
parent
0bc0d66456
commit
47e5d96f4f
3 changed files with 3 additions and 20 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue