115 lines
4.7 KiB
Plaintext
115 lines
4.7 KiB
Plaintext
<%@ 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 : selectOrdrComptR.jsp
|
|
Description : 주문실패
|
|
Modification Information
|
|
|
|
수정일 수정자 수정내용
|
|
------- -------- ---------------------------
|
|
2024-04-11 김혜인 최초 생성
|
|
--%>
|
|
<!DOCTYPE html>
|
|
<html lang="ko">
|
|
<head>
|
|
|
|
|
|
<%-- 공통 include --%>
|
|
<jsp:include page="/WEB-INF/views/comm/Include.jsp"/>
|
|
|
|
<script>
|
|
$(document).ready(function() {
|
|
fn_init();
|
|
|
|
fn_event();
|
|
});
|
|
|
|
/* ********************************************************
|
|
* 초기 설정
|
|
**********************************************************/
|
|
const fn_init = function() {
|
|
}
|
|
|
|
/* ********************************************************
|
|
* 이벤트 설정
|
|
**********************************************************/
|
|
const fn_event = function() {
|
|
}
|
|
|
|
/* ********************************************************
|
|
* function
|
|
**********************************************************/
|
|
const fn_go_page = function() {
|
|
const form = $('#form');
|
|
|
|
$(form).attr('method', 'post');
|
|
|
|
if (fn_is_empty($('#mbrId').val())) {
|
|
$(form).attr('action', '<c:url value="/sopmal/ordr/selectNmbrPurchsForm"/>');
|
|
history.replaceState(null, '', '/sopmal/ordr/selectNmbrPurchsForm');
|
|
} else {
|
|
$(form).attr('action', '<c:url value="/sopmal/ordr/selectMbrPurchsForm"/>');
|
|
history.replaceState(null, '', '/sopmal/ordr/selectMbrPurchsForm');
|
|
}
|
|
|
|
$(form).submit();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<%-- 공통 Header --%>
|
|
<jsp:include page="/WEB-INF/views/comm/Header.jsp"/>
|
|
|
|
<!-- 메인 컨텐츠 영역 -->
|
|
<main>
|
|
<form id="form">
|
|
<input type="hidden" name="sopmalCd" id="sopmalCd" value="<c:out value="${paramVO.sopmalCd}"/>"/>
|
|
<input type="hidden" name="ordrInnb" id="ordrInnb" value="<c:out value="${paramVO.ordrInnb}"/>"/>
|
|
<input type="hidden" name="ordrTyCd" id="ordrTyCd" value="<c:out value="${paramVO.ordrTyCd}"/>"/>
|
|
<input type="hidden" name="mbrId" id="mbrId" value="<c:out value="${paramVO.mbrId}"/>"/>
|
|
<input type="hidden" name="sesionId" id="sesionId" value="<c:out value="${paramVO.sesionId}"/>"/>
|
|
<c:forEach var="cartGoods" items="${data.cartGoodsList}">
|
|
<input type="hidden" name="cartInnbs" value="<c:out value="${cartGoods.cartInnb}"/>"/>
|
|
</c:forEach>
|
|
</form>
|
|
<div class="sub-wrapper">
|
|
<div class="sub-content">
|
|
<div class="orderFailed">
|
|
<div class="orderFailed__inner">
|
|
<img src="<c:url value="/pc/images/icon__no-result.png"/>" alt="">
|
|
<h3 class="orderFailed__title">
|
|
<em>주문 상품 결제가 실패</em>하였습니다.
|
|
</h3>
|
|
<p class="orderFailed__text">
|
|
불편을 드려 죄송합니다.
|
|
<c:if test="${'03' != paramVO.ordrTyCd}">
|
|
<br>하단의 <em>주문/배송조회 페이지로 가기 버튼</em>을 선택해 다시 결제를 시도해 주시면 감사하겠습니다.
|
|
</c:if>
|
|
<c:if test="${'03' == paramVO.ordrTyCd}">
|
|
<br>자세한 내용은 고객센터 1600-3872 또는 custom@nutricore.co.kr 으로 문의 바랍니다
|
|
</c:if>
|
|
</p>
|
|
<div class="orderFailed__reason">
|
|
주문 실패 사유:<c:out value="${paramVO.message}"/>
|
|
</div>
|
|
</div>
|
|
<c:if test="${'03' != paramVO.ordrTyCd}">
|
|
<div class="sub-bottom-btn-container">
|
|
<a href="javascript:void(0);" onclick="fn_go_page();" class="btn xl outline">결제 페이지로 가기</a>
|
|
</div>
|
|
</c:if>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<%-- 공통 Footer --%>
|
|
<jsp:include page="/WEB-INF/views/comm/Footer.jsp"/>
|
|
</body>
|
|
</html> |