From a9c9399ded7ebcaec4390c3f1dae14269107bb65 Mon Sep 17 00:00:00 2001 From: Aimeos GmbH Date: Fri, 1 May 2020 12:53:20 +0200 Subject: [PATCH] Always add off_session parameter to request --- src/Message/PaymentIntents/AuthorizeRequest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Message/PaymentIntents/AuthorizeRequest.php b/src/Message/PaymentIntents/AuthorizeRequest.php index 7691135a..8cf9d541 100644 --- a/src/Message/PaymentIntents/AuthorizeRequest.php +++ b/src/Message/PaymentIntents/AuthorizeRequest.php @@ -390,9 +390,7 @@ public function getData() $data['setup_future_usage'] = $this->getSetupFutureUsage(); } - if ($this->getOffSession()) { - $data['off_session'] = $this->getOffSession() ? 'true' : 'false'; - } + $data['off_session'] = $this->getOffSession() ? 'true' : 'false'; $data['confirmation_method'] = 'manual'; $data['capture_method'] = 'manual';