diff --git a/src/main/webapp/WEB-INF/views/sopmal_m/ordr/MbrPurchsC.jsp b/src/main/webapp/WEB-INF/views/sopmal_m/ordr/MbrPurchsC.jsp index 828b6ed5..3a5c3d6f 100644 --- a/src/main/webapp/WEB-INF/views/sopmal_m/ordr/MbrPurchsC.jsp +++ b/src/main/webapp/WEB-INF/views/sopmal_m/ordr/MbrPurchsC.jsp @@ -572,6 +572,9 @@ $(form).find('.pgContent').hide(); $(form).find('#' + id + 'Content').show(); + $('.setleAmtDivde').show(); + $('.setleAmtKrSapn').show(); + $('.priceUnitKr').show(); //$(form).find('#setleSetupTyCd').val() === '01' ? $(form).find('#pg04Content').show() : $(form).find('#pg03Content').show(); if($(form).find('#setleSetupTyCd').val() === '01'){$(form).find('#pg04Content').show();} @@ -619,6 +622,10 @@ }); $(form).find('#setleTyCd').val('03'); + } else if('st01' === id){ //Stripe + $('.setleAmtDivde').hide(); + $('.setleAmtKrSapn').hide(); + $('.priceUnitKr').hide(); } else { $(form).find('#setleTyCd').val(''); @@ -634,7 +641,8 @@ const useCashMlgAmt = $('#useCashMlgAmt').val(); //$('#setleSetupTyCd').val() === '01' ? $('#pg04').click() : $('#pg03').click(); - if($('#setleSetupTyCd').val() === '01'){$('#pg04').click();} + if ($('#st01').is(':checked')){$('#st01').click();} + else if($('#setleSetupTyCd').val() === '01'){$('#pg04').click();} else if($('#setleSetupTyCd').val() === '02'){$('#pg03').click();} else if($('#setleSetupTyCd').val() === '03'){$('#pg06').click();} @@ -3129,7 +3137,7 @@ return false; } - if ('kcp' === pgCmpnyNm || 'toss' === pgCmpnyNm || 'kiwoom' === pgCmpnyNm) { + if ('kcp' === pgCmpnyNm || 'toss' === pgCmpnyNm || 'kiwoom' === pgCmpnyNm || 'stripe' === pgCmpnyNm) { const div = $('#setleForm').find('.order-method-normal'); if (!$(div).find('.order-method-normal__btn-container button').hasClass('active')) { @@ -4318,6 +4326,22 @@ <%-- 퀵계좌이체 끝 --%> + <%-- Stripe 시작 --%> + +
+ + +
+ +
+ <%-- Stripe 끝 --%> + <%-- toss 결제 시작 --%>
@@ -4761,7 +4785,7 @@
총 금액
-
${curUnit} / ${krUnit}
+
${curUnit} / ${krUnit}
diff --git a/src/main/webapp/WEB-INF/views/sopmal_m/ordr/SubsvcPurchsC.jsp b/src/main/webapp/WEB-INF/views/sopmal_m/ordr/SubsvcPurchsC.jsp index 5b560086..ebb57cf7 100644 --- a/src/main/webapp/WEB-INF/views/sopmal_m/ordr/SubsvcPurchsC.jsp +++ b/src/main/webapp/WEB-INF/views/sopmal_m/ordr/SubsvcPurchsC.jsp @@ -575,6 +575,9 @@ $(form).find('.pgContent').hide(); $(form).find('#' + id + 'Content').show(); + $('.setleAmtDivde').show(); + $('.setleAmtKrSapn').show(); + $('.priceUnitKr').show(); //$(form).find('#setleSetupTyCd').val() === '01' ? $(form).find('#pg04Content').show() : $(form).find('#pg03Content').show(); if($(form).find('#setleSetupTyCd').val() === '01'){$(form).find('#pg04Content').show();} @@ -622,6 +625,10 @@ }); $(form).find('#setleTyCd').val('03'); + } else if('st01' === id){ //Stripe + $('.setleAmtDivde').hide(); + $('.setleAmtKrSapn').hide(); + $('.priceUnitKr').hide(); } else { $(form).find('#setleTyCd').val(''); @@ -637,7 +644,8 @@ const useCashMlgAmt = $('#useCashMlgAmt').val(); //$('#setleSetupTyCd').val() === '01' ? $('#pg04').click() : $('#pg03').click(); - if($('#setleSetupTyCd').val() === '01'){$('#pg04').click();} + if ($('#st01').is(':checked')){$('#st01').click();} + else if($('#setleSetupTyCd').val() === '01'){$('#pg04').click();} else if($('#setleSetupTyCd').val() === '02'){$('#pg03').click();} else if($('#setleSetupTyCd').val() === '03'){$('#pg06').click();} @@ -3117,7 +3125,7 @@ return false; } - if ('kcp' === pgCmpnyNm || 'toss' === pgCmpnyNm || 'kiwoom' === pgCmpnyNm) { + if ('kcp' === pgCmpnyNm || 'toss' === pgCmpnyNm || 'kiwoom' === pgCmpnyNm || 'stripe' === pgCmpnyNm) { const div = $('#setleForm').find('.order-method-normal'); if (!$(div).find('.order-method-normal__btn-container button').hasClass('active')) { @@ -4307,6 +4315,22 @@ <%-- 퀵계좌이체 끝 --%> + <%-- Stripe 시작 --%> + +
+ + +
+ +
+ <%-- Stripe 끝 --%> + <%-- toss 결제 시작 --%>
@@ -4750,7 +4774,7 @@
총 금액
-
${curUnit} / ${krUnit}
+
${curUnit} / ${krUnit}