Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
NHN_KCP 모바일 네이버페이 간편결제시 iframe이 아닌 페이지전환으로 되게 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
thisgun committed Oct 28, 2020
1 parent 0fe0567 commit 0f428de
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions mobile/shop/kcp/order_approval_form.php
Expand Up @@ -167,10 +167,13 @@ function call_pay_form()
layer_cont_obj.style.display = "none"; layer_cont_obj.style.display = "none";
layer_receipt_obj.style.display = "block"; layer_receipt_obj.style.display = "block";


v_frm.target = "frm_receipt";

// 네이버페이면 반드시 페이지전환 방식이어야 하며, 그 외에는 iframe 방식으로 한다. // 네이버페이면 반드시 페이지전환 방식이어야 하며, 그 외에는 iframe 방식으로 한다.
if(!(typeof v_frm.naverpay_direct !== "undefined" && v_frm.naverpay_direct.value === 1)) { // 네이버페이가 아니면 if(typeof v_frm.naverpay_direct !== "undefined" && v_frm.naverpay_direct.value == "Y") {
v_frm.target = "frm_receipt"; v_frm.target = "";
} }

v_frm.action = PayUrl; v_frm.action = PayUrl;


if(v_frm.Ret_URL.value == "") if(v_frm.Ret_URL.value == "")
Expand Down

0 comments on commit 0f428de

Please sign in to comment.