결제 - 키움결제 매출전표에 키움 링크 추가

This commit is contained in:
이경숙
2026-04-01 15:35:38 +09:00
parent 4a91b40254
commit 367ade4bad
6 changed files with 54 additions and 9 deletions

View File

@@ -333,7 +333,7 @@
* order_no : order_idxx 값
* trade_money : amount 값
* cash_no : cash_no 값
* pgInnb : PG 거래번호
* pgInnb : PG 거래번호
*/
const kcpCashUrl = "http://admin8.kcp.co.kr/assist/bill.BillActionNew.do?cmd=cash_bill&cash_no="+cshRciptDelngNb+"&order_no="+cashOrdrInnb+"&trade_mony="+amt; // 현금영수증
const kcpCardUrl = "https://admin8.kcp.co.kr/assist/bill.BillActionNew.do?cmd=card_bill&tno="+pgInnb+"&order_no="+ordrInnb+"&trade_mony="+amt;// 신용카드
@@ -350,6 +350,13 @@
let paycoUrl = "https://bill.payco.com/seller/receipt/GB_UZRSXP/"+ordrInnb+"/"+pgInnb+"" //페이코(as_is)
/* kiwoom url
* DAOUTRX : 다우거래번호
* STATUS : 11 = 승인전표 / 12 = 취소전표 / 16 = 부분취소 / A = 자동상태
*/
const kiwoomCardUrl = "https://agenttest.kiwoompay.co.kr/common/PayInfoPrintDirectCard.jsp?DAOUTRX="+pgInnb+"&STATUS=11"; //개발
const kiwoomCardLiveUrl = "https://agent.kiwoompay.co.kr/common/PayInfoPrintDirectCard.jsp?DAOUTRX=CTS26033118224396081&STATUS=11"; //운영
$.ajax({
type: "GET",
url: "/mngr/ordr/selngpruf/selectSopmalSetleSetup",
@@ -364,7 +371,9 @@
// toss url
tossCashUrl = "https://dashboard.tosspayments.com/receipt/mids/" + mid + "/orders/" + cashOrdrInnb + "/cash-receipt?ref=email" // 현금
if (pgCmpnyNm == 'toss') {
if(pgCmpnyNm == "kiwoom") {
url = kiwoomCardUrl;
} else if (pgCmpnyNm == 'toss') {
if (reqstDvCd == '02' || reqstDvCd == "03") { // 현금영수증
if (setleTyCd == '03' || setleTyCd == '04' || setleTyCd == '05') { // 계좌이체, 가상계좌
url = tossAcntUrl;