Ignore:
Timestamp:
2007/08/03 22:34:37 (14 years ago)
Author:
naka
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-paygent/data/downloads/module/mdl_paygent/paygent_atm.php

    r15168 r15180  
    2525$objSiteInfo = $objView->objSiteInfo; 
    2626$arrInfo = $objSiteInfo->data; 
    27  
    2827// ¥Ñ¥é¥á¡¼¥¿´ÉÍý¥¯¥é¥¹ 
    2928$objFormParam = new SC_FormParam(); 
     29 
     30// °ì»þ¼õÃí¥Æ¡¼¥Ö¥ë¤ÎÆɹþ 
     31$arrData = sfGetOrderTemp($uniqid); 
     32 
    3033// ¥Ñ¥é¥á¡¼¥¿¾ðÊó¤Î½é´ü²½ 
    31 lfInitParam(); 
     34lfInitParam($arrData); 
    3235// POSTÃͤμèÆÀ 
    3336$objFormParam->setParam($_POST); 
     
    3538// ¥«¡¼¥È½¸·×½èÍý 
    3639$objPage = sfTotalCart($objPage, $objCartSess, $arrInfo); 
    37  
    38 // °ì»þ¼õÃí¥Æ¡¼¥Ö¥ë¤ÎÆɹþ 
    39 $arrData = sfGetOrderTemp($uniqid); 
    4040 
    4141// ¥«¡¼¥È½¸·×¤ò¸µ¤ËºÇ½ª·×»» 
     
    6060        $arrInput = $objFormParam->getHashArray(); 
    6161        // ¥¯¥ì¥¸¥Ã¥ÈÅÅʸÁ÷¿® 
    62         list($result, $message) = sfSendPaygentATM($arrData, $arrInput, $uniqid);        
     62        $arrRet = sfSendPaygentATM($arrData, $arrInput, $uniqid);        
    6363         
    6464        // À®¸ù 
    65         if($result != "") { 
     65        if($arrRet['payment_id'] != "") { 
    6666            // Àµ¾ï¤ËÅÐÏ¿¤µ¤ì¤¿¤³¤È¤òµ­Ï¿¤·¤Æ¤ª¤¯ 
    6767            $objSiteSess->setRegistFlag(); 
     
    8484//------------------------------------------------------------------------------------------------------- 
    8585/* ¥Ñ¥é¥á¡¼¥¿¾ðÊó¤Î½é´ü²½ */ 
    86 function lfInitParam() { 
     86function lfInitParam($arrData) { 
    8787    global $objFormParam; 
    88     $objFormParam->addParam("ÍøÍѼÔÀ«", "customer_family_name", STEXT_LEN, "KVa", array("EXIST_CHECK", "MAX_LENGTH_CHECK")); 
    89     $objFormParam->addParam("ÍøÍѼÔ̾", "customer_name", STEXT_LEN, "KVa", array("EXIST_CHECK", "MAX_LENGTH_CHECK")); 
    90     $objFormParam->addParam("ÍøÍѼÔÀ«¥«¥Ê", "customer_family_name_kana", STEXT_LEN, "CKVa", array("EXIST_CHECK", "MAX_LENGTH_CHECK")); 
    91     $objFormParam->addParam("ÍøÍѼÔ̾¥«¥Ê", "customer_name_kana", STEXT_LEN, "CKVa", array("EXIST_CHECK", "MAX_LENGTH_CHECK")); 
    92     $objFormParam->addParam("·èºÑÆâÍÆ", "payment_detail", STEXT_LEN, "KVa", array("EXIST_CHECK", "MAX_LENGTH_CHECK")); 
    93     $objFormParam->addParam("·èºÑÆâÍÆ¥«¥Ê", "payment_detail_kana", STEXT_LEN, "CKVa", array("EXIST_CHECK", "MAX_LENGTH_CHECK")); 
     88    $objFormParam->addParam("ÍøÍѼÔÀ«", "customer_family_name", STEXT_LEN, "KVa", array("EXIST_CHECK", "MAX_LENGTH_CHECK"), $arrData['order_name01']); 
     89    $objFormParam->addParam("ÍøÍѼÔ̾", "customer_name", STEXT_LEN, "KVa", array("EXIST_CHECK", "MAX_LENGTH_CHECK"), $arrData['order_name02']); 
     90    $objFormParam->addParam("ÍøÍѼÔÀ«¥«¥Ê", "customer_family_name_kana", STEXT_LEN, "CKVa", array("EXIST_CHECK", "KANA_CHECK", "MAX_LENGTH_CHECK"), $arrData['order_kana01']); 
     91    $objFormParam->addParam("ÍøÍѼÔ̾¥«¥Ê", "customer_name_kana", STEXT_LEN, "CKVa", array("EXIST_CHECK", "KANA_CHECK", "MAX_LENGTH_CHECK"), $arrData['order_kana02']); 
    9492} 
    9593 
Note: See TracChangeset for help on using the changeset viewer.