-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
176 lines (147 loc) · 4.04 KB
/
index.php
File metadata and controls
176 lines (147 loc) · 4.04 KB
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Myghpay Integration - PHP</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css">
<style>
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Montserrat', sans-serif;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color:#b3b3c0;
padding: 30px 10px;
}
.card {
max-width: 500px;
margin: auto;
color: black;
border-radius: 20 px;
height: 380px;
}
p {
margin: 0px;
}
.container .h8 {
font-size: 30px;
font-weight: 800;
text-align: center;
}
.btn.btn-primary {
width: 100%;
height: 70px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 15px;
background-image: linear-gradient(to right, #77A1D3 0%, #79CBCA 51%, #77A1D3 100%);
border: none;
transition: 0.5s;
background-size: 200% auto;
}
.btn.btn.btn-primary:hover {
background-position: right center;
color: #fff;
text-decoration: none;
}
.btn.btn-primary:hover .fas.fa-arrow-right {
transform: translate(15px);
transition: transform 0.2s ease-in;
}
.form-control {
color: white;
background-color: #b3b3c0;
border: 2px solid transparent;
height: 60px;
padding-left: 20px;
vertical-align: middle;
}
.form-control:focus {
color: white;
background-color: #000;
border: 2px solid #2d4dda;
box-shadow: none;
}
.text {
font-size: 14px;
font-weight: 600;
}
::placeholder {
font-size: 14px;
font-weight: 600;
}
.button {
border-radius: 4px;
background-color: #F60;
border: none;
color: #FFFFFF;
text-align: center;
font-size: 28px;
padding: 6px;
width: 180px;
height: 50px;
transition: all 0.5s;
cursor: pointer;
margin: 5px;
}
.button span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
.button span:after {
content: '\00bb';
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
.button:hover span {
padding-right: 25px;
}
.button:hover span:after {
opacity: 1;
right: 0;
}
</style>
</head>
<body>
<div class="container p-0">
<div class="card px-4">
<p class="h8 py-3">Payment Details</p>
<form name="pay" action="payment.php" method="post">
<div class="row gx-3">
<div class="col-12">
<div class="d-flex flex-column">
<p class="text mb-1">Plan Name</p>
<input required class="form-control mb-3" type="text" name="myghpayitemname" placeholder="Enter Plan Name" value="">
</div>
</div>
<div class="col-12">
<div class="d-flex flex-column">
<p class="text mb-1">Amount</p>
<input required class="form-control mb-3" type="text" name="payamount" placeholder="Enter amount">
</div>
</div>
<div class="col-12">
<button class="button"><span>Pay Now </span></button>
</div>
</div>
</form>
</div>
</div>
</body>
</html>