예제 #1
0
 /**
  * @inheritdoc
  */
 public function loadTransactionFromResponse(Response $response, Transaction $transaction)
 {
     $transaction->setTransactionID($response->getParam('SOLOPMT_RETURN_STAMP', false));
     $transaction->setReference($response->getParam('SOLOPMT_RETURN_REF', false));
     $transaction->setSum($response->getParam('SOLOPMT_RETURN_AMOUNT', false));
     $transaction->setComment($response->getParam('SOLOPMT_RETURN_MSG', false));
     $transaction->setCurrency($response->getParam('SOLOPMT_RETURN_CUR', false));
     $transaction->setLanguage($response->getParam('SOLOPMT_RETURN_LANGUAGE', false));
 }