src/ShopBundle/objects/db/TShopPaymentHandler/TShopPaymentHandlerDataTrans.class.php
protected function GetAdditionalViewVariables($sViewName, $sViewType)
    {
        $aViewVariables = parent::GetAdditionalViewVariables($sViewName, $sViewType);
        if (!is_array($aViewVariables)) {
            $aViewVariables = array();
        }
        $aViewVariables['PaymentHiddenInput'] = $this->GetPaymentParameter();
        $aViewVariables['PaymentHiddenInput']['sign'] = $this->GetSecurityHash($this->GetTestLiveModeParameter('sign'), $aViewVariables['PaymentHiddenInput']['merchantId'], $aViewVariables['PaymentHiddenInput']['amount'], $aViewVariables['PaymentHiddenInput']['currency'], $aViewVariables['PaymentHiddenInput']['refno']);
        $aViewVariables['aUserAddressData'] = $this->GetUserAddressDataParameter();
        $aViewVariables['aPossiblePaymentMethodCreditCardList'] = $this->GetPaymentTypeSpecificParameter();

        return $aViewVariables;
    }
protected function GetAdditionalViewVariables($sViewName, $sViewType)
    {
        $aViewVariables = parent::GetAdditionalViewVariables($sViewName, $sViewType);
        if (!is_array($aViewVariables)) {
            $aViewVariables = array();
        }
        $aViewVariables['PaymentHiddenInput'] = $this->GetPaymentParameter();
        $aViewVariables['PaymentHiddenInput']['sign'] = $this->GetSecurityHash($this->GetTestLiveModeParameter('sign'), $aViewVariables['PaymentHiddenInput']['merchantId'], $aViewVariables['PaymentHiddenInput']['amount'], $aViewVariables['PaymentHiddenInput']['currency'], $aViewVariables['PaymentHiddenInput']['refno']);
        $aViewVariables['aUserAddressData'] = $this->GetUserAddressDataParameter();
        $aViewVariables['aPossiblePaymentMethodCreditCardList'] = $this->GetPaymentTypeSpecificParameter();

        return $aViewVariables;
    }
protected function GetAdditionalViewVariables ( $ sViewName , $ sViewType ) { $ aViewVariables = parent :: GetAdditionalViewVariables ( $ sViewName , $ sViewType ) ; if ( ! is_array ( $ aViewVariables ) ) { $ aViewVariables = array ( ) ; } $ aViewVariables [ 'PaymentHiddenInput' ] = $ this -> GetPaymentParameter ( ) ; $ aViewVariables [ 'PaymentHiddenInput' ] [ 'sign' ] = $ this -> GetSecurityHash ( $ this -> GetTestLiveModeParameter ( 'sign' ) , $ aViewVariables [ 'PaymentHiddenInput' ] [ 'merchantId' ] , $ aViewVariables [ 'PaymentHiddenInput' ] [ 'amount' ] , $ aViewVariables [ 'PaymentHiddenInput' ] [ 'currency' ] , $ aViewVariables [ 'PaymentHiddenInput' ] [ 'refno' ] ) ; $ aViewVariables [ 'aUserAddressData' ] = $ this -> GetUserAddressDataParameter ( ) ; $ aViewVariables [ 'aPossiblePaymentMethodCreditCardList' ] = $ this -> GetPaymentTypeSpecificParameter ( ) ; return $ aViewVariables ; }
added all needed parameter for a request to IPayment
use this method to add any variables to the render method that you may
require for some view.

@param string $sViewName - the view being requested
@param string $sViewType - the location of the view (Core, Custom-Core, Customer)

@return array
added all needed parameter for a request to IPayment use this method to add any variables to the render method that you may require for some view .