MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 13.58.61.197
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/arcsol.in/assets/../../indiatourbus.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/arcsol.in/assets/../../indiatourbus.com/check.php
<?php
@extract($_POST);
// print_r($_POST);exit;
if($_POST['code']=='PAYMENT_ERROR'){
    header("location: failure.php?payment_request_id=$userID&payment_status=Failed&transaction_id=$transactionId&payment_status=Failed");
    exit;
}elseif($_POST['code']=='PAYMENT_PENDING'){
    header("location: failure.php?payment_request_id=$userID&payment_status=Failed&transaction_id=$transactionId&payment_status=Failed");
    exit;
}elseif($code =='PAYMENT_SUCCESS'){
    $userID=$_GET['payment_request_id'];
    $transactionId=$_GET['transaction_id'];
    header("location:thanks.php?payment_request_id=$userID&payment_status=Credit&transaction_id=$transactionId&ord_payment_gateway=PhonePe");
    exit;
}else{
    header("location: failure.php?payment_request_id=$userID&payment_status=Failed&transaction_id=$transactionId&payment_status=Failed");
    exit;
}
?>

MMCT - 2023