From d14c411a3426f5b7639d7d22c989292c4552fdc9 Mon Sep 17 00:00:00 2001 From: kjh Date: Thu, 12 Sep 2024 13:19:30 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20=EA=B2=B0=EC=A0=9C=20=EB=AA=A8=EB=93=88?= =?UTF-8?q?=20=EC=A3=BC=EC=84=9D=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kko/service/process/KkoPayUrlService.java | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/main/java/cokr/xit/ens/modules/common/ctgy/intgrnbill/kko/service/process/KkoPayUrlService.java b/src/main/java/cokr/xit/ens/modules/common/ctgy/intgrnbill/kko/service/process/KkoPayUrlService.java index 036d640..c8e4f9d 100644 --- a/src/main/java/cokr/xit/ens/modules/common/ctgy/intgrnbill/kko/service/process/KkoPayUrlService.java +++ b/src/main/java/cokr/xit/ens/modules/common/ctgy/intgrnbill/kko/service/process/KkoPayUrlService.java @@ -99,7 +99,23 @@ public class KkoPayUrlService implements PayUrlService, S final String authorization = orgMng.getKkoBpAuthorization(); - + /** + * FIXME: 카카오페이 결제 Url API + * [모바일 페이지 카카오페이 결제 버튼 이벤트 시 실행] + * 1. payUseSysApi.payUrl + * 운영 : https://phts-manager.koti.re.kr/iup/bill/kkopay/gnr/url + * 테스트 : https://localhost:18090/iup/bill/kkopay/gnr/url/test + * localhost -> localhost 를 호출하는 구조로 청구서 요청에 필요한 정보 가져옴 + * 2. savePayUrlInfo + * ENS_BILL_KKO 테이블 요청 시 필요한 정보 저장 + * 3. billKkoPayApi.url + * 실제 더즌(dozn.co.kr) 청구서 API 호출 + * 4. saveUrl + * 청구서 URL 저장 + * 샘플 : https://billgates-web.kakao.com/r/platform/pages/paynow/search/1832/11/4c3405cd-8da5-4f68-9035-a893b546353f + * 5. billKkoPayApi.reUrl + * 더즌 청구서 API 실패 시 더즌 청구서 RE API 호출 + */ Optional.ofNullable(data.getBillDetail()) .map(billKkoPay -> createMessage(billKkoPay.getBillerUserKey())) .map(param -> loadReqData(data, useSysUrl, param))