|
|
@@ -26,52 +26,9 @@
|
|
|
<!-- payment.js -->
|
|
|
<script type="text/javascript" th:src="${@environment.getProperty('pg.kcp.js.url')}" src=""></script>
|
|
|
<script type="text/javascript" src="/ux/pc/js/payment.js"></script>
|
|
|
- <script type="text/javascript">
|
|
|
- $(document).on("click", "#buyBtn", function() {
|
|
|
- $.ajax({
|
|
|
- type: "POST",
|
|
|
- url : '/order/create/preOrder',
|
|
|
- dataType : 'html',
|
|
|
- data : {
|
|
|
- pgGb : "KCP"
|
|
|
- , payMeans : "G014_30"
|
|
|
- , ordNo : "5"
|
|
|
- , goodsNm : "상품 테스트"
|
|
|
- , payAmt : "1233"
|
|
|
- , ordNm : "이태영"
|
|
|
- , ordEmail : "xodud1202@naver.com"
|
|
|
- , ordTelno : "02-0000-0000"
|
|
|
- , ordPhnno : "010-7111-0000"
|
|
|
- },
|
|
|
- error : function(e) {
|
|
|
- alert(3);
|
|
|
- },
|
|
|
- success : function(result) {
|
|
|
- $("#order_info").html(result);
|
|
|
- jsf__pay(document.order_info);
|
|
|
- }
|
|
|
- });
|
|
|
- });
|
|
|
- </script>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <form id="order_info" name="order_info" method="post" action="/order/pay/result/response" ></form>
|
|
|
-
|
|
|
- <div style="margin:20px;">
|
|
|
- <input type="button" id="buyBtn" value="KCP테스트버튼" style="width:200px; height:70px; background-color: #fd4801; color: white; border: unset;"/>
|
|
|
- </div>
|
|
|
-<!-- // xodud1202 -->
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
|
|
|
|
|
|
+<form id="order_info" name="order_info" method="post" action="/order/pay/result/response" ></form>
|
|
|
|
|
|
<!-- container -->
|
|
|
<form id="payForm" name="payForm">
|
|
|
@@ -1548,7 +1505,7 @@ var custCpnSumAmtCal = function() {
|
|
|
$(".realOrdSumAmt").text(realOrdSumAmt);
|
|
|
$(".savePntSumAmt").text(savePntSumAmt);
|
|
|
|
|
|
- $("#realOrdAmt").text(realOrdSumAmt.addComma() + "원"); // 총 결제 예정 금액
|
|
|
+ $("#realOrdAmt").text(realOrdSumAmt.addComma()); // 총 결제 예정 금액
|
|
|
|
|
|
var tempSavePnt = savePntSumAmt - prePntDcAmt;
|
|
|
|