결제 - 키움결제 운영 URL 수정
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user