Changeset 16913 for branches


Ignore:
Timestamp:
2007/12/14 14:56:26 (19 years ago)
Author:
naka
Message:

ゼウス決済モジュール一時アップ

Location:
branches/beta/data/downloads/module/mdl_zeus
Files:
5 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/beta/data/downloads/module/mdl_zeus/mdl_zeus.inc

    r16861 r16913  
    6161 * Ìá¤êÃÍ   ¡§¼èÆÀ·ë²Ì 
    6262 **************************************************************************************************************/ 
    63 function sfPostPaymentData($arrData, $arrInput, $quick_chage = false){ 
     63function sfPostPaymentData($arrData, $arrInput, $quick_charge = false){ 
    6464    $arrPaymentDB = sfGetPaymentDB(MDL_ZEUS_ID); 
    6565     
    66     if(!$quick_chage) { 
     66    if(!$quick_charge) { 
    6767        $arrPost = array( 
    6868            'clientip' => $arrPaymentDB['clientip'], 
     
    151151    return $arrVal; 
    152152} 
     153 
    153154/************************************************************************************************************** 
    154155 * ´Ø¿ô̾   ¡§sfZeusDisp 
     
    167168    return $objPage; 
    168169} 
     170 
     171/************************************************************************************************************** 
     172 * ´Ø¿ô̾  ¡§sfEnableQuickCharge 
     173 * ½èÍýÆâÍÆ ¡§¥¯¥¤¥Ã¥¯¥Á¥ã¡¼¥¸¤Î»ÈÍÑȽÄê 
     174 * °ú¿ô1  ¡§ 
     175 * °ú¿ô2  ¡§ 
     176 * °ú¿ô3  ¡§ 
     177 * Ìá¤êÃÍ  ¡§¼èÆÀ·ë²Ì 
     178 **************************************************************************************************************/ 
     179function sfEnableQuickCharge($customer_id) { 
     180    $objQuery = new SC_Query(); 
     181    $objQuery->setlimit(1); 
     182    $objQuery->setorder("create_date DESC"); 
     183    $col = "order_id, order_tel01, order_tel02, order_tel03"; 
     184    $where = "memo01 = ? AND memo03 = ? AND customer_id = ?"; 
     185    $arrRet = $objQuery->select($col, "dtb_order", $where, array(MDL_ZEUS_ID, 'Success_order', $customer_id)); 
     186    if(count($arrRet) > 0 && $customer_id > 0) { 
     187        return true; 
     188    } 
     189    return false; 
     190} 
     191 
     192 
    169193?> 
Note: See TracChangeset for help on using the changeset viewer.