23 public function query(array $params = array())
25 $methodName =
'checkout.yookassa.'.$params[
'methodName'];
26 $parameters = isset($params[
'parameters']) ? $params[
'parameters'] : [];
27 $engine =
new EngineBitrix();
28 if (!$engine->isRegistered())
33 $response = $engine->getInterface()->getTransport()->call($methodName, $parameters);
34 return ((isset($response[
'result'][
'RESULT']) && $response[
'result'][
'RESULT'])
35 ? $response[
'result'][
'RESULT']