We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday 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 ...@@ -1325,7 +1325,9 @@ class Data extends AbstractHelper
public function initializeAdyenClient($storeId = null, $apiKey = null) public function initializeAdyenClient($storeId = null, $apiKey = null)
{ {
// initialize client // initialize client
$apiKey = $this->getAPIKey($storeId); if (empty($apiKey)) {
$apiKey = $this->getAPIKey($storeId);
}
$client = $this->createAdyenClient(); $client = $this->createAdyenClient();
$client->setApplicationName("Magento 2 plugin"); $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