Changeset 7926 for temp


Ignore:
Timestamp:
2006/11/08 21:33:40 (20 years ago)
Author:
kakinaka
Message:

blank

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

Legend:

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

    r7924 r7926  
    112112                'user_tel' => $_POST["order_tel01"].$_POST["order_tel02"].$_POST["order_tel03"],    // ÅÅÏÃÈÖ¹æ 
    113113                'user_name_kana' => $_POST["order_kana01"].$_POST["order_kana02"],                  // »á̾(¥«¥Ê) 
    114                 'haraikomi_mail' => 0,                                              // ʧ¹þ¥á¡¼¥ë(Á÷¿®¤·¤Ê¤¤) 
     114                'haraikomi_mail' => 1,                                              // ʧ¹þ¥á¡¼¥ë(Á÷¿®¤·¤Ê¤¤) 
    115115                 
    116116                'memo1' => ECCUBE_PAYMENT,                                          // ͽÈ÷01 
  • temp/trunk/data/downloads/module/mdl_epsilon/mdl_epsilon.inc

    r7925 r7926  
    8282        // »Ùʧ¤¤¶èʬ¤Ë¤è¤ê½èÍý¤ò¤ï¤±¤ë 
    8383        if($payment_kbn == PAYMENT_CONVENIENCE_ID){ 
     84             
     85            $conveni_code = sfGetXMLValue($arrVal,'RESULT','CONVENI_CODE'); // ¥³¥ó¥Ó¥Ë¥³¡¼¥É 
     86            $receipt_no   = sfGetXMLValue($arrVal,'RESULT','RECEIPT_NO');   // ʧ¹þɼÈÖ¹æ 
     87            $payment_url = sfGetXMLValue($arrVal,'RESULT','HARAIKOMI_URL'); // ʧ¹þɼURL(PC) 
     88            $company_code = sfGetXMLValue($arrVal,'RESULT','KIGYOU_CODE');  // ´ë¶È¥³¡¼¥É 
     89            $order_no = sfGetXMLValue($arrVal,'RESULT','ORDER_NUMBER');     // ¼õÉÕÈÖ¹æ 
     90            $tel = $_POST["order_tel01"]."-".$_POST["order_tel02"]."-".$_POST["order_tel03"];   // ÅÅÏÃÈÖ¹æ 
     91            $payment_limit = sfGetXMLValue($arrVal,'RESULT','CONVENI_LIMIT');   // »Ùʧ´üÆü 
     92             
    8493            //¥³¥ó¥Ó¥Ë¤Î¼ïÎà 
    85             /* 
    86             switch($_POST['convenience']) { 
     94            switch($conveni_code) { 
    8795            //¥»¥Ö¥ó¥¤¥ì¥Ö¥ó 
    8896            case '11': 
    89                 $arrRet['cv_type'] = '1';                                       //¥³¥ó¥Ó¥Ë¤Î¼ïÎà 
    90                 $arrRet['cv_payment_url'] = $arrResult[RES_HARAIKOMI_URL];      //ʧ¹þɼURL(PC) 
    91                 $arrRet['cv_receipt_no'] = $arrResult[RES_RECEIPT_NO];          //ʧ¹þɼÈÖ¹æ 
     97                $arrRet['cv_type'] = $conveni_code;                                 //¥³¥ó¥Ó¥Ë¤Î¼ïÎà 
     98                $arrRet['cv_payment_url'] = $payment_url;                       //ʧ¹þɼURL(PC) 
     99                $arrRet['cv_receipt_no'] = $receipt_no;     //ʧ¹þɼÈÖ¹æ 
    92100                break; 
    93101            //¥Õ¥¡¥ß¥ê¡¼¥Þ¡¼¥È 
    94102            case '21': 
    95                 $company_code = substr($arrResult[RES_RECEIPT_NO], 0, 5); 
    96                 $order_no = substr($arrResult[RES_RECEIPT_NO], 6, 12); 
    97                 $arrRet['cv_type'] = '2';                       //¥³¥ó¥Ó¥Ë¤Î¼ïÎà 
    98                 $arrRet['cv_company_code'] = $company_code; //´ë¶È¥³¡¼¥É 
    99                 $arrRet['cv_order_no'] = $order_no;         //¼õÉÕÈÖ¹æ 
     103                $arrRet['cv_type'] = $conveni_code;                         //¥³¥ó¥Ó¥Ë¤Î¼ïÎà 
     104                $arrRet['cv_company_code'] = $company_code;                 //´ë¶È¥³¡¼¥É 
     105                $arrRet['cv_order_no'] = $receipt_no;                           //¼õÉÕÈÖ¹æ 
    100106                break; 
    101107            //¥í¡¼¥½¥ó 
    102108            case '31': 
    103                 $arrRet['cv_type'] = '4';                                   //¥³¥ó¥Ó¥Ë¤Î¼ïÎà 
    104                 $arrRet['cv_receipt_no'] = $arrResult[RES_RECEIPT_NO];      //ʧ¹þɼÈÖ¹æ 
     109                $arrRet['cv_type'] = $conveni_code;             //¥³¥ó¥Ó¥Ë¤Î¼ïÎà 
     110                $arrRet['cv_receipt_no'] = $receipt_no;         //ʧ¹þɼÈÖ¹æ 
     111                $arrRet['cv_tel'] = $tel;           //ÅÅÏÃÈÖ¹æ 
    105112                break; 
    106113            //¥»¥¤¥³¡¼¥Þ¡¼¥È 
    107114            case '32': 
    108                 $arrRet['cv_type'] = '4';                                   //¥³¥ó¥Ó¥Ë¤Î¼ïÎà 
    109                 $arrRet['cv_receipt_no'] = $arrResult[RES_RECEIPT_NO];      //ʧ¹þɼÈÖ¹æ 
     115                $arrRet['cv_type'] = $conveni_code;                                 //¥³¥ó¥Ó¥Ë¤Î¼ïÎà 
     116                $arrRet['cv_receipt_no'] = $receipt_no;     //ʧ¹þɼÈÖ¹æ 
     117                $arrRet['cv_tel'] = $tel;           //ÅÅÏÃÈÖ¹æ 
    110118                break; 
    111119            //¥ß¥Ë¥¹¥È¥Ã¥× 
    112120            case '33': 
    113                 $mobile_url = preg_replace("/https:\/\/.+?\/JLPcon/","https://w2.kessai.info/JLM/JLMcon", $arrResult[RES_HARAIKOMI_URL]); 
    114                 $arrRet['cv_type'] = '3';                                       //¥³¥ó¥Ó¥Ë¤Î¼ïÎà 
    115                 $arrRet['cv_payment_url'] = $arrResult[RES_HARAIKOMI_URL];      //ʧ¹þɼURL 
    116                 $arrRet['cv_payment_mobile_url'] = $mobile_url;                 //ʧ¹þɼURL(¥â¥Ð¥¤¥ë) 
     121                $arrRet['cv_type'] = $conveni_code;                                     //¥³¥ó¥Ó¥Ë¤Î¼ïÎà 
     122                $arrRet['cv_payment_url'] = $payment_url;       //ʧ¹þɼURL 
    117123                break; 
    118124            //¥Ç¥¤¥ê¡¼¥ä¥Þ¥¶¥­ 
    119125            case '34': 
    120                 $arrRet['cv_type'] = '5';                                       //¥³¥ó¥Ó¥Ë¤Î¼ïÎà 
    121                 $arrRet['cv_payment_url'] = $arrResult[RES_HARAIKOMI_URL];      //ʧ¹þɼURL(PC) 
     126                $arrRet['cv_type'] = $conveni_code;                                     //¥³¥ó¥Ó¥Ë¤Î¼ïÎà 
     127                $arrRet['cv_payment_url'] = $payment_url;       //ʧ¹þɼURL 
    122128                break; 
    123129            } 
    124130             
    125131            //»Ùʧ´ü¸Â 
    126             $arrRet['cv_payment_limit'] = lfGetPayLimit(); 
     132            $arrRet['cv_payment_limit'] = $payment_limit; 
    127133            //¥³¥ó¥Ó¥Ë·èºÑ¾ðÊó¤ò³ÊǼ 
    128134            $sqlval['conveni_data'] = serialize($arrRet);            
    129             */ 
    130             sfprintr($arrVal); 
     135             
     136            sfprintr($arrRet); 
    131137            $url = URL_SHOP_COMPLETE; 
    132138 
Note: See TracChangeset for help on using the changeset viewer.