-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.php
More file actions
45 lines (34 loc) · 1.45 KB
/
index.php
File metadata and controls
45 lines (34 loc) · 1.45 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
<!-- Here we just use this simple form to get user data/input-->
<!doctype html>
<html lang="en">
<head>
</head>
<body style="height:100vh" style="background-color: #eaedf4;">
<form action="./stkpush" method="POST" >
<div class="container">
<h1>ECORP PAY</h1>
<p>Please add details below to pay</p>
<label for="username"><b>Amount</b></label>
<input type="text" name="amount" placeholder="Enter Amount" title="Only nurmbers/digits" type="number" pattern="[0-9]+" required>
<label for="psw"><b>Phone Nurmber</b></label>
<input type="text" name="phone_number" placeholder="Enter Phone Number" title="Only nurmbers/digits" type="number" pattern="[0-9]+" required >
<p>By using our service you agree to our <a href="/privacy">Terms & Privacy</a>.</p>
<button name="submit" value="submit" class="registerbtn fw-bold" >MAKE PAYMENT</button>
</div>
<div class="container signin">
<p>Already Paid? <a href="/confirm-pay">Confirm Payment</a>.</p>
</div>
</form>
<footer>
<div class="all" style=" text-align: center; background-color: aliceblue;">
<div class="spinner-border text-info" role="status" style="margin-top: 10vh;">
<span class="visually-hidden">Loading...</span>
</div>
Made with ❤️ by <a href="##">Your Name maybe</a>
<div class="spinner-border text-info" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
</footer>
</body>
</html>