Ignore:
Timestamp:
2008/11/06 16:07:37 (18 years ago)
Author:
takegami
Message:

#397-392 モバイル解決

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-1/html/mobile/nonmember/payment.php

    r15120 r17690  
    220220        } 
    221221    } 
     222     
     223   //¤ª»ÙʧÊýË¡¤ÎÀ°¹çÀ­ 
     224    $objView = new SC_SiteView(); 
     225    $objSiteInfo = $objView->objSiteInfo; 
     226    $arrInfo = $objSiteInfo->data; 
     227    $objCartSess = new SC_CartSession(); 
     228    $arrInfo = $objSiteInfo->data; 
     229    // ¹ØÆþ¶â³Û¤Î¼èÆÀÆÀ 
     230    $total_pretax = $objCartSess->getAllProductsTotal($arrInfo); 
     231    // »Ùʧ¤¤ÊýË¡¤Î¼èÆÀ 
     232    $arrPayment = lfGetPayment($total_pretax); 
     233    $pay_flag = true; 
     234    foreach ($arrPayment as $key => $payment) { 
     235        if ($payment['payment_id'] == $arrRet['payment_id']) { 
     236                $pay_flag = false; 
     237                break; 
     238            } 
     239    } 
     240    if ($pay_flag) { 
     241        sfDispSiteError(CUSTOMER_ERROR); 
     242    } 
     243     
    222244    return $objErr->arrErr; 
    223245} 
Note: See TracChangeset for help on using the changeset viewer.