fix : 결제, 취소 - 키움결제 네이버페이 CPID 관련 적용

This commit is contained in:
이대환
2026-08-12 12:24:39 +09:00
parent 2dee0d76b2
commit 40686ddba6
4 changed files with 14 additions and 13 deletions

View File

@@ -1570,10 +1570,10 @@ public class BOPayService{
String authKey = resultMap.get("kcpSecretKey").toString();
String cpId = resultMap.get("kcpMid").toString();
// 개발서버 네이버페이 CPID 관련 적용 취소
// if ("naverpay".equals(payVO.getModGubun())) {
// authKey = resultMap.get("bpaySecretKey").toString();
// cpId = resultMap.get("bpayMid").toString();
// }
if ("naverpay".equals(payVO.getModGubun())) {
authKey = resultMap.get("bpaySecretKey").toString();
cpId = resultMap.get("bpayMid").toString();
}
String amount = payVO.getCancelAmount(); //취소금액
String trxId = payVO.getTno(); //거래번호

View File

@@ -1120,7 +1120,7 @@ public class BORtngudrefndService {
}
// 개발서버 네이버페이 CPID 구분 적용 취소
// payVO.setModGubun(setle.getPgCmpnyNm()); //결제키 구분용
payVO.setModGubun(setle.getPgCmpnyNm()); //결제키 구분용
if ("kiwoom".equals(setle.getPgCmpnyNm())) {
payVO.setPayMethod("CARD");
} else if ("naverpay".equals(setle.getPgCmpnyNm())) {