Skip to content

Commit

Permalink
Merge pull request #5 from bileto/fix-transaction-reference-not-passe…
Browse files Browse the repository at this point in the history
…d-outside

FIX: transaction reference
  • Loading branch information
stekycz authored Oct 19, 2016
2 parents bebe881 + b9ea98c commit d036f76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Message/Notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ public function __construct($httpRequest, $httpClient, $parameters)
*/
public function getTransactionReference()
{
if (isset($this->getData()['id'])) {
return $this->getData()['id'];
if (isset($this->getData()['transactionReference'])) {
return $this->getData()['transactionReference'];
}

return null;
Expand Down

0 comments on commit d036f76

Please sign in to comment.