From f994e65f55ba478f8112db9db8dae2c891655bc1 Mon Sep 17 00:00:00 2001 From: David Remer Date: Tue, 14 Jul 2020 09:17:10 +0300 Subject: [PATCH] activate vault when dcc --- modules.local/ppcp-button/src/Assets/SmartButton.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.local/ppcp-button/src/Assets/SmartButton.php b/modules.local/ppcp-button/src/Assets/SmartButton.php index 519e0b4fa..4f036f8a5 100644 --- a/modules.local/ppcp-button/src/Assets/SmartButton.php +++ b/modules.local/ppcp-button/src/Assets/SmartButton.php @@ -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', ];