-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
109 lines (109 loc) · 5.24 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>UTA-CONNECT PAYMENT TEST PAGE</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
<style>
html,
body {
height: 100%;
}
.row-gap {
margin: 5px 0px;
}
</style>
</head>
<body>
<div class="container">
<div class="row" style="background-image: url('./peko_maybe.jpg');background-position: left top; background-repeat: no-repeat; background-size: contain;">
<div class="row row-gap">
<div class="col-12" style="text-align: right;">
<span class="text-lg-right" >
<a class="github-button"href="https://github.com/UTA-CONNECT/import-test" data-size="large" data-show-count="true" aria-label="Star UTA-CONNECT/import-test on GitHub">Star</a>
</span>
</div>
</div>
<div class="row">
<h3 class="col-12" style="text-align: center;">UTA-CONNECT I'MPORT 결제 테스트 페이지</h3>
<h4 class="col-12" style="text-align: center;">정상 결제건은 하루가 지나기 전에 자동 일괄 결제 취소 되어집니다.</h4>
</div>
</div>
<hr>
<form id="payform" class="row">
<div class="col-12 col-md-6 col-lg-4 col-xl-3 row-gap">
<div>상품명</div>
<input name="product_name" type="text" minlength="2" maxlength="10" placeholder="상품명" required value="캬루">
</div>
<div class="col-12 col-md-6 col-lg-4 col-xl-3 row-gap">
<div>구매자 이름</div>
<input name="buyer_name" type="text" minlength="2" maxlength="10" placeholder="구매자 이름" required value="페코린느">
</div>
<div class="col-12 col-md-6 col-lg-4 col-xl-3 row-gap">
<div>구매자 핸드폰 번호</div>
<input name="buyer_tel" type="text" minlength="5" maxlength="15" placeholder="010-1234-5678" required value="010-1234-5678">
</div>
<div class="col-12 col-md-6 col-lg-4 col-xl-3 row-gap">
<div>구매자 이메일</div>
<input name="buyer_email" type="email" minlength="2" maxlength="20" placeholder="구매자 이메일" required value="onaka@pekopeko.com">
</div>
<div class="col-12 col-md-6 col-lg-4 col-xl-3 row-gap">
<div>구매자 주소</div>
<input name="buyer_addr" type="text" minlength="2" maxlength="50" placeholder="구매자 주소" required value="렌도솔 길드하우스">
</div>
<div class="col-12 col-md-6 col-lg-4 col-xl-3 row-gap">
<div>구매자 우편번호</div>
<input name="buyer_postcode" type="text" minlength="5" maxlength="10" placeholder="구매자 우편번호" required value="123-456">
</div>
<div class="col-12 row-gap">
<div>구매 가격</div>
<input name="buyer_cost" type="number" min="1000" max="50000" placeholder="1000₩ ~ 50000₩" required value="1004"><br>
</div>
<div class="col-12" style="margin: 5px 0px;">
<input type="submit" value="야바위데수네">
</div>
</form>
<hr>
<div class="row">
<div class="col-12">
Payment result
</div>
</div>
<div class="row">
<div class="col-12">
고유ID: <span id="uniqueID"></span>
</div>
</div>
<div class="row">
<div class="col-12">
상점 거래ID: <span id="storeReceipt"></span>
</div>
</div>
<div class="row">
<div class="col-12">
결제 금액: <span id="cost"></span>
</div>
</div>
<div class="row">
<div class="col-12">
카드 승인번호: <span id="cardNumber"></span>
</div>
</div>
<div class="row">
<div class="col-12">
에러내용: <span id="payError"></span>
</div>
</div>
<hr>
</div>
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.4.min.js" ></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/js/bootstrap.bundle.min.js" integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://cdn.iamport.kr/js/iamport.payment-1.1.5.js"></script>
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<script src="index.js"></script>
</body>
</html>