결제 - 키움결제 매출전표에 키움 링크 추가
This commit is contained in:
@@ -567,7 +567,16 @@
|
||||
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)
|
||||
|
||||
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=='03'){ url = kcpAcntUrl;}
|
||||
|
||||
@@ -550,7 +550,16 @@
|
||||
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)
|
||||
|
||||
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=='03'){ url = kcpAcntUrl;}
|
||||
|
||||
Reference in New Issue
Block a user