fix : 결제, 취소 - 키움결제 네이버페이 CPID 관련 적용
This commit is contained in:
@@ -1570,10 +1570,10 @@ public class BOPayService{
|
|||||||
String authKey = resultMap.get("kcpSecretKey").toString();
|
String authKey = resultMap.get("kcpSecretKey").toString();
|
||||||
String cpId = resultMap.get("kcpMid").toString();
|
String cpId = resultMap.get("kcpMid").toString();
|
||||||
// 개발서버 네이버페이 CPID 관련 적용 취소
|
// 개발서버 네이버페이 CPID 관련 적용 취소
|
||||||
// if ("naverpay".equals(payVO.getModGubun())) {
|
if ("naverpay".equals(payVO.getModGubun())) {
|
||||||
// authKey = resultMap.get("bpaySecretKey").toString();
|
authKey = resultMap.get("bpaySecretKey").toString();
|
||||||
// cpId = resultMap.get("bpayMid").toString();
|
cpId = resultMap.get("bpayMid").toString();
|
||||||
// }
|
}
|
||||||
|
|
||||||
String amount = payVO.getCancelAmount(); //취소금액
|
String amount = payVO.getCancelAmount(); //취소금액
|
||||||
String trxId = payVO.getTno(); //거래번호
|
String trxId = payVO.getTno(); //거래번호
|
||||||
|
|||||||
@@ -1120,7 +1120,7 @@ public class BORtngudrefndService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 개발서버 네이버페이 CPID 구분 적용 취소
|
// 개발서버 네이버페이 CPID 구분 적용 취소
|
||||||
// payVO.setModGubun(setle.getPgCmpnyNm()); //결제키 구분용
|
payVO.setModGubun(setle.getPgCmpnyNm()); //결제키 구분용
|
||||||
if ("kiwoom".equals(setle.getPgCmpnyNm())) {
|
if ("kiwoom".equals(setle.getPgCmpnyNm())) {
|
||||||
payVO.setPayMethod("CARD");
|
payVO.setPayMethod("CARD");
|
||||||
} else if ("naverpay".equals(setle.getPgCmpnyNm())) {
|
} else if ("naverpay".equals(setle.getPgCmpnyNm())) {
|
||||||
|
|||||||
@@ -642,12 +642,12 @@
|
|||||||
const kcpMid = '<c:out value="${data.payInfo.kcpMid}"/>';
|
const kcpMid = '<c:out value="${data.payInfo.kcpMid}"/>';
|
||||||
const bpayMid = '<c:out value="${data.payInfo.bpayMid}"/>';
|
const bpayMid = '<c:out value="${data.payInfo.bpayMid}"/>';
|
||||||
// 개발서버 네이버페이 CPID 구분 적용 취소
|
// 개발서버 네이버페이 CPID 구분 적용 취소
|
||||||
$(form).find('#siteCdMid').val(kcpMid);
|
// $(form).find('#siteCdMid').val(kcpMid);
|
||||||
// if('naverpay' === id) {
|
if('naverpay' === id) {
|
||||||
// $(form).find('#siteCdMid').val(bpayMid);
|
$(form).find('#siteCdMid').val(bpayMid);
|
||||||
// } else {
|
} else {
|
||||||
// $(form).find('#siteCdMid').val(kcpMid);
|
$(form).find('#siteCdMid').val(kcpMid);
|
||||||
// }
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
/* 결제예정금액 > 약관 전체동의 선택 이벤트 */
|
/* 결제예정금액 > 약관 전체동의 선택 이벤트 */
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<jsp:include page="/WEB-INF/views/comm/mobile/Include.jsp"/>
|
<jsp:include page="/WEB-INF/views/comm/mobile/Include.jsp"/>
|
||||||
|
<spring:eval expression="@environment.getProperty('currency-unit.default')" var="curUnit"/>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -388,7 +389,7 @@
|
|||||||
</c:if>
|
</c:if>
|
||||||
<p class="orderDetailProduct__info__quantity"><c:out value="${goods.ordrQy}"/>개<span
|
<p class="orderDetailProduct__info__quantity"><c:out value="${goods.ordrQy}"/>개<span
|
||||||
class="orderDetailProduct__info__dot">·</span><span
|
class="orderDetailProduct__info__dot">·</span><span
|
||||||
class="comma"><c:out value="${goods.applyDscntAmt}"/></span>원
|
class="comma"><c:out value="${goods.applyDscntAmt}"/></span>${curUnit}
|
||||||
</p>
|
</p>
|
||||||
<div class="orderDetailProduct__cancel">
|
<div class="orderDetailProduct__cancel">
|
||||||
<input type="hidden" class="sopmalCd" value="${goods.sopmalCd}"/>
|
<input type="hidden" class="sopmalCd" value="${goods.sopmalCd}"/>
|
||||||
@@ -459,7 +460,7 @@
|
|||||||
</c:if>
|
</c:if>
|
||||||
<p class="orderDetailProduct__info__quantity"><c:out value="${goods.ordrQy}"/>개<span
|
<p class="orderDetailProduct__info__quantity"><c:out value="${goods.ordrQy}"/>개<span
|
||||||
class="orderDetailProduct__info__dot">·</span><span
|
class="orderDetailProduct__info__dot">·</span><span
|
||||||
class="comma"><c:out value="${goods.applyDscntAmt}"/></span>원
|
class="comma"><c:out value="${goods.applyDscntAmt}"/></span>${curUnit}
|
||||||
</p>
|
</p>
|
||||||
<div class="orderDetailProduct__cancel">
|
<div class="orderDetailProduct__cancel">
|
||||||
<input type="hidden" class="sopmalCd" value="${goods.sopmalCd}"/>
|
<input type="hidden" class="sopmalCd" value="${goods.sopmalCd}"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user