src/ShopBundle/objects/db/TShopPaymentHandler/TShopPaymentHandlerDataTrans.class.php
protected function GetPaymentParameter()
    {
        $aParameter = array();
        $sCurrency = $this->GetCurrencyIdentifier();
        $oLocal = &TCMSLocal::GetActive();
        $oShopBasket = TShopBasket::GetInstance();
        $aParameter['merchantId'] = $this->GetTestLiveModeParameter('merchantId');
        $aParameter['refno'] = $this->GetRefNoParameter();
        $aParameter['reqtype'] = $this->GetConfigParameter('reqtype');
        $aParameter['amount'] = str_replace(',', '.', $oLocal->FormatNumber($oShopBasket->dCostTotal)) * 100;
        $aParameter['currency'] = $sCurrency;
        $aParameter['hiddenMode'] = $this->GetConfigParameter('hiddenMode');
        $sRedirectULR = $this->GetResponseURL();
        $aParameter['successUrl'] = $sRedirectULR;
        $aParameter['errorUrl'] = $sRedirectULR;
        $aParameter['cancelUrl'] = $sRedirectULR;

        return $aParameter;
    }
protected function GetPaymentParameter()
    {
        $aParameter = array();
        $sCurrency = $this->GetCurrencyIdentifier();
        $oLocal = &TCMSLocal::GetActive();
        $oShopBasket = TShopBasket::GetInstance();
        $aParameter['merchantId'] = $this->GetTestLiveModeParameter('merchantId');
        $aParameter['refno'] = $this->GetRefNoParameter();
        $aParameter['reqtype'] = $this->GetConfigParameter('reqtype');
        $aParameter['amount'] = str_replace(',', '.', $oLocal->FormatNumber($oShopBasket->dCostTotal)) * 100;
        $aParameter['currency'] = $sCurrency;
        $aParameter['hiddenMode'] = $this->GetConfigParameter('hiddenMode');
        $sRedirectULR = $this->GetResponseURL();
        $aParameter['successUrl'] = $sRedirectULR;
        $aParameter['errorUrl'] = $sRedirectULR;
        $aParameter['cancelUrl'] = $sRedirectULR;

        return $aParameter;
    }
protected function GetPaymentParameter ( ) { $ aParameter = array ( ) ; $ sCurrency = $ this -> GetCurrencyIdentifier ( ) ; $ oLocal = & TCMSLocal :: GetActive ( ) ; $ oShopBasket = TShopBasket :: GetInstance ( ) ; $ aParameter [ 'merchantId' ] = $ this -> GetTestLiveModeParameter ( 'merchantId' ) ; $ aParameter [ 'refno' ] = $ this -> GetRefNoParameter ( ) ; $ aParameter [ 'reqtype' ] = $ this -> GetConfigParameter ( 'reqtype' ) ; $ aParameter [ 'amount' ] = str_replace ( ',' , '.' , $ oLocal -> FormatNumber ( $ oShopBasket -> dCostTotal ) ) * 100 ; $ aParameter [ 'currency' ] = $ sCurrency ; $ aParameter [ 'hiddenMode' ] = $ this -> GetConfigParameter ( 'hiddenMode' ) ; $ sRedirectULR = $ this -> GetResponseURL ( ) ; $ aParameter [ 'successUrl' ] = $ sRedirectULR ; $ aParameter [ 'errorUrl' ] = $ sRedirectULR ; $ aParameter [ 'cancelUrl' ] = $ sRedirectULR ; return $ aParameter ; }
Get hidden field parameter needed for payment.

@return array
Get hidden field parameter needed for payment .