결제 - 키움결제 모바일 적용 이동테스트 버전
This commit is contained in:
@@ -3617,7 +3617,31 @@
|
||||
</script>
|
||||
|
||||
<script>
|
||||
window.addEventListener("load", function () {
|
||||
|
||||
console.log("=========== 모바일에서 실행되면 좋겠다 =============================");
|
||||
|
||||
const data = sessionStorage.getItem("orderFormData");
|
||||
|
||||
if (data) {
|
||||
const obj = JSON.parse(data);
|
||||
const form = document.forms['order_info'];
|
||||
|
||||
form.sopmalCd.value = obj.sopmalCd;
|
||||
form.ordrInnb.value = obj.ordrInnb;
|
||||
form.pgCmpnyNm.value = obj.pgCmpnyNm;
|
||||
form.setleTyCd.value = obj.setleTyCd;
|
||||
|
||||
sessionStorage.removeItem("orderFormData");
|
||||
|
||||
kiwoom_Completepayment();
|
||||
}
|
||||
});
|
||||
|
||||
function kiwoom_Completepayment() {
|
||||
|
||||
console.log("=========== 모바일에서 실행되면 좋겠다22222 =============================");
|
||||
|
||||
var frm = document.order_info;
|
||||
frm.submit();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ taglib prefix="ui" uri="http://www.winbit.kr/ctl/ui"%>
|
||||
<%@ taglib prefix="f" uri="/WEB-INF/tlds/f.tld"%>
|
||||
|
||||
<%--
|
||||
Class Name : OrdrReqstKiwoomPreR.jsp
|
||||
Description : 키움 사전 승인 후 결제요청 폼
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2026-03-23 이경숙 최초 생성
|
||||
--%>
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title>결제 사전 승인</title>
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
|
||||
<script src="<c:url value='/pc/vendor/jquery-3.7.1.min.js'/>"></script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
window.location.href='/sopmal/ordr/selectMbrPurchsForm';
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user