mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
activate vault when dcc
This commit is contained in:
parent
c997f17863
commit
f994e65f55
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ class SmartButton implements SmartButtonInterface
|
||||||
'integration-date' => date('Y-m-d'),
|
'integration-date' => date('Y-m-d'),
|
||||||
'components' => implode(',', $this->components()),
|
'components' => implode(',', $this->components()),
|
||||||
//ToDo: Probably only needed, when DCC
|
//ToDo: Probably only needed, when DCC
|
||||||
'vault' => $this->dccIsEnabled() ? 'false' : 'false',
|
'vault' => $this->dccIsEnabled() ? 'true' : 'false',
|
||||||
'commit' => is_checkout() ? 'true' : 'false',
|
'commit' => is_checkout() ? 'true' : 'false',
|
||||||
'intent' => ($this->settings->has('intent')) ? $this->settings->get('intent') : 'capture',
|
'intent' => ($this->settings->has('intent')) ? $this->settings->get('intent') : 'capture',
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue