diff --git a/shop/kakaopay/lgcns_CNSpay.php b/shop/kakaopay/lgcns_CNSpay.php index 80ebbf25f..2812e2ea5 100644 --- a/shop/kakaopay/lgcns_CNSpay.php +++ b/shop/kakaopay/lgcns_CNSpay.php @@ -395,13 +395,16 @@ } public function writeLog($strLogText) { $log_string = ""; - $exclude = array('MID', 'merchantEncKey', 'merchantHashKey', 'CancelPwd'); + $exclude = array('MID', 'merchantEncKey', 'merchantHashKey', 'CancelPwd', 'site_cd', 'def_site_cd', 'CST_MID', 'LGD_MID'); if (is_array($strLogText)) { $log_string = "[".date("Y/m/d H:i:s")."] \r\n"; foreach (array_keys($strLogText) as $key) { if(in_array($key, $exclude)) continue; + if(preg_match('#^od_.+$#', $key)) + continue; + $log_string = $log_string." [".$key."] => ".$strLogText[$key]."\r\n"; } } else { diff --git a/shop/orderformupdate.php b/shop/orderformupdate.php index 7447ba0b0..823423441 100644 --- a/shop/orderformupdate.php +++ b/shop/orderformupdate.php @@ -2,7 +2,7 @@ include_once('./_common.php'); include_once(G5_LIB_PATH.'/mailer.lib.php'); -if($od_settle_case != '무통장' && $default['de_pg_service'] == 'lg' && !$_POST['LGD_PAYKEY']) +if(($od_settle_case != '무통장' && $od_settle_case != 'KAKAOPAY') && $default['de_pg_service'] == 'lg' && !$_POST['LGD_PAYKEY']) alert('결제등록 요청 후 주문해 주십시오.'); // 장바구니가 비어있는가?