116 public function send(array $params = array())
128 $data = $this->
query($params);
136 catch (\Exception $exception)
138 $response->addError(
new Error($exception->getMessage(), $exception->getCode()));
141 if (
$response->getErrorCollection()->count() > 0)
144 foreach ($errors as $error)
146 if (!$error->getMessage())
151 ServiceLogTable::add(array(
152 'GROUP_ID' =>
'checkout',
153 'TYPE' => static::TYPE_CODE,
154 'CODE' => $error->getCode(),
155 'MESSAGE' => $error->getMessage()