Skip to content

Commit

Permalink
Added method for retrieving the order ID
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Coates committed Mar 19, 2015
1 parent e2c3c82 commit c5e9305
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Omnipay/Realex/Message/VerifySigResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ public function getMessage()
return $message;
}

public function getTransactionId()
{
return ($this->xml->orderid) ? (string)$this->xml->orderid : null;
}

public function getTransactionReference()
{
return ($this->xml->pasref) ? $this->xml->pasref : null;
Expand Down

0 comments on commit c5e9305

Please sign in to comment.