diff --git a/src/main/java/com/wb/domainserver/domain/gcone/ordr/pay/service/BOPayService.java b/src/main/java/com/wb/domainserver/domain/gcone/ordr/pay/service/BOPayService.java index b1d11c59..5fc6bbd7 100644 --- a/src/main/java/com/wb/domainserver/domain/gcone/ordr/pay/service/BOPayService.java +++ b/src/main/java/com/wb/domainserver/domain/gcone/ordr/pay/service/BOPayService.java @@ -1499,8 +1499,14 @@ public class BOPayService{ String kiwoom_ENC = ""; try { - String url = "https://apitest.kiwoompay.co.kr/pay/hash"; - URL goUrl = new URL(url); + String targetURL = ""; + if(cpId.equals("CTS18056")) { + targetURL = "https://apitest.kiwoompay.co.kr/pay/hash"; //개발서버 + }else{ + targetURL = "https://api.kiwoompay.co.kr/pay/hash"; //운영서버 + } + log.info("insertKiwoomPay targetURL :::{} ",targetURL); + URL goUrl = new URL(targetURL); HttpURLConnection con = (HttpURLConnection) goUrl.openConnection(); con.setRequestMethod("POST"); @@ -1609,6 +1615,7 @@ public class BOPayService{ }else{ targetURL = "https://api.kiwoompay.co.kr/pay/ready"; //운영서버 } + log.info("cancelKiwoomPay targetURL :::{} ",targetURL); URL goUrl = new URL(targetURL); HttpURLConnection con = (HttpURLConnection) goUrl.openConnection();