Ignore:
Timestamp:
2007/08/29 19:31:47 (13 years ago)
Author:
naka
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-zeus/data/downloads/module/mdl_zeus/mdl_zeus.inc

    r15429 r15431  
    4242    $sql = "SELECT  
    4343                module_id,  
    44                 memo01 as merchant_id,  
    45                 memo02 as connect_id,  
    46                 memo03 as payment, 
    47                 memo04 as connect_password,  
    48                 memo05 as other_param 
     44                memo01 as clientip 
    4945            FROM dtb_payment WHERE module_id = ? " . $where; 
    5046    $arrRet = $objQuery->getall($sql, $arrVal); 
    5147 
    52     return $arrRet; 
     48    return $arrRet[0]; 
    5349} 
    5450 
     
    6258 **************************************************************************************************************/ 
    6359function sfPostPaymentData($arrData, $arrInput){ 
     60    $arrPaymentDB = sfGetPaymentDB(MDL_ZEUS_ID); 
    6461    $arrPost = array( 
    65         'clientip' => '94181', 
     62        'clientip' => $arrPaymentDB['clientip'], 
    6663        'cardnumber' => $arrInput['card_no01'].$arrInput['card_no02'].$arrInput['card_no03'].$arrInput['card_no04'], 
    6764        'expyy' => $arrInput['card_year'], 
Note: See TracChangeset for help on using the changeset viewer.