결제 - 키움결제 매출전표에 키움 링크 추가
This commit is contained in:
@@ -5523,8 +5523,8 @@ public class BOOrdrService{
|
|||||||
|
|
||||||
orderPgLogVO.setEscwAt("N"); // 에스크로여부
|
orderPgLogVO.setEscwAt("N"); // 에스크로여부
|
||||||
orderPgLogVO.setVirtlAcntVrifyKy(""); //매출증빙영수증URL
|
orderPgLogVO.setVirtlAcntVrifyKy(""); //매출증빙영수증URL
|
||||||
orderPgLogVO.setRsltMssageCn("0000");
|
orderPgLogVO.setRsltMssageCn("정상처리-카드거래");
|
||||||
orderPgLogVO.setRsltCd("정상처리-카드거래");
|
orderPgLogVO.setRsltCd("0000");
|
||||||
|
|
||||||
// 6. FM_ORDER_SETLE 수정 ==============================================
|
// 6. FM_ORDER_SETLE 수정 ==============================================
|
||||||
BOOrderSetleVO orderSetleVO = new BOOrderSetleVO();
|
BOOrderSetleVO orderSetleVO = new BOOrderSetleVO();
|
||||||
|
|||||||
@@ -350,6 +350,13 @@
|
|||||||
|
|
||||||
let paycoUrl = "https://bill.payco.com/seller/receipt/GB_UZRSXP/"+ordrInnb+"/"+pgInnb+"" //페이코(as_is)
|
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({
|
$.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
url: "/mngr/ordr/selngpruf/selectSopmalSetleSetup",
|
url: "/mngr/ordr/selngpruf/selectSopmalSetleSetup",
|
||||||
@@ -364,7 +371,9 @@
|
|||||||
// toss url
|
// toss url
|
||||||
tossCashUrl = "https://dashboard.tosspayments.com/receipt/mids/" + mid + "/orders/" + cashOrdrInnb + "/cash-receipt?ref=email" // 현금
|
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 (reqstDvCd == '02' || reqstDvCd == "03") { // 현금영수증
|
||||||
if (setleTyCd == '03' || setleTyCd == '04' || setleTyCd == '05') { // 계좌이체, 가상계좌
|
if (setleTyCd == '03' || setleTyCd == '04' || setleTyCd == '05') { // 계좌이체, 가상계좌
|
||||||
url = tossAcntUrl;
|
url = tossAcntUrl;
|
||||||
|
|||||||
@@ -1015,13 +1015,22 @@
|
|||||||
const tossCardUrl = "https://dashboard.tosspayments.com/receipt/redirection?transactionId="+pgInnb+"&ref=PX"; //카드 / 간편결제(01)
|
const tossCardUrl = "https://dashboard.tosspayments.com/receipt/redirection?transactionId="+pgInnb+"&ref=PX"; //카드 / 간편결제(01)
|
||||||
const tossAcntUrl = "https://dashboard.tosspayments.com/receipt/payment-detail/bank-transfer?transactionId="+pgInnb+"&ref=PX"; //계좌이체(03), 가상계좌(04,05)
|
const tossAcntUrl = "https://dashboard.tosspayments.com/receipt/payment-detail/bank-transfer?transactionId="+pgInnb+"&ref=PX"; //계좌이체(03), 가상계좌(04,05)
|
||||||
|
|
||||||
if(pgCmpnyNm == "kcp") {
|
/* 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"; //운영
|
||||||
|
|
||||||
|
if(pgCmpnyNm == "kiwoom") {
|
||||||
|
if(setleTyCd=='01'){ url = kiwoomCardUrl;}
|
||||||
|
} else if(pgCmpnyNm == "kcp") {
|
||||||
|
|
||||||
if(setleTyCd=='01'){ url = kcpCardUrl;}
|
if(setleTyCd=='01'){ url = kcpCardUrl;}
|
||||||
if(setleTyCd=='03'){ url = kcpAcntUrl;}
|
if(setleTyCd=='03'){ url = kcpAcntUrl;}
|
||||||
if(setleTyCd=='04' || setleTyCd=='05'){ url = kcpVcntUrl;}
|
if(setleTyCd=='04' || setleTyCd=='05'){ url = kcpVcntUrl;}
|
||||||
|
|
||||||
}else { //toss, tosspay, gcpay, kakaopay, naverpay 추가
|
} else { //toss, tosspay, gcpay, kakaopay, naverpay 추가
|
||||||
if(setleTyCd=='01'){ url = tossCardUrl;}
|
if(setleTyCd=='01'){ url = tossCardUrl;}
|
||||||
if(setleTyCd=='03' || setleTyCd=='04' || setleTyCd=='05'){ url = tossAcntUrl;}
|
if(setleTyCd=='03' || setleTyCd=='04' || setleTyCd=='05'){ url = tossAcntUrl;}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1009,7 +1009,16 @@
|
|||||||
const tossCardUrl = "https://dashboard.tosspayments.com/receipt/redirection?transactionId="+pgInnb+"&ref=PX"; //카드 / 간편결제(01)
|
const tossCardUrl = "https://dashboard.tosspayments.com/receipt/redirection?transactionId="+pgInnb+"&ref=PX"; //카드 / 간편결제(01)
|
||||||
const tossAcntUrl = "https://dashboard.tosspayments.com/receipt/payment-detail/bank-transfer?transactionId="+pgInnb+"&ref=PX"; //계좌이체(03), 가상계좌(04,05)
|
const tossAcntUrl = "https://dashboard.tosspayments.com/receipt/payment-detail/bank-transfer?transactionId="+pgInnb+"&ref=PX"; //계좌이체(03), 가상계좌(04,05)
|
||||||
|
|
||||||
if(pgCmpnyNm == "kcp") {
|
/* 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"; //운영
|
||||||
|
|
||||||
|
if(pgCmpnyNm == "kiwoom") {
|
||||||
|
if(setleTyCd=='01'){ url = kiwoomCardUrl;}
|
||||||
|
} else if(pgCmpnyNm == "kcp") {
|
||||||
|
|
||||||
if(setleTyCd=='01'){ url = kcpCardUrl;}
|
if(setleTyCd=='01'){ url = kcpCardUrl;}
|
||||||
if(setleTyCd=='03'){ url = kcpAcntUrl;}
|
if(setleTyCd=='03'){ url = kcpAcntUrl;}
|
||||||
|
|||||||
@@ -567,7 +567,16 @@
|
|||||||
const tossCardUrl = "https://dashboard.tosspayments.com/receipt/redirection?transactionId="+pgInnb+"&ref=PX"; //카드 / 간편결제(01)
|
const tossCardUrl = "https://dashboard.tosspayments.com/receipt/redirection?transactionId="+pgInnb+"&ref=PX"; //카드 / 간편결제(01)
|
||||||
const tossAcntUrl = "https://dashboard.tosspayments.com/receipt/payment-detail/bank-transfer?transactionId="+pgInnb+"&ref=PX"; //계좌이체(03), 가상계좌(04,05)
|
const tossAcntUrl = "https://dashboard.tosspayments.com/receipt/payment-detail/bank-transfer?transactionId="+pgInnb+"&ref=PX"; //계좌이체(03), 가상계좌(04,05)
|
||||||
|
|
||||||
if(pgCmpnyNm == "kcp") {
|
/* 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"; //운영
|
||||||
|
|
||||||
|
if(pgCmpnyNm == "kiwoom") {
|
||||||
|
if(setleTyCd=='01'){ url = kiwoomCardUrl;}
|
||||||
|
} else if(pgCmpnyNm == "kcp") {
|
||||||
|
|
||||||
if(setleTyCd=='01'){ url = kcpCardUrl;}
|
if(setleTyCd=='01'){ url = kcpCardUrl;}
|
||||||
if(setleTyCd=='03'){ url = kcpAcntUrl;}
|
if(setleTyCd=='03'){ url = kcpAcntUrl;}
|
||||||
|
|||||||
@@ -550,7 +550,16 @@
|
|||||||
const tossCardUrl = "https://dashboard.tosspayments.com/receipt/redirection?transactionId="+pgInnb+"&ref=PX"; //카드 / 간편결제(01)
|
const tossCardUrl = "https://dashboard.tosspayments.com/receipt/redirection?transactionId="+pgInnb+"&ref=PX"; //카드 / 간편결제(01)
|
||||||
const tossAcntUrl = "https://dashboard.tosspayments.com/receipt/payment-detail/bank-transfer?transactionId="+pgInnb+"&ref=PX"; //계좌이체(03), 가상계좌(04,05)
|
const tossAcntUrl = "https://dashboard.tosspayments.com/receipt/payment-detail/bank-transfer?transactionId="+pgInnb+"&ref=PX"; //계좌이체(03), 가상계좌(04,05)
|
||||||
|
|
||||||
if(pgCmpnyNm == "kcp") {
|
/* 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"; //운영
|
||||||
|
|
||||||
|
if(pgCmpnyNm == "kiwoom") {
|
||||||
|
if(setleTyCd=='01'){ url = kiwoomCardUrl;}
|
||||||
|
} else if(pgCmpnyNm == "kcp") {
|
||||||
|
|
||||||
if(setleTyCd=='01'){ url = kcpCardUrl;}
|
if(setleTyCd=='01'){ url = kcpCardUrl;}
|
||||||
if(setleTyCd=='03'){ url = kcpAcntUrl;}
|
if(setleTyCd=='03'){ url = kcpAcntUrl;}
|
||||||
|
|||||||
Reference in New Issue
Block a user