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

This commit is contained in:
이대환
2026-06-04 16:08:25 +09:00
parent 04ee9f1275
commit 3e2ebaabc8
3 changed files with 14 additions and 10 deletions

View File

@@ -1569,10 +1569,11 @@ public class BOPayService{
//요청코드
String authKey = resultMap.get("kcpSecretKey").toString();
String cpId = resultMap.get("kcpMid").toString();
if ("naverpay".equals(payVO.getModGubun())) {
authKey = resultMap.get("bpaySecretKey").toString();
cpId = resultMap.get("bpayMid").toString();
}
// 개발서버 네이버페이 CPID 관련 적용 취소
// 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

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