From d1ee1eb4e15368584b6f08730133da50dae2661b Mon Sep 17 00:00:00 2001 From: thisgun Date: Thu, 12 Oct 2017 17:21:51 +0900 Subject: [PATCH] =?UTF-8?q?lgu=20=EB=B3=B8=EC=9D=B8=EC=9D=B8=EC=A6=9D=20?= =?UTF-8?q?=EA=B8=B0=EB=A1=9D=20=EA=B4=80=EB=A0=A8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/lgxpay/AuthOnlyRes.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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; }