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 aaccc956 authored by Alessio Zampatti's avatar Alessio Zampatti

Fix for apiKey in initializeAdyenClient

parent f8e5d1ad
......@@ -1325,7 +1325,9 @@ class Data extends AbstractHelper
public function initializeAdyenClient($storeId = null, $apiKey = null)
{
// initialize client
$apiKey = $this->getAPIKey($storeId);
if (empty($apiKey)) {
$apiKey = $this->getAPIKey($storeId);
}
$client = $this->createAdyenClient();
$client->setApplicationName("Magento 2 plugin");
......
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