Skip to content

Commit

Permalink
Merge pull request Payum#26 from steffenbrem/bugfix/issue-290
Browse files Browse the repository at this point in the history
[Bug Fix] Add transaction reference to payment details
  • Loading branch information
makasim committed Feb 11, 2016
2 parents c3f55ab + 04d376a commit de0c019
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Action/OffsiteCaptureAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ public function execute($request)
}
} else {
$response = $this->omnipayGateway->purchase($details->toUnsafeArray())->send();

$details['transactionReference'] = $response->getTransactionReference();
}

/** @var \Omnipay\Common\Message\AbstractResponse $response */
Expand Down

0 comments on commit de0c019

Please sign in to comment.