<div class="paymentSuccessPage">
	<div class="container">
		<div class="row justify-content-center">
			<div class="col-md-6 text-center">
				<?php if(isset($type) && $type=="success"): ?>
					<div class="successArea">
						<div class="successTop">
							<i class="fa fa-check-circle"></i>
						</div>
						<div class="successDetails">
							<h4><?= !empty(lang('payment_success'))?lang('payment_success'):"Payment Success" ;?></h4>
							<div class="">
								<p><?= !empty(lang('payment_method'))?lang('payment_method'):"Payment Method" ;?> : <?= isset($_GET['method'])?ucfirst($_GET['method']):"" ;?></p>

								<p><?= !empty(lang('txn_id'))?lang('txn_id'):"Payment Method" ;?> : <?= isset($_GET['txn_id'])?ucfirst($_GET['txn_id']):"" ;?></p>
								<h4><?= !empty(lang('price'))?lang('price'):"Price" ;?> : <?= isset($_GET['amount'])?ucfirst($_GET['amount']):"" ;?> <?=  my_currency($service_settings['country_id'],'currency_symbol');?></h4>
							</div>
							<div class="mt-20">
								<a href="<?= base_url('services/'.$slug) ;?>" class="btn btn-success ok_btn"><?= !empty(lang('ok'))?lang('ok'):"OK" ;?></a>
							</div>
						</div>
					</div>
				<?php else: ?>
					<div class="successArea">
						<div class="successTop failed">
							<i class="fa fa-exclamation-triangle"></i>
						</div>
						<div class="successDetails">
							<h4><?= !empty(lang('payment_failed'))?lang('payment_failed'):"Sorry! Payment failed" ;?></h4>
							<div class="">
								<p><?= !empty(lang('payment_method'))?lang('payment_method'):"Payment Method" ;?> : <?= isset($_GET['method'])?ucfirst($_GET['method']):"" ;?></p>

								<h4><?= !empty(lang('price'))?lang('price'):"Price" ;?> : <?= isset($_GET['amount'])?ucfirst($_GET['amount']):"" ;?> <?=  my_currency($service_settings['country_id'],'currency_symbol');?></h4>
							</div>
							<div class="mt-20">
								<a href="<?= base_url('services/'.$slug) ;?>" class="btn btn-success ok_btn"><?= !empty(lang('ok'))?lang('ok'):"OK" ;?></a>
							</div>
						</div>
					</div>
				<?php endif;?>
			</div>
		</div>
	</div>
</div>