Update orderpay.pgkcp.1.js

This commit is contained in:
Namhyeon Go 2019-10-14 01:44:39 +09:00 committed by GitHub
parent a4e8152d4c
commit 0a8f5eec28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,20 +17,27 @@ function m_Completepayment( FormOrJson, closeEvent )
/********************************************************************/
GetField( frm, FormOrJson );
if( frm.res_cd.value == "0000" )
{
alert("결제 승인 요청 전,\n\n반드시 결제창에서 고객님이 결제 인증 완료 후\n\n리턴 받은 ordr_chk 와 업체 측 주문정보를\n\n다시 한번 검증 후 결제 승인 요청하시기 바랍니다."); //업체 연동 시 필수 확인 사항.
/*
가맹점 리턴값 처리 영역
*/
frm.submit();
}
else
{
alert("[" + frm.res_cd.value + "] " + frm.res_msg.value);
closeEvent();
if(frm.res_cd.value == "3001") {
if(window.opener && !window.opener.closed) {
window.close();
self.close();
this.close();
} else {
window.location.href = "/";
}
}
}
}