mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
move vault option to smart button settings
This commit is contained in:
parent
bb4fbd2dbd
commit
32b5b41215
1 changed files with 12 additions and 12 deletions
|
@ -391,6 +391,18 @@ return [
|
||||||
],
|
],
|
||||||
'requirements' => [],
|
'requirements' => [],
|
||||||
],
|
],
|
||||||
|
'vault_enabled' => [
|
||||||
|
'title' => __('Vaulting', 'woocommerce-paypal-commerce-gateway'),
|
||||||
|
'type' => 'checkbox',
|
||||||
|
'desc_tip' => true,
|
||||||
|
'label' => __('Enable vaulting', 'woocommerce-paypal-commerce-gateway'),
|
||||||
|
'description' => __('Enables you to store payment tokens for subscriptions.', 'woocommerce-paypal-commerce-gateway'),
|
||||||
|
'default' => true,
|
||||||
|
'screens' => [
|
||||||
|
State::STATE_ONBOARDED,
|
||||||
|
],
|
||||||
|
'requirements' => [],
|
||||||
|
],
|
||||||
'dcc_cart_enabled' => [
|
'dcc_cart_enabled' => [
|
||||||
'title' => __('Enable credit card on cart', 'woocommerce-paypal-commerce-gateway'),
|
'title' => __('Enable credit card on cart', 'woocommerce-paypal-commerce-gateway'),
|
||||||
'type' => 'checkbox',
|
'type' => 'checkbox',
|
||||||
|
@ -465,18 +477,6 @@ return [
|
||||||
'dcc',
|
'dcc',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'vault_enabled' => [
|
|
||||||
'title' => __('Vaulting', 'woocommerce-paypal-commerce-gateway'),
|
|
||||||
'type' => 'checkbox',
|
|
||||||
'desc_tip' => true,
|
|
||||||
'label' => __('Enable vaulting', 'woocommerce-paypal-commerce-gateway'),
|
|
||||||
'description' => __('Enables you to store payment tokens for subscriptions', 'woocommerce-paypal-commerce-gateway'),
|
|
||||||
'default' => true,
|
|
||||||
'screens' => [
|
|
||||||
State::STATE_ONBOARDED,
|
|
||||||
],
|
|
||||||
'requirements' => [],
|
|
||||||
],
|
|
||||||
'logging_enabled' => [
|
'logging_enabled' => [
|
||||||
'title' => __('Logging', 'woocommerce-paypal-commerce-gateway'),
|
'title' => __('Logging', 'woocommerce-paypal-commerce-gateway'),
|
||||||
'type' => 'checkbox',
|
'type' => 'checkbox',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue