-
Notifications
You must be signed in to change notification settings - Fork 0
/
payment.php
329 lines (329 loc) · 14.5 KB
/
payment.php
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
<?php
include('express-stk.php');
?>
<!DOCTYPE html>
<html>
<head>
<style>
@import url(https://fonts.googleapis.com/css?family=Lato:400,100,300,700,900);
@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,200,300,500,600,700,900);
</style>
<meta charset="UTF-8" />
<title>inStore Market</title>
<link href="images/cart-rnd.png" rel="icon" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<!-- CSS Part Start-->
<link rel="stylesheet" type="text/css" href="css/stylesheet.css" />
<link rel="stylesheet" type="text/css" href="css/slideshow.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/carousel.css" media="screen" />
<link rel="stylesheet" type="text/css" href="js/colorbox/colorbox.css" media="screen" />
<!-- CSS Part End-->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class="main-wrapper">
<!-- Header Start-->
<header class="header-top-main">
<section class="header-top">
<div id="welcome">Welcome visitor you can <a href="login.html">login</a> or <a href="register.html">create an account</a>.</div>
<div id="currency"> <a title="US Dollar"><b>$</b></a> <a title="Kenyan Shillings">KES</a> <a title="Ugandan Shillings">UGS</a> </div>
<div id="language"> <a title="flagkenya"><img src="image/flags/flagkenya.png" alt="flagkenya" /></a> <a title="ugandanflag"><img src="image/flags/flaguganda.jpg" alt="ugandanflag" /></a> </div>
<!-- Mini Cart Start-->
<section id="cart">
<div class="heading"> <a><span id="cart_total">3 item(s) - $897.00</span></a></div>
<div class="content">
<div class="mini-cart-info">
<table class="cart">
<tbody>
<tr>
<td class="image"><a href="asuslaptop.html"><img title="image" alt="figure" src="image/product/asus1.jpeg" style="max-width: 50px; max-height: 50px;"></a></td>
<td class="name"><a href="asuslaptop.html">Asus Laptop</a>
<td class="model">Asus Laptop</td>
<td class="quantity"><input type="text" size="1" value="1" name="" class="w30">
<input type="image" title="Update" alt="Update" src="image/update.png">
<a href="#"><img title="Remove" alt="Remove" src="image/remove.png"></a></td>
<td class="total">$785.00</td>
</tr>
<tr>
<td class="image"><a href="producttecno.html"><img title="image" alt="figure" src="image/product/phone/phone2.jfif" style="max-width: 50px; max-height: 50px;"></a></td>
<td class="name"><a href="producttecno.html">Tecno Tablet</a>
<td class="model">Tecno A432</td>
<td class="quantity"><input type="text" size="1" value="1" name="" class="w30">
<input type="image" title="Update" alt="Update" src="image/update.png">
<a href="#"><img title="Remove" alt="Remove" src="image/remove.png"></a></td>
<td class="price">$105.00</td>
</tr>
<tr>
<td class="image"><a href="productmouse.html"><img title="image" alt="figure" src="image/product/mouse2.jpg" style="max-width: 50px; max-height: 50px;"></a></td>
<td class="name"><a href="productmouse.html">Mouse</a>
<td class="model">HP Mouse</td>
<td class="quantity"><input type="text" size="1" value="1" name="" class="w30">
<input type="image" title="Update" alt="Update" src="image/update.png">
<a href="#"><img title="Remove" alt="Remove" src="image/remove.png"></a></td>
<td class="price">$7.00</td>
</tr>
</tbody>
</table>
</div>
<div class="mini-cart-total">
<table class="total">
<tbody>
<tr>
<td align="right"><b>Sub-Total</b></td>
<td align="right">$897.00</td>
</tr>
<tr>
<td align="right"><b>Eco Tax (-2.00)</b></td>
<td align="right">$4.00</td>
</tr>
<tr>
<td align="right"><b>VAT (16.5%)</b></td>
<td align="right">$36.00</td>
</tr>
<tr>
<td align="right"><b>Total</b></td>
<td align="right">$937.00</td>
</tr>
</tbody>
</table>
</div>
<div class="checkout"><a href="cart.html" class="button">View Cart</a><a class="button ml10" href="checkout.html"><span>Checkout</span></a></div>
</div>
</section>
<!-- Mini Cart End-->
<div class="clear"></div>
</section>
<section id="header-main">
<div id="header">
<div id="logo"><a href="index-2.html"><img src="image/logo2.png" title="inStore HTML Template" alt="instore-html-template" /></a></div>
<div class="links"> <a class="home" title="Home" href="index-2.html">Home</a> <a href="wishlist.html" id="wishlist-total">Wish List (4)</a> <a href="#">My Account</a> <a href="cart.html">Shopping Cart</a> <a href="checkout.html">Checkout</a> </div>
<div id="search">
<div class="button-search"></div>
<input type="text" value="" placeholder="Search" id="filter_name" name="search">
</div>
</div>
</section>
<!-- Main Navigation Start-->
<nav class="menu-main">
<h3 class="menuarrow"><span>Menu</span></h3>
<div id="menu">
<ul>
<li><a href="desktop_computers.html">Desktops</a>
<div>
<ul>
<li><a href="product.html">Compq-Desktops (6)</a></li>
<li><a href="product_dell.html">Dell-Desktops (4)</a></li>
<li><a href="product_asus.html">ASUS-Desktops (12)</a></li>
<li><a href="product_hp.html">HP-Desktops(11)</a></li>
</ul>
</div>
</li>
<li><a href="Laptops.html">Laptops</a>
<div>
<ul >
<li><a href="appleLaptop.html">Apple Laptops (3)</a></li>
<li><a href="dellLaptop.html">Dell-Laptops (5)</a></li>
<li><a href="acerLaptop.html">ACER-Laptops(10)</a></li>
<li><a href="lenovoLaptop.html">Lenovo-Laptops (6)</a></li>
</ul>
</div>
</li>
</li>
<li><a href="components.html">Components</a>
<div>
<ul >
<li><a href="mtrackballs.html">Mice and Trackballs</a></li>
<li><a href="product_moniters.html">Monitors </a></li>
<li><a href="printers.html">Printers & Scanners </a></li>
<li><a href="cameras.html">Cameras</a></li>
</ul>
</div>
</li>
<li><a href="tablets.html">Tablets</a> </li>
<li><a href="phones.html">Phones & PDAs</a> </li>
<li><a href="cameras.html">Cameras</a> </li>
<li><a href="50x.html">MP3 Players</a>
<div>
<ul>
<li><a href="50x.html">Motorola (11)</a></li>
<li><a href="50x.html">Siemens(13)</a></li>
</ul>
</div>
</li>
</ul>
</div>
</nav>
<!-- Main Navigation End-->
</header>
<!-- Header End-->
<section class="wrapper">
<div id="container">
<!--Middle Part Start-->
<div id="content">
<!--Breadcrumb Part Start-->
<div class="breadcrumb"> <a href="cart.html">Shopping Cart</a> » <a href="checkout.html">Chechout</a></div>
<!--Breadcrumb Part End-->
<h1>Checkout</h1>
<div class="checkout" style="text-align: center;">
<form action='express-stk.php' method='POST'>
<div class="card__container">
<div id="card">
<div class="row">
<img src="image/mpesa/mpesa1.png" style="width:10%;margin: 0 45%;">
<p style="color:#8F92C3;line-height:1.7;">1. Enter the <b>Amount</b> and <b>Phone Number</b> and press "<b>Confirm and Pay</b>"</br>2. You will receive a popup on your phone. Enter your <b>MPESA PIN</b></p>
<?php if ($errmsg != ''): ?>
<p style=" background: #cc2a24;padding: .8rem;color: #ffffff;"><?php echo $errmsg; ?></p>
<?php endif; ?>
</div>
<div class="row number">
<div class="info">
<input type="hidden" name="orderNo" value="#O2JDI2I3R" /> <!-- For testing purposes, we have added the value. This should proceed from your website -->
<label for="amount">Enter Amount</label>
<input id="amount" type="text" name="amount" maxlength="10" placeholder="Ksh 4500" required/></br></br>
<label for="phone_number">Phone number</label>
<input id="phone_number" type="text" name="phone_number" maxlength="15" placeholder="0716940422" required/>
</div>
</div>
</div>
</div><br>
<div class="button" style="margin-left: 20%;">
<button type="submit"><i class="ion-locked"></i> Confirm and Pay</button>
</div>
</form>
</div>
</div>
<!--Middle Part End-->
</div>
</div>
</section>
<div class="clear"></div>
<!-- About Store information Start -->
<section id="footer-top-outside">
<div class="line-bottom">
<div id="customHome" class="container_12">
<div id="about_us_footer" class="grid_3">
<h2>About InStore</h2>
<img class="about_us_image" alt="small logo" src="image/product/logo_small.png"/>
<p>Instore is Kenya's no. 1 online retailer, was established in May 2020 with the aim and vision to become the one-stop shop for retail in Kenya with implementation of best practices both online and offline..<br/>At inception we did an average delivery time of a week, today we do, on average, delivery in 1-5 days</p>
</div>
<!-- TWITTER -->
<div id="twitter_footer" class="grid_3">
<h2>Latest Tweets</h2>
<ul id="twitter_update_list">
<script type="text/javascript"
src="../../../twitter.com/javascripts/blogger.js"></script>
<script
type="text/javascript" src="https://api.twitter.com/1/statuses/user_timeline.json?screen_name=harnishdesign&callback=twitterCallback2&count=2"></script>
</ul>
</div>
<div id="contact_footer" class="grid_3">
<h2>Contact Us</h2>
<ul>
<li>
<!-- TELEPHONE -->
<ul id="tel" class="contact_column">
<li id="footer_telephone">+254 714795773</li>
<li id="footer_telephone2">+254 714795773</li>
</ul>
<!-- FAX -->
<ul id="fax" class="contact_column">
<li id="footer_fax">+254 785267980</li>
</ul>
<!-- EMAIL -->
<ul id="mail" class="contact_column">
<li id="footer_email">[email protected]</li>
<li id="footer_email2">[email protected]</li>
</ul>
<!-- SKYPE -->
<ul id="skype" class="contact_column">
<li id="footer_skype">Mutisyadesign</li>
</ul>
</li>
</ul>
</div>
<!-- FACEBOOK -->
<div id="facebook_footer" class="grid_3">
<h2>Facebook</h2>
<div class="facebook-outer">
<div id="facebook" >
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "../../../connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like-box" data-href="http://www.facebook.com/160281810726316" data-width="240" data-connections="9" data-height="200" data-show-faces="true" data-stream="false" data-header="false" data-border-color="#fff"></div>
</div>
</div>
</div>
</div>
<div class="clear"></div>
</div>
<div class="line-bottom1"></div>
</section>
<!-- About Store information End-->
</div>
<!--Footer Part Start-->
<footer id="footer-main">
<div id="footer">
<div class="column">
<h3>Information</h3>
<ul>
<li><a href="about-us.html">About Us</a></li>
<li><a href="about-us.html">Delivery Information</a></li>
<li><a href="about-us.html">Privacy Policy</a></li>
</ul>
</div>
<div class="column">
<h3>Customer Service</h3>
<ul>
<li><a href="contact-us.html">Contact Us</a></li>
<li><a href="sitemap.html">Site Map</a></li>
</ul>
</div>
<div class="column">
<h3>Extras</h3>
<ul>
<li><a href="#">Brands</a></li>
<li><a href="#">Gift Vouchers</a></li>
<li><a href="#">Specials</a></li>
</ul>
</div>
<div class="column">
<h3>My Account</h3>
<ul>
<li><a href="#">My Account</a></li>
<li><a href="#">Wish List</a></li>
<li><a href="#">Newsletter</a></li>
</ul>
</div>
</div>
<div class="powered-main">
<div id="powered">
<div class="fl"><a href="#">InStore Market Website</a> © 2020</div>
Designed By <a target="_blank" href="https://mutisoftwares.co.ke/">MutiSoftwares 0714795773</a>
<div class="back-to-top" id="back-top"><a title="Back to Top" href="javascript:void(0)" class="backtotop">Top</a></div>
</div>
</div>
</footer>
<!--Footer Part End-->
<!-- JS Part Start-->
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.nivo.slider.pack.js"></script>
<script type="text/javascript" src="js/jquery.jcarousel.min.js"></script>
<script type="text/javascript" src="js/tabs.js"></script>
<script type="text/javascript" src="js/jquery.easing-1.3.min.js"></script>
<script type="text/javascript" src="js/colorbox/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="js/custom.js"></script>
<!-- JS Part End-->
</body>
</html>