src/ShopBundle/objects/db/TShopPaymentHandler/TShopPaymentHandlerDataTrans.class.php
protected function GetXMLSettlement()
    {
        $oShopBasket = TShopBasket::GetInstance();
        $sMerchantId = $this->GetTestLiveModeParameter('merchantId');
        $sRefNo = $this->GetRefNoParameter(false);
        $sCurrency = $this->GetCurrencyIdentifier();
        $oLocal = &TCMSLocal::GetActive();
        $sAmount = str_replace(',', '.', $oLocal->FormatNumber($oShopBasket->dCostTotal)) * 100;
        $sXML = '<?xml version="1.0" encoding="UTF-8" ?>
       <paymentService version="1">
         <body merchantId="'.$this->GetTestLiveModeParameter('merchantId').'">
           <transaction refno="'.$sRefNo.'">
             <request>
               <amount>'.$sAmount.'</amount>
               <currency>'.$sCurrency.'</currency>
               <uppTransactionId>'.$this->sTransactionId.'</uppTransactionId>
               <transtype>'.self::PAYMENT_CREDIT_CARD_TRANS_TYPE_ID.'</transtype>
               <sign>'.$this->GetSecurityHash($this->GetTestLiveModeParameter('sign'), $sMerchantId, $sAmount, $sCurrency, $sRefNo).'</sign>
             </request>
           </transaction>
         </body>
       </paymentService>';

        return $sXML;
    }
protected function GetXMLSettlement()
    {
        $oShopBasket = TShopBasket::GetInstance();
        $sMerchantId = $this->GetTestLiveModeParameter('merchantId');
        $sRefNo = $this->GetRefNoParameter(false);
        $sCurrency = $this->GetCurrencyIdentifier();
        $oLocal = &TCMSLocal::GetActive();
        $sAmount = str_replace(',', '.', $oLocal->FormatNumber($oShopBasket->dCostTotal)) * 100;
        $sXML = '<?xml version="1.0" encoding="UTF-8" ?>
       <paymentService version="1">
         <body merchantId="'.$this->GetTestLiveModeParameter('merchantId').'">
           <transaction refno="'.$sRefNo.'">
             <request>
               <amount>'.$sAmount.'</amount>
               <currency>'.$sCurrency.'</currency>
               <uppTransactionId>'.$this->sTransactionId.'</uppTransactionId>
               <transtype>'.self::PAYMENT_CREDIT_CARD_TRANS_TYPE_ID.'</transtype>
               <sign>'.$this->GetSecurityHash($this->GetTestLiveModeParameter('sign'), $sMerchantId, $sAmount, $sCurrency, $sRefNo).'</sign>
             </request>
           </transaction>
         </body>
       </paymentService>';

        return $sXML;
    }
protected function GetXMLSettlement ( ) { $ oShopBasket = TShopBasket :: GetInstance ( ) ; $ sMerchantId = $ this -> GetTestLiveModeParameter ( 'merchantId' ) ; $ sRefNo = $ this -> GetRefNoParameter ( false ) ; $ sCurrency = $ this -> GetCurrencyIdentifier ( ) ; $ oLocal = & TCMSLocal :: GetActive ( ) ; $ sAmount = str_replace ( ',' , '.' , $ oLocal -> FormatNumber ( $ oShopBasket -> dCostTotal ) ) * 100 ; $ sXML = '<?xml version="1.0" encoding="UTF-8" ?>
       <paymentService version="1">
         <body merchantId="' . $ this -> GetTestLiveModeParameter ( 'merchantId' ) . '">
           <transaction refno="' . $ sRefNo . '">
             <request>
               <amount>' . $ sAmount . '</amount>
               <currency>' . $ sCurrency . '</currency>
               <uppTransactionId>' . $ this -> sTransactionId . '</uppTransactionId>
               <transtype>' . self :: PAYMENT_CREDIT_CARD_TRANS_TYPE_ID . '</transtype>
               <sign>' . $ this -> GetSecurityHash ( $ this -> GetTestLiveModeParameter ( 'sign' ) , $ sMerchantId , $ sAmount , $ sCurrency , $ sRefNo ) . '</sign>
             </request>
           </transaction>
         </body>
       </paymentService>' ; return $ sXML ; }
Returns the xml request valeu for settlement.

@return string
Returns the xml request valeu for settlement .