From 33bb30e443eff4ed180fc0fb6198bf92f0d11807 Mon Sep 17 00:00:00 2001 From: Alin Jurj Date: Thu, 12 Mar 2015 16:49:09 +0200 Subject: [PATCH] Update RefundController.php --- src/Payum/PayumModule/Controller/RefundController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Payum/PayumModule/Controller/RefundController.php b/src/Payum/PayumModule/Controller/RefundController.php index 884bf9b..ac129da 100644 --- a/src/Payum/PayumModule/Controller/RefundController.php +++ b/src/Payum/PayumModule/Controller/RefundController.php @@ -11,7 +11,7 @@ class RefundController extends PayumController { public function doAction() { - $token = $this->getHttpRequestVerifier()->verify($this->getRequest()); + $token = $this->getHttpRequestVerifier()->verify($this); $this->getHttpRequestVerifier()->invalidate($token); $payment = $this->getPayum()->getPayment($token->getPaymentName()); @@ -38,4 +38,4 @@ public function doAction() $this->redirect()->toUrl($token->getAfterUrl()); } -} \ No newline at end of file +}