diff --git a/Model/ApiFacade/Transaction/TransactionApiFacade.php b/Model/ApiFacade/Transaction/TransactionApiFacade.php index 99d4e2f..8908b15 100755 --- a/Model/ApiFacade/Transaction/TransactionApiFacade.php +++ b/Model/ApiFacade/Transaction/TransactionApiFacade.php @@ -98,7 +98,7 @@ public function translateGroupToChannel(array $data, bool $redirectToChannel): a public function originApiFieldCorrect(array $data): array { - if (!$this->isOpenApiUse() && (int) $data['group'] != TransactionOriginApi::BLIK_CHANNEL) { + if (!$this->isOpenApiUse() && TransactionOriginApi::BLIK_CHANNEL != (int) $data['group']) { unset($data['channel']); unset($data['currency']); unset($data['language']);