87 lines
3.5 KiB
PHP
87 lines
3.5 KiB
PHP
<!-- Main content -->
|
|
<?php include('common/userstrip.php'); ?>
|
|
|
|
<!--begin::Row-->
|
|
<div class="row g-5 g-xl-8">
|
|
<!--begin::Col-->
|
|
<div class="col-xl-6">
|
|
<!--begin::Tables Widget 3-->
|
|
<div class="card card-xl-stretch mb-xl-8">
|
|
<!--begin::Header-->
|
|
<div class="card-header border-0 pt-5">
|
|
<h3 class="card-title align-items-start flex-column">
|
|
<span class="card-label fw-bolder fs-3 mb-1">Payment Methods</span>
|
|
</h3>
|
|
<div class="card-toolbar">
|
|
PayPal
|
|
</div>
|
|
</div>
|
|
<!--end::Header-->
|
|
<!--begin::Body-->
|
|
<div class="card-body py-3">
|
|
<!--begin::Table container-->
|
|
<form name="pp" action="/member/paypal" method="POST">
|
|
|
|
|
|
<div class="form-group">
|
|
<label for="sel1">Amount:</label>
|
|
<select class="form-control" id="sel1" name="D1" onchange="checkAmountPaypal(this.value);">
|
|
<option>Select Amount..</option>
|
|
<?php
|
|
|
|
for ($i=2; $i<5; $i++)
|
|
{
|
|
|
|
$nairaval = $i*2000;
|
|
$dollarval = ($nairaval/370)*(1.015);
|
|
echo "<option value='".$dollarval."' selected>".$nairaval." Naira for $". sprintf ("%.2f",$dollarval)."</option>";
|
|
}
|
|
?>
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="text-center pt-15">
|
|
|
|
<div class="alert alert-info no-border"> You will be transferred to the Paypal website to complete this transaction.
|
|
<p>
|
|
You will require an existing Paypal account to complete this transaction.</div>
|
|
|
|
<p><div class="alert alert-danger no-border">PLEASE DO NOT CLOSE THE PAYPAL PAGE AFTER PAYMENT IS COMPLETED, you will be automatically re-directed back to your WrenchBoard account once payment is approved. If you close the page before this, your payment may not be properly credited.
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<!--begin::Actions-->
|
|
<div class="text-center pt-15">
|
|
<button type="reset" id="kt_modal_new_card_cancel" class="btn btn-light me-3">Discard</button>
|
|
<button type="submit" id="kt_modal_new_card_submit" class="btn btn-primary">
|
|
<span class="indicator-label">Continue</span>
|
|
<span class="indicator-progress">Please wait...
|
|
<span class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
|
|
</button>
|
|
</div>
|
|
<!--end::Actions-->
|
|
</form>
|
|
<!--end::Table container-->
|
|
</div>
|
|
<!--begin::Body-->
|
|
</div>
|
|
<!--end::Tables Widget 3-->
|
|
</div>
|
|
<!--end::Col-->
|
|
<!--begin::Col-->
|
|
<div class="col-xl-6">
|
|
<!--begin::Tables Widget 4-->
|
|
<div class="card card-xl-stretch mb-5 mb-xl-8">
|
|
|
|
</div>
|
|
<!--end::Tables Widget 4-->
|
|
</div>
|
|
<!--end::Col-->
|
|
</div>
|
|
<!--end::Row-->
|