Ignore:
Timestamp:
2007/11/15 10:32:06 (15 years ago)
Author:
satou
Message:

【ペイジェント決済モジュールの修正】
・ATM決済と銀行決済において、カナ文字に半長音が入るとエラーになる。
・銀行決済において、応答のない銀行があるため、購入完了できない。
上記2点を修正しました。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/beta/data/downloads/module/mdl_paygent/mdl_paygent.inc

    r16763 r16787  
    6969    PAYGENT_ATM => ORDER_PAY_WAIT,      // ATM·èºÑ¤ÏÆþ¶âÂÔ¤Á 
    7070    PAYGENT_CONVENI => ORDER_PAY_WAIT,  // ¥³¥ó¥Ó¥Ë¤ÏÆþ¶âÂÔ¤Á 
    71     PAYGENT_BANK => ORDER_NEW,          // ¶ä¹Ô¤Ï¿·µ¬¼õÉÕ 
     71    PAYGENT_BANK => ORDER_PAY_WAIT,     // ¶ä¹Ô¤ÏÆþ¶âÂÔ¤Á 
    7272); 
    7373 
     
    173173     
    174174    /** ¸ÄÊÌÅÅʸ **/ 
    175      
    176175    // ·èºÑ¶â³Û 
    177176    $arrSend['payment_amount'] = $arrData['payment_total']; 
     
    182181    // »Ùʧ¤¤¶èʬ¡¢Ê¬³ä²ó¿ô¤Î¼èÆÀ 
    183182    list($payment_class, $split_count) = split("-", $arrInput['payment_class']); 
    184          
    185183    // »Ùʧ¤¤¶èʬ 
    186184    /* 
     
    231229     
    232230    /** ¸ÄÊÌÅÅʸ **/ 
    233      
    234231    // ·èºÑ¶â³Û 
    235232    $arrSend['payment_amount'] = $arrData['payment_total']; 
     
    287284    $arrSend = sfGetPaygentShare(PAYGENT_ATM, $arrData['order_id'], $arrPaymentDB[0]); 
    288285     
    289      
    290286    /** ¸ÄÊÌÅÅʸ **/ 
    291      
    292287    // ·èºÑ¶â³Û 
    293288    $arrSend['payment_amount'] = $arrData['payment_total']; 
    294  
    295289    // ÍøÍѼÔÀ« 
    296290    $arrSend['customer_family_name'] = $arrInput['customer_family_name']; 
     
    299293    // ÍøÍѼÔÀ«È¾³Ñ¥«¥Ê 
    300294    $arrSend['customer_family_name_kana'] = mb_convert_kana($arrInput['customer_family_name_kana'],'k'); 
     295    $arrSend['customer_family_name_kana'] = preg_replace("/Ž°/", "-", $arrSend['customer_family_name_kana']); 
    301296    // ÍøÍѼÔ̾Ⱦ³Ñ¥«¥Ê 
    302297    $arrSend['customer_name_kana'] = mb_convert_kana($arrInput['customer_name_kana'],'k'); 
     298    $arrSend['customer_name_kana'] = preg_replace("/Ž°/", "-", $arrSend['customer_name_kana']); 
    303299    // ·èºÑÆâÍÆ 
    304300    $arrSend['payment_detail'] = $arrOtherParam['payment_detail']; 
    305301    // ·èºÑÆâÍÆȾ³Ñ¥«¥Ê 
    306302    $arrSend['payment_detail_kana'] = mb_convert_kana($arrOtherParam['payment_detail'],'k'); 
     303    $arrSend['payment_detail_kana'] = preg_replace("/Ž°/", "-", $arrSend['payment_detail_kana']); 
    307304    // »Ùʧ´ü¸ÂÆü 
    308305    $arrSend['payment_limit_date'] = $arrOtherParam['payment_limit_date']; 
     
    345342 
    346343    /** ¸ÄÊÌÅÅʸ **/ 
    347      
    348344    //$arrSend['bank_code'] = $arrInput['bank_code'];    
    349345    // ·èºÑ¶â³Û 
    350346    $arrSend['amount'] = $arrData['payment_total']; 
    351347    // ÀÁµáÆâÍÆ¥«¥Ê 
    352     $arrSend['claim_kana'] = $arrOtherParam['claim_kana']; 
     348    $arrSend['claim_kana'] = mb_convert_kana($arrOtherParam['claim_kana'],'k'); 
     349    $arrSend['claim_kana'] = preg_replace("/Ž°/", "-", $arrSend['claim_kana']); 
    353350    // ÀÁµáÆâÍÆ´Á»ú 
    354351    $arrSend['claim_kanji'] = $arrOtherParam['claim_kanji'];     
     
    359356    // ÍøÍѼÔÀ«È¾³Ñ¥«¥Ê 
    360357    $arrSend['customer_family_name_kana'] = mb_convert_kana($arrInput['customer_family_name_kana'],'k'); 
     358    $arrSend['customer_family_name_kana'] = preg_replace("/Ž°/", "-", $arrSend['customer_family_name_kana']); 
    361359    // ÍøÍѼÔ̾Ⱦ³Ñ¥«¥Ê 
    362360    $arrSend['customer_name_kana'] = mb_convert_kana($arrInput['customer_name_kana'],'k'); 
     361    $arrSend['customer_name_kana'] = preg_replace("/Ž°/", "-", $arrSend['customer_name_kana']); 
    363362    // PC-Mobile¶èʬ 
    364363    /* 
     
    370369    $arrSend['pc_mobile_type'] = '0'; 
    371370    // ŹÊÞ̾ 
    372     $arrSend['merchant_name'] = $arrOtherParam['claim_kanji'];   
     371    $arrSend['merchant_name'] = $arrOtherParam['claim_kanji']; 
    373372    // ´°Î»¸å¤ÎÌá¤ê£Õ£Ò£Ì  
    374     $arrSend['return_url'] = SSL_URL . "shopping/load_payment_module.php"; 
     373    $arrSend['return_url'] = SITE_URL. "index.php"; 
    375374    // Ìá¤ê¥Ü¥¿¥ó£Õ£Ò£Ì  
    376     $arrSend['stop_return_url'] = SSL_URL . "shopping/load_payment_module.php"; 
    377      
     375    $arrSend['stop_return_url'] = SSL_URL. "shopping/load_payment_module.php"; 
    378376    // ¥³¥Ô¡¼¥é¥¤¥È  
    379377    $arrSend['copy_right'] = $arrOtherParam['copy_right']; 
Note: See TracChangeset for help on using the changeset viewer.