Changeset 8232
- Timestamp:
- 2006/11/10 18:46:49 (20 years ago)
- Location:
- temp/trunk/data/downloads/module/mdl_epsilon
- Files:
-
- 3 edited
-
convenience.php (modified) (3 diffs)
-
mdl_epsilon.php (modified) (4 diffs)
-
mdl_epsilon.tpl (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/downloads/module/mdl_epsilon/convenience.php
r8231 r8232 75 75 if(count($arrErr) <= 0){ 76 76 // Á÷¿®¥Ç¡¼¥¿À¸À® 77 $item_name = $arrMainProduct["name"] . "¡ß" . $arrMainProduct["quantity"] . "¸Ä (Âåɽ)"; 77 78 $arrSendData = array( 78 79 'contract_code' => $arrPayment[0]["memo01"], // ·ÀÌ󥳡¼¥É … … 82 83 'order_number' => $arrData["order_id"], // ¥ª¡¼¥À¡¼ÈÖ¹æ 83 84 'item_code' => $arrMainProduct["product_code"], // ¾¦ÉÊ¥³¡¼¥É(Âåɽ) 84 'item_name' => $ arrMainProduct["name"] . "¡ß" . $arrMainProduct["quantity"] . "¸Ä (Âåɽ)",// ¾¦ÉÊ̾(Âåɽ)85 'item_name' => $item_name, // ¾¦ÉÊ̾(Âåɽ) 85 86 'item_price' => $arrData["payment_total"], // ¾¦ÉʲÁ³Ê(Àǹþ¤ßÁí³Û) 86 87 'st_code' => $arrPayment[0]["memo04"], // ·èºÑ¶èʬ … … 88 89 'process_code' => '1', // ½èÍý¶èʬ(¸ÇÄê) 89 90 'xml' => '1', // ±þÅú·Á¼°(¸ÇÄê) 90 91 91 'conveni_code' => $_POST["convenience"], // ¥³¥ó¥Ó¥Ë¥³¡¼¥É 92 92 'user_tel' => $_POST["order_tel01"].$_POST["order_tel02"].$_POST["order_tel03"], // ÅÅÏÃÈÖ¹æ 93 93 'user_name_kana' => $_POST["order_kana01"].$_POST["order_kana02"], // »á̾(¥«¥Ê) 94 94 'haraikomi_mail' => 0, // ʧ¹þ¥á¡¼¥ë(Á÷¿®¤·¤Ê¤¤) 95 96 95 'memo1' => ECCUBE_PAYMENT . "_" . date("YmdHis"), // ͽÈ÷01 97 96 'memo2' => '' // ͽÈ÷02 -
temp/trunk/data/downloads/module/mdl_epsilon/mdl_epsilon.php
r8126 r8232 84 84 // ¥¯¥ì¥¸¥Ã¥È¤Ë¥Á¥§¥Ã¥¯¤¬Æþ¤Ã¤Æ¤¤¤ì¤Ð¥¯¥ì¥¸¥Ã¥È¤òÅÐÏ¿¤¹¤ë 85 85 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"; 88 88 $arrData = array( 89 89 "payment_method" => "Epsilon¥¯¥ì¥¸¥Ã¥È" … … 160 160 $objFormParam->addParam("ÀܳÀèURL", "url", URL_LEN, "KVa", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "URL_CHECK")); 161 161 $objFormParam->addParam("ÍøÍÑ·èºÑ", "payment", "", "", array("EXIST_CHECK")); 162 $objFormParam->addParam("ÍøÍÑ¥¯¥ì¥¸¥Ã¥È", "credit"); 162 163 $objFormParam->addParam("ÍøÍÑ¥³¥ó¥Ó¥Ë", "convenience"); 163 164 return $objFormParam; … … 173 174 $arrChkPay = $_POST["payment"]; 174 175 foreach((array)$arrChkPay as $key => $val){ 176 // ÍøÍÑ¥¯¥ì¥¸¥Ã¥È 177 if($val == 1 and count($_POST["credit"]) <= 0){ 178 $arrErr["credit"] = "ÍøÍÑ¥¯¥ì¥¸¥Ã¥È¤¬ÁªÂò¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£<br />"; 179 } 175 180 // ÍøÍÑ¥³¥ó¥Ó¥Ë 176 181 if($val == 2 and count($_POST["convenience"]) <= 0){ … … 230 235 return $arrRet; 231 236 } 232 237 233 238 // ¥³¥ó¥Ó¥Ë»ØÄ꤬¤¢¤ì¤Ð¥³¥ó¥Ó¥Ëʬ¥ë¡¼¥×¤·¡¢¥Á¥§¥Ã¥¯¤ò¹Ô¤¦ 234 239 if(count($_POST["convenience"]) > 0){
Note: See TracChangeset
for help on using the changeset viewer.
