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 54ec75d4 authored by cyattilakiss's avatar cyattilakiss Committed by GitHub

Only retrieve pos terminals when payment method is enabled (#515)

parent e38606f9
......@@ -91,7 +91,9 @@ class AdyenPosCloudConfigProvider implements ConfigProviderInterface
]
];
$config['payment']['adyenPos']['connectedTerminals'] = $this->getConnectedTerminals();
if ($this->adyenHelper->getAdyenPosCloudConfigDataFlag("active")) {
$config['payment']['adyenPos']['connectedTerminals'] = $this->getConnectedTerminals();
}
// has installments by default false
$config['payment']['adyenPos']['hasInstallments'] = false;
......
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