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 3552776c authored by rikterbeek's avatar rikterbeek

change of lib so setStatus is now setEnvironment and uses Environment class to...

change of lib so setStatus is now setEnvironment and uses Environment class to set correct environment
parent bbdd6889
......@@ -328,9 +328,9 @@ class AdyenHppConfigProvider implements ConfigProviderInterface
$client = new \Adyen\Client();
if($this->_adyenHelper->isDemoMode()) {
$client->setModus("test");
$client->setEnvironment(\Adyen\Environment::TEST);
} else {
$client->setModus("live");
$client->setEnvironment(\Adyen\Environment::LIVE);
}
// connect to magento log
......
......@@ -90,9 +90,9 @@ class PaymentRequest extends DataObject
$client->setPassword($webservicePassword);
if($this->_adyenHelper->isDemoMode()) {
$client->setModus("test");
$client->setEnvironment(\Adyen\Environment::TEST);
} else {
$client->setModus("live");
$client->setEnvironment(\Adyen\Environment::LIVE);
}
// assign magento log
......
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