hjkhhrtertererrrrrerrtertertertertertertert
bnmbnerterterterterterdfgdfgdfgdfgdfgdfgdfgdfgdfg
/
home4
/
digil8bw
/
arrowaim.in
/
Upload FileeE
HOME
<?php ob_start(); include("configuration/function-include.php"); $nav = 'failed'; $message=''; if(!empty($_SESSION['merchant_order_id'])){ $sql_order="select * from invoice where purchase_id='".$_SESSION['merchant_order_id']."'"; $query_order=mysqli_query($conn,$sql_order); $res_order=mysqli_fetch_array($query_order); $sql="update invoice set status=0 where purchase_id='".$_SESSION['merchant_order_id']."'"; $query=mysqli_query($conn,$sql); if($query){ $to = $_SESSION["email"]; $subject = 'Payment Failed Arrow Aim Academy'; $message.= "Name: ".$res_order["name"]."\n"; $message.= "Purchase No: ".$res_order['purchase_id']."\n"; $message.= "Email: ".$res_order['email']."\n"; $message.= "Amount: ₹".(($res_order['amount']))."\n"; // Sending email if(mail($to, $subject, $message)){ $_SESSION['msg'] = 'Your mail has been sent successfully.'; } else{ $_SESSION['msg']= 'Unable to send email. Please try again.'; } } }unset($_SESSION['merchant_order_id']); ?> <!DOCTYPE html> <html lang="en"> <head> <!-- Meta Tag --> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Arrow Aim | Payment Failed</title> <meta name="description" content="2WHEEL"> <meta name="keywords" content="2WHEEL"> <meta name="author" content="2WHEEL"> <!-- Favicon --> <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon"> <link rel="icon" href="images/favicon.ico" type="image/x-icon"> <!-- External CSS --> <link rel="stylesheet" type="text/css" href="assets/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> </head> <body data-spy="scroll" data-target=".navbar-fixed-top" class="success-page"> <section class="pay-success text-center"> <div class="container"> <div class="suc-img-box"> <!-- <img src="images/succ.png" > --> <img src="images/error.svg"> </div> <div class="suc-cont"> <h2 class="suc-tit">Your Payment is suspended</h2> <p>Payment has been failed. Please try again later !</p> <a href="index.php" class="back-home text-red">Go back to Home</a> </div> </div> </section> </body> </html>