We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 5ea387ef authored by Rik ter Beek's avatar Rik ter Beek Committed by GitHub

Merge pull request #350 from Adyen/release-2-4-0-fix

Resolve PR comments
parents 9e58f0a0 c8275459
......@@ -60,10 +60,10 @@ class TransactionPosCloudSync implements ClientInterface
$this->adyenLogger = $adyenLogger;
$this->storeId = $storeManager->getStore()->getId();
$apiKey = $this->adyenHelper->getPosApiKey($this->storeId);
// initialize client
$client = $this->adyenHelper->initializeAdyenClient($this->storeId);
$apiKey = $this->adyenHelper->getPosApiKey($this->storeId);
$client->setXApiKey($apiKey);
$client = $this->adyenHelper->initializeAdyenClient($this->storeId, $apiKey);
//Set configurable option in M2
$posTimeout = $this->adyenHelper->getAdyenPosCloudConfigData('pos_timeout', $this->storeId);
......
......@@ -85,9 +85,6 @@ class AdyenInitiateTerminalApi implements AdyenInitiateTerminalApiInterface
$client->setTimeout($posTimeout);
}
// assign magento log
$client->setLogger($adyenLogger);
$this->client = $client;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment