Changeset 16580


Ignore:
Timestamp:
2007/10/28 18:52:54 (16 years ago)
Author:
naka
Message:

ペイジェント決済result判定の修正

Location:
branches/feature-module-paygent/data/downloads/module/mdl_paygent
Files:
4 edited

Legend:

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

    r16579 r16580  
    405405    $responseDetail = mb_convert_encoding($responseDetail, CHAR_CODE, "Shift-JIS");  
    406406     
    407     $arrRetOther['result'] = $resultStatus; 
    408     $arrRetOther['code'] = $responseCode; 
    409     $arrRetOther['detail'] = $responseDetail; 
     407    $arrResOther['result'] = $resultStatus; 
     408    $arrResOther['code'] = $responseCode; 
     409    $arrResOther['detail'] = $responseDetail; 
    410410     
    411411    // ¼èÆÀ¤·¤¿Ãͤò¥í¥°¤ËÊݸ¤¹¤ë¡£ 
    412     foreach($arrRetOther as $key => $val) { 
     412    foreach($arrResOther as $key => $val) { 
    413413        gfPrintLog($key."->".$val); 
    414414    } 
    415      
     415         
    416416    // ¥ì¥¹¥Ý¥ó¥¹¤Î¼èÆÀ 
    417417    while($objPaygent->hasResNext()) { 
     
    419419        $arrRes[] = $objPaygent->resNext(); # Í×µá·ë²Ì¼èÆÀ 
    420420    } 
     421     
     422    $arrRes[0]['result'] = $resultStatus;  
    421423     
    422424    // ¼èÆÀ¤·¤¿Ãͤò¥í¥°¤ËÊݸ¤¹¤ë¡£ 
  • branches/feature-module-paygent/data/downloads/module/mdl_paygent/paygent_atm.php

    r15244 r16580  
    6969         
    7070        // À®¸ù 
    71         if($arrRet['payment_id'] != "") { 
     71        if($arrRet['result'] == 0) { 
    7272            // Àµ¾ï¤ËÅÐÏ¿¤µ¤ì¤¿¤³¤È¤òµ­Ï¿¤·¤Æ¤ª¤¯ 
    7373            $objSiteSess->setRegistFlag(); 
  • branches/feature-module-paygent/data/downloads/module/mdl_paygent/paygent_conveni.php

    r15244 r16580  
    6868         
    6969        // À®¸ù 
    70         if($arrRet['payment_id'] != "") { 
     70        if($arrRet['result'] == 0) { 
    7171            // Àµ¾ï¤ËÅÐÏ¿¤µ¤ì¤¿¤³¤È¤òµ­Ï¿¤·¤Æ¤ª¤¯ 
    7272            $objSiteSess->setRegistFlag(); 
  • branches/feature-module-paygent/data/downloads/module/mdl_paygent/paygent_credit.php

    r15244 r16580  
    6868         
    6969        // À®¸ù 
    70         if($arrRet['payment_id'] != "") { 
     70        if($arrRet['result'] == 0) { 
    7171            // Àµ¾ï¤ËÅÐÏ¿¤µ¤ì¤¿¤³¤È¤òµ­Ï¿¤·¤Æ¤ª¤¯ 
    7272            $objSiteSess->setRegistFlag(); 
Note: See TracChangeset for help on using the changeset viewer.