Ignore:
Timestamp:
2008/11/19 18:29:54 (15 years ago)
Author:
homan
Message:

#395, #397のお支払方法の一連の不具合修正(comu-ver2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/pages/shopping/LC_Page_Shopping_Payment.php

    r17700 r17711  
    114114            // 入力値の変換 
    115115            $this->objFormParam->convParam(); 
    116             $this->arrErr = $this->lfCheckError($this->arrData ); 
     116            $this->arrErr = $this->lfCheckError($this->arrData, $arrInfo, $objCartSess); 
    117117            // 入力エラーなし 
    118118            if(count($this->arrErr) == 0) { 
     
    239239            // 入力値の変換 
    240240            $this->objFormParam->convParam(); 
    241             $this->arrErr = $this->lfCheckError($this->arrData); 
     241            $this->arrErr = $this->lfCheckError($this->arrData, $arrInfo, $objCartSess); 
    242242            if (!isset($this->arrErr['payment_id'])) { 
    243243                // 支払い方法の入力エラーなし 
     
    255255            // 入力値の変換 
    256256            $this->objFormParam->convParam(); 
    257             $this->arrErr = $this->lfCheckError($this->arrData ); 
     257            $this->arrErr = $this->lfCheckError($this->arrData, $arrInfo, $objCartSess); 
    258258            // 入力エラーなし 
    259259            if(count($this->arrErr) == 0) { 
     
    366366 
    367367    /* 入力内容のチェック */ 
    368     function lfCheckError($arrData) { 
     368    function lfCheckError($arrData, $arrInfo, $objCartSess) { 
    369369        // 入力データを渡す。 
    370370        $arrRet =  $this->objFormParam->getHashArray(); 
     
    395395        } 
    396396         
    397         $objView = new SC_MobileView(); 
    398         $objSiteInfo = $objView->objSiteInfo; 
    399         $arrInfo = $objSiteInfo->data; 
    400         $objCartSess = new SC_CartSession(); 
    401         $arrInfo = $objSiteInfo->data; 
    402397        // 購入金額の取得得 
    403398        $total_pretax = $objCartSess->getAllProductsTotal($arrInfo); 
     
    411406            } 
    412407        } 
    413         if ($pay_flag) { 
     408        if ($pay_flag && $arrRet['payment_id'] != "") { 
    414409            SC_Utils_Ex::sfDispSiteError(CUSTOMER_ERROR); 
    415410        } 
Note: See TracChangeset for help on using the changeset viewer.