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 ab8cdff6 authored by attilak's avatar attilak

Changes based on review

required php-api-library min 1.5.2
Using storeId for retrieving wsUsername and wsPassword
parent 901a4823
......@@ -1174,8 +1174,8 @@ class Data extends AbstractHelper
public function initializeAdyenClient($storeId = null)
{
// initialize client
$webserviceUsername = $this->getWsUsername();
$webservicePassword = $this->getWsPassword();
$webserviceUsername = $this->getWsUsername($storeId);
$webservicePassword = $this->getWsPassword($storeId);
$client = new \Adyen\Client();
$client->setApplicationName("Magento 2 plugin");
......
......@@ -14,7 +14,7 @@
}
],
"require": {
"adyen/php-api-library": ">1.5.0",
"adyen/php-api-library": ">=1.5.2",
"magento/framework": ">=100.1.0"
},
"autoload": {
......
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