Пример #1
0
 /**
  * @param $caseData
  * @return bool
  */
 public function postCaseToSignifyd($caseData, $order)
 {
     $this->_logger->request("Sending: " . json_encode($caseData));
     $id = $this->_api->createCase($caseData);
     if ($id) {
         $this->_logger->debug("Case sent. Id is {$id}");
     } else {
         $this->_logger->error("Case failed to send.");
         return false;
     }
     return $id;
 }