-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathIndex.asp
122 lines (121 loc) · 4.06 KB
/
Index.asp
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
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="content-language" content="tr">
<meta http-equiv="content-type" content="text/html; charset=windows-1254">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WireCard Classic ASP Test Ortamı</title>
<link rel="icon" href="/favicon.png">
<!-- Styles -->
<link href="/Assets/css/bootstrap.min.css" rel="stylesheet" />
<link href="/Assets/css/style.css" rel="stylesheet" />
</head>
<body>
<div class="container">
<div class="row justify-content-md-center">
<form id="paymentForm" method="post" action="/PaymentNon3d.asp">
<div class="col-sm-12">
<div class="card">
<div class="card-header">
<strong>Ödeme Formu</strong>
<small>Lütfen kart bilgilerinizi giriniz.</small>
</div>
<div class="card-body">
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label for="cc-name">Kart Üzerindeki İsim</label>
<input class="form-control" id="cc-name" name="cc-name" type="text" autocomplete="cc-additional-name">
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label for="ccnumber">Kart No</label>
<div class="input-group">
<input class="form-control" id="cc-number" name="cc-number" type="text" placeholder="0000 0000 0000 0000" autocomplete="cc-number" maxlength="19" value="">
<div class="input-group-append">
<span class="input-group-text">
<img id="card-logo">
</span>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="form-group col-sm-4">
<label for="ccmonth">Ay</label>
<select class="form-control" id="cc-month" name="cc-month" autocomplete="cc-exp-month">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
</select>
</div>
<div class="form-group col-sm-4">
<label for="ccyear">Yıl</label>
<select class="form-control" id="cc-year" name="cc-year" autocomplete="cc-exp-year">
<option>2020</option>
<option>2021</option>
<option>2022</option>
<option>2023</option>
<option>2024</option>
<option>2025</option>
<option>2026</option>
<option>2027</option>
<option>2028</option>
<option>2029</option>
<option>2030</option>
</select>
</div>
<div class="col-sm-4">
<div class="form-group">
<label for="cvv">CVV/CVC</label>
<input class="form-control" id="cvv" name="cvv" type="text" placeholder="123" autocomplete="cc-csc">
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="form-check">
<input type="checkbox" class="form-check-input" id="cc3dsec" name="cc3dsec" value="1">
<label class="form-check-label" for="cc3dsec">3D Secure ile ödeme</label>
</div>
</div>
</div>
</div>
<div class="card-footer">
<button class="btn btn-sm btn-success float-right" type="submit">Ödeme Yap</button>
</div>
</div>
</div>
</form>
</div>
</div>
<!-- Scripts -->
<script src="/Assets/js/jquery-3.4.1.min.js"></script>
<script src="/Assets/js/bootstrap.min.js"></script>
<script src="/Assets/js/site.js"></script>
<script type="text/javascript">
document.getElementById("cc3dsec").addEventListener('change', (event) => {
var formObj = document.getElementById("paymentForm");
if (event.target.checked) {
paymentForm.action = "/Payment3d.asp";
} else {
paymentForm.action = "/PaymentNon3d.asp";
}
});
</script>
</body>
</html>