From 04d376aacaf08771d4e6729f58e15a3acdb0b529 Mon Sep 17 00:00:00 2001 From: Steffen Brem Date: Wed, 10 Feb 2016 22:28:48 +0100 Subject: [PATCH] Fixes issue https://github.com/Payum/PayumBundle/issues/290 --- src/Action/OffsiteCaptureAction.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Action/OffsiteCaptureAction.php b/src/Action/OffsiteCaptureAction.php index 4f2cd9a..d67e60b 100644 --- a/src/Action/OffsiteCaptureAction.php +++ b/src/Action/OffsiteCaptureAction.php @@ -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 */