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