Ignore:
Timestamp:
2008/11/06 15:43:44 (15 years ago)
Author:
takegami
Message:

#388 解決

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2/data/class/pages/shopping/LC_Page_Shopping_Payment.php

    r16741 r17685  
    387387            } 
    388388        } 
     389         
     390        $objView = new SC_MobileView(); 
     391        $objSiteInfo = $objView->objSiteInfo; 
     392        $arrInfo = $objSiteInfo->data; 
     393        $objCartSess = new SC_CartSession(); 
     394        $arrInfo = $objSiteInfo->data; 
     395        // 購入金額の取得得 
     396        $total_pretax = $objCartSess->getAllProductsTotal($arrInfo); 
     397        // 支払い方法の取得 
     398        $arrPayment = $this->lfGetPayment($total_pretax); 
     399        $pay_flag = true; 
     400        foreach ($arrPayment as $key => $payment) { 
     401            if ($payment['payment_id'] == $arrRet['payment_id']) { 
     402                $pay_flag = false; 
     403                break; 
     404            } 
     405        } 
     406        if ($pay_flag) { 
     407            SC_Utils_Ex::sfDispSiteError(CUSTOMER_ERROR); 
     408        } 
     409         
    389410        return $objErr->arrErr; 
    390411    } 
Note: See TracChangeset for help on using the changeset viewer.