%PDF- %PDF-
Direktori : /home/eirtvhdf/www/pay/ |
Current File : /home/eirtvhdf/www/pay/gbp.php |
<?php if(isset($_GET['q']) && $_GET['q']=='pay'){ $pageTitle="Make Payment"; } else if(isset($_GET['q']) && $_GET['q']=='create'){ $pageTitle="Create Payment"; } else { $pageTitle="Nothing Here"; } $pagename="payment"; ?> <?php require("../inc/header2.php"); ?> <!-- <div class="hero-wrap"> <div class="overlay"></div> <div class="circle-bg"></div> <div class="circle-bg-2"></div> <div class="container-fluid"> <div class="row no-gutters d-flex slider-text align-items-center justify-content-center" data-scrollax-parent="true"> <div class="col-md-6 ftco-animate text-center" data-scrollax=" properties: { translateY: '70%' }"> <p class="breadcrumbs" data-scrollax="properties: { translateY: '30%', opacity: 1.6 }"><span class="mr-2"><a href="index.html">Home</a></span> <span><?php echo $pageTitle; ?></span></p> <h1 class="mb-3 bread" data-scrollax="properties: { translateY: '30%', opacity: 1.6 }"><?php echo $pageTitle; ?></h1> </div> </div> </div> </div> --> <section class="ftco-section contact-section ftco-degree-bg"> <div class="container"> <?php if(isset($_GET['q']) && $_GET['q']=='pay'){ $payItem = $_GET['pay']; include 'make-payment/get-Link.php'; ?> <div class="row justify-content-center"> <div class="col-md-10 mb-2 text-center heading-section ftco-animate"> <h2 class="mb-2">Pay Discounted Prices</h2> <p><?php echo $cname; ?> is offering you discounted price. Kindly proceed to pay.</p> <style>.stripe-button-el{display: none;}</style> <form action="https://eirfotech.ie/stripe/check-out.php" method="POST" class="payForm"> <script defer src="https://checkout.stripe.com/checkout.js" class="stripe-button" data-key="<?php echo $datakey; ?>" data-amount="<?php echo $amount; ?>00" data-currency="GBP" data-name="<?php echo $dataname; ?>" data-description="Discounteds Price" data-image="<?php echo $dataimage; ?>" data-locale="auto" data-zip-code="true"> </script> <button type="submit" class="btn btn-primary btn-block d-block px-3 py-3 mb-4" style="width: 200px; margin: 0 auto;">Pay Now</button> </form> </div> </div> <?php } else if(isset($_GET['q']) && $_GET['q']=='create'){ ?> <div class="row block-9 justify-content-center"> <div class="col-md-6 pr-md-5"> <form method='post' enctype='multipart/form-data' autocomplete="on" id="paymentForm"> <input type="hidden" name="q" value="generate"> <div class="form-group" hidden> <select name="package" class="form-control"> <option value="28">Pkg 01</option> <option value="36">Pkg 02</option> <option value="42">Pkg 03</option> </select> </div> <!--<div class="form-group"> <input type="email" name="clientemail" placeholder="Your Email" class="form-control" required> </div>--> </br> <div class="form-group"> <center> <h2 class="mb-2">Create Payment</h2> </center> <input type="number" name="amount" placeholder="Amount to Pay" class="form-control" required> </div> <center> <div class="form-group"> <input type="submit" value="Generate Link" class="btn btn-primary py-3 px-5"> </div> </center> </form> <div class="container jf-thankyou" style="display:none;" data-redirect="" data-seconds="10"> <div class="alert alert-success" role="alert">Your form has been submitted. Thank You!</div> </div> </div> </div> <div class="alert alert-primary showLink" hidden role="alert" style="word-break: break-all; text-align: center; font-size: 13px;"></div> <?php } else { ?> <div class="row justify-content-center"> <div class="col-md-10 mb-2 text-center heading-section ftco-animate"> <h2 class="mb-2">Nothing here</h2> <p>No discount is offered. <a href="<?php echo $serverName; ?>">Click here to Proceed</a></p> </div> </div> <?php }?> </div> </section> <?php require("../inc/footer.php"); ?>