결제 - 키움결제 네이버페이 포인트주문 관련처리

This commit is contained in:
이경숙
2026-04-15 18:04:30 +09:00
parent 45202b0006
commit 81757e1217
4 changed files with 7 additions and 12 deletions

View File

@@ -5492,7 +5492,6 @@ public class BOOrdrService{
/* ===============================================
결제 API >> DB select로 진행함
================================================== */
// todo :: api 연결이 아닌 db셀렉트로 변경.
DataMap kiwoomPayMap = mapper.selectKiwoomPgApiLog(payVO);//payService.insertTossPayKeyin(payVO);
log.info("insertKiwoomSetle service kiwoomPayMap ::: {}", kiwoomPayMap);
@@ -5514,13 +5513,7 @@ public class BOOrdrService{
orderPgLogVO.setCardCmpnyNm(StringUtil.isNullToString(bOMaComncdService.selectBOCommcdDetail("KIWOOM_CARD_CD",orderPgLogVO.getCardCmpnyCd()))); //카드사명
orderPgLogVO.setNintrAt(StringUtil.isNullToString(resultMap.get("NOINTFLAG"))); //무이자여부
orderPgLogVO.setInstlmtMtCnt(resultMap.get("INSTALL") != null ? Integer.parseInt(resultMap.get("INSTALL").toString()):0); //할부개월수
// todo ::: 주문금액을 api테이블과 넘어온 값이랑 비교해야 처리필요
//if(!CollectionUtils.isEmpty(resultMap)) {} else {
// throw new WnbtRestException("토스 결제 실패 [결제 금액 매칭 오류]");
// }
orderPgLogVO.setDelngAmt(resultMap.get("AMOUNT") != null ? new BigDecimal(resultMap.get("AMOUNT").toString()) : BigDecimal.valueOf(0));
orderPgLogVO.setEscwAt("N"); // 에스크로여부
orderPgLogVO.setVirtlAcntVrifyKy(""); //매출증빙영수증URL
orderPgLogVO.setRsltMssageCn("정상처리-카드거래");