diff --git a/plugin/lgxpay/AuthOnlyRes.php b/plugin/lgxpay/AuthOnlyRes.php index cc6b882cc..c16bfa633 100644 --- a/plugin/lgxpay/AuthOnlyRes.php +++ b/plugin/lgxpay/AuthOnlyRes.php @@ -80,9 +80,6 @@ if ($xpay->TX()) { echo "

"; */ - // 인증내역기록 - @insert_cert_history($member['mb_id'], 'lg', 'hp'); - if( "0000" == $xpay->Response_Code() ) { //인증요청 결과 성공 DB처리 //echo "인증요청 결과 성공 DB처리하시기 바랍니다.
"; @@ -153,6 +150,10 @@ if ($xpay->TX()) { set_session("ss_cert_birth", $birth_day); set_session("ss_cert_sex", $mb_sex); set_session('ss_cert_dupinfo', $mb_dupinfo); + + // 인증내역기록 + @insert_cert_history($member['mb_id'], 'lg', 'hp'); + } else { //인증요청 결과 실패 DB처리 //echo "인증요청 결과 실패 DB처리하시기 바랍니다.
"; @@ -161,10 +162,10 @@ if ($xpay->TX()) { echo ''.PHP_EOL; } else { - alert_close('인증요청이 실패하였습니다.\\n\\n코드 : '.$xpay->Response_Code().' '.$xpay->Response_Msg()); + alert_close('인증요청이 취소 또는 실패하였습니다.\\n\\n코드 : '.$xpay->Response_Code().' '.$xpay->Response_Msg()); } exit; }