Changeset 8232


Ignore:
Timestamp:
2006/11/10 18:46:49 (20 years ago)
Author:
kakinaka
Message:

blank

Location:
temp/trunk/data/downloads/module/mdl_epsilon
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/downloads/module/mdl_epsilon/convenience.php

    r8231 r8232  
    7575        if(count($arrErr) <= 0){ 
    7676            // Á÷¿®¥Ç¡¼¥¿À¸À® 
     77            $item_name = $arrMainProduct["name"] . "¡ß" . $arrMainProduct["quantity"] . "¸Ä (Âåɽ)"; 
    7778            $arrSendData = array( 
    7879                'contract_code' => $arrPayment[0]["memo01"],                        // ·ÀÌ󥳡¼¥É 
     
    8283                'order_number' => $arrData["order_id"],                             // ¥ª¡¼¥À¡¼ÈÖ¹æ 
    8384                'item_code' => $arrMainProduct["product_code"],                     // ¾¦ÉÊ¥³¡¼¥É(Âåɽ) 
    84                 'item_name' => $arrMainProduct["name"] . "¡ß" . $arrMainProduct["quantity"] . "¸Ä (Âåɽ)",                              // ¾¦ÉÊ̾(Âåɽ) 
     85                'item_name' => $item_name,                                          // ¾¦ÉÊ̾(Âåɽ) 
    8586                'item_price' => $arrData["payment_total"],                          // ¾¦ÉʲÁ³Ê(Àǹþ¤ßÁí³Û) 
    8687                'st_code' => $arrPayment[0]["memo04"],                              // ·èºÑ¶èʬ 
     
    8889                'process_code' => '1',                                              // ½èÍý¶èʬ(¸ÇÄê) 
    8990                'xml' => '1',                                                       // ±þÅú·Á¼°(¸ÇÄê) 
    90                  
    9191                'conveni_code' => $_POST["convenience"],                            // ¥³¥ó¥Ó¥Ë¥³¡¼¥É 
    9292                'user_tel' => $_POST["order_tel01"].$_POST["order_tel02"].$_POST["order_tel03"],    // ÅÅÏÃÈÖ¹æ 
    9393                'user_name_kana' => $_POST["order_kana01"].$_POST["order_kana02"],                  // »á̾(¥«¥Ê) 
    9494                'haraikomi_mail' => 0,                                              // ʧ¹þ¥á¡¼¥ë(Á÷¿®¤·¤Ê¤¤) 
    95                  
    9695                'memo1' => ECCUBE_PAYMENT . "_" . date("YmdHis"),                   // ͽÈ÷01 
    9796                'memo2' => ''                                                       // ͽÈ÷02 
  • temp/trunk/data/downloads/module/mdl_epsilon/mdl_epsilon.php

    r8126 r8232  
    8484            // ¥¯¥ì¥¸¥Ã¥È¤Ë¥Á¥§¥Ã¥¯¤¬Æþ¤Ã¤Æ¤¤¤ì¤Ð¥¯¥ì¥¸¥Ã¥È¤òÅÐÏ¿¤¹¤ë 
    8585            if($val == 1){ 
    86                 $visa = "1"; 
    87                 $jcb = "0"; 
     86                (in_array(1, $_POST["credit"])) ? $visa = "1" : $visa = "0"; 
     87                (in_array(2, $_POST["credit"])) ? $jcb = "1" : $jcb = "0"; 
    8888                $arrData = array(            
    8989                    "payment_method" => "Epsilon¥¯¥ì¥¸¥Ã¥È" 
     
    160160    $objFormParam->addParam("ÀܳÀèURL", "url", URL_LEN, "KVa", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "URL_CHECK")); 
    161161    $objFormParam->addParam("ÍøÍÑ·èºÑ", "payment", "", "", array("EXIST_CHECK")); 
     162    $objFormParam->addParam("ÍøÍÑ¥¯¥ì¥¸¥Ã¥È", "credit");     
    162163    $objFormParam->addParam("ÍøÍÑ¥³¥ó¥Ó¥Ë", "convenience");  
    163164    return $objFormParam; 
     
    173174    $arrChkPay = $_POST["payment"]; 
    174175    foreach((array)$arrChkPay as $key => $val){ 
     176        // ÍøÍÑ¥¯¥ì¥¸¥Ã¥È 
     177        if($val == 1 and count($_POST["credit"]) <= 0){ 
     178            $arrErr["credit"] = "ÍøÍÑ¥¯¥ì¥¸¥Ã¥È¤¬ÁªÂò¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£<br />"; 
     179        } 
    175180        // ÍøÍÑ¥³¥ó¥Ó¥Ë 
    176181        if($val == 2 and count($_POST["convenience"]) <= 0){ 
     
    230235            return $arrRet; 
    231236    } 
    232      
     237 
    233238    // ¥³¥ó¥Ó¥Ë»ØÄ꤬¤¢¤ì¤Ð¥³¥ó¥Ó¥Ëʬ¥ë¡¼¥×¤·¡¢¥Á¥§¥Ã¥¯¤ò¹Ô¤¦ 
    234239    if(count($_POST["convenience"]) > 0){ 
Note: See TracChangeset for help on using the changeset viewer.