diff --git a/Frontend/HeidelGateway/Controllers/Frontend/PaymentHgw.php b/Frontend/HeidelGateway/Controllers/Frontend/PaymentHgw.php index 0407ee7..0afebce 100644 --- a/Frontend/HeidelGateway/Controllers/Frontend/PaymentHgw.php +++ b/Frontend/HeidelGateway/Controllers/Frontend/PaymentHgw.php @@ -1486,7 +1486,6 @@ public function savePaymentAction(){ $swVersion = Shopware::VERSION; $tplVersion = Shopware()->Shop()->getTemplate()->getVersion(); - $postparams = array(); $postparams = array('payment' => $this->Request()->getParam('sRegister')); $_SERVER['REQUEST_METHOD'] = 'GET'; @@ -1507,7 +1506,6 @@ public function savePaymentAction(){ $this->Request()->setPost('sRegister', $postparams); - $target = false; $target = $this->Request()->getParam('sTarget'); if(!empty($target)){ $this->Request()->setParam('sTarget', $target); @@ -1765,6 +1763,7 @@ public function successAction(){ '{IDENTIFICATION_SHORTID}' => "\n".$parameters->IDENTIFICATION_SHORTID, ); + $comment = ''; if( (strtolower($payType) == 'iv') || (strtolower($payType) == 'papg') || @@ -1962,7 +1961,7 @@ public function successAction(){ ); } - $orderNum = $this->getOrder($transactionId); + $orderNum = $this->getOrder($parameters->IDENTIFICATION_TRANSACTIONID); $prepayment = array(); $user = $this->getUser(); foreach($repl AS $k => $v){ @@ -3925,4 +3924,4 @@ public function getWhitelistedCSRFActions() 'succsess' ); } -} \ No newline at end of file +}