activate vault when dcc

This commit is contained in:
David Remer 2020-07-14 09:17:10 +03:00
parent c997f17863
commit f994e65f55

View file

@ -278,7 +278,7 @@ class SmartButton implements SmartButtonInterface
'integration-date' => date('Y-m-d'),
'components' => implode(',', $this->components()),
//ToDo: Probably only needed, when DCC
'vault' => $this->dccIsEnabled() ? 'false' : 'false',
'vault' => $this->dccIsEnabled() ? 'true' : 'false',
'commit' => is_checkout() ? 'true' : 'false',
'intent' => ($this->settings->has('intent')) ? $this->settings->get('intent') : 'capture',
];