PK

ADDRLIN : /home/questend/public_html/domains/rwa40.com/PaytmKit/
FLL :
Current File : /home/questend/public_html/domains/rwa40.com/PaytmKit/paynow.php

<?php
	header("Pragma: no-cache");
	header("Cache-Control: no-cache");
	header("Expires: 0");
	ob_start();
	//error_reporting(E_ALL ^ E_NOTICE);
	@session_start();
	if(empty($_SESSION['userId'])){
    header("Location: ../index.php");
    exit();
    }
	ini_set('allow_url_include',1);    
	date_default_timezone_set("Asia/Kolkata");
	set_time_limit(600);
	ini_set('max_execution_time',600);

	require_once '../admin/includes/settings/PDODB.php';
	include '../admin/includes/modules/functions.php';
	include '../admin/includes/settings/constant.php';

	//print_r($_GET); exit;
	
	$function = new FUNCTIONS();
	$ipaddress = $function->getRealIpAddr();
	$pdodb = PDODB::getInstance();
    $userId = $_SESSION['userId'];
    $txnAmount = $_GET['amount'];
    $user = $function->getUsers($_SESSION['userId'],NULL,NULL,1);
    $user_details = $function->getUserDetails($_SESSION['userId'],NULL,1);
    $date = date('Y-m-d H:i:s');


    
    //$LASTID = $pdodb->lastInsertId(); exit;

    $payIdQuery = "SELECT * FROM `payment_loger` ORDER BY `payment_loger`.`id` DESC";

    $result1 = $pdodb->query($payIdQuery);
   	$LASTID = $result1[0]['id'];
   	$ORDER_ID = "RWA" .$user[0]['id'].'-'.$LASTID;

    echo $sql = "INSERT INTO payment_loger SET uid='".$userId."',amount='".$txnAmount."',orderid='".$ORDER_ID."',ipaddress='".$ipaddress."',publishdate='".$date."'";
    //exit;
    $result = $pdodb->query($sql);
    
	//print_r($result2); exit;
	PDODB::closeInstance();
	$txnAmount = $_GET['amount'];
	$CUST_ID = $user[0]['id'];
	//$ORDER_ID = "ORD" .$LASTID.'-'.$user[0]['id'];
	
	$ORDER_DETAILS= "Yearly Charges";
	$USERNAME = $user[0]['owner_name'];
	$MOBILE_NO = $user[0]['mobile'];
	$EMAIL = $user[0]['email'];
	$ADDRESS= $user_details[0]['house_no'];
	$INDUSTRY_TYPE_ID= 'Retail109'; //Retail:Retail109
	$CALLBACK_URL=BASEPATH.'pgResponse.php';
	//print_r($CALLBACK_URL);
	//exit;

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="../js/jquery-2.1.1.js"></script>
<script type="text/javascript">
    $(document).ready(function(){            
       $("#frm1").submit();
    });
</script>
</head>
<body>
	<form name="frm1" id="frm1" method="post" action="pgRedirect.php">
		<table>
			<tr>
			<td><input type="hidden" id="ORDER_ID" tabindex="1" maxlength="20" size="20"
				name="ORDER_ID" autocomplete="off"
				value="<?=$ORDER_ID; ?>" readonly="readonly">
			</td>
			<td><input type="hidden" id="CUST_ID" tabindex="2" name="CUST_ID" autocomplete="off" value="<?=$CUST_ID; ?>" readonly="readonly"></td>
			<td><input type="hidden" id="INDUSTRY_TYPE_ID" tabindex="4" maxlength="12" size="12" name="INDUSTRY_TYPE_ID" autocomplete="off" value="<?=$INDUSTRY_TYPE_ID;?>" readonly="readonly"></td>
			<td><input type="hidden" id="CHANNEL_ID" tabindex="4" maxlength="12"
				size="12" name="CHANNEL_ID" autocomplete="off" value="WEB" readonly="readonly">
			</td>
			<td><input title="TXN_AMOUNT" tabindex="10"
				type="hidden" name="TXN_AMOUNT"
				value="<?=$txnAmount; ?>" readonly="readonly">
			</td>
			<td><input title="USERNAME" tabindex="10"
				type="hidden" name="USERNAME"
				value="<?=$USERNAME; ?>" readonly="readonly">
			</td>
			<td><input title="MOBILE_NO" tabindex="10"
				type="hidden" name="MOBILE_NO"
				value="<?=$MOBILE_NO; ?>" readonly="readonly">
			</td>
			<td><input title="EMAIL" tabindex="10"
				type="hidden" name="EMAIL"
				value="<?=$EMAIL; ?>"  readonly="readonly">
			</td>					
			<td><input title="ORDER_DETAILS" tabindex="10"
				type="hidden" name="ORDER_DETAILS"
				value="<?=$ORDER_DETAILS; ?>" readonly="readonly">
			</td>
			<td><input title="ADDRESS" tabindex="10"
				type="hidden" name="ADDRESS"
				value="<?=$ADDRESS; ?>" readonly="readonly">
			</td>
			<td><input type="hidden" name="CALLBACK_URL" value="<?=$CALLBACK_URL; ?>" readonly="readonly"></td>
			<td><input type="hidden" value="CheckOut" type="submit" onclick=""></td>
			</tr>	
		</table>		
	</form>
</body>
</html>


PK 99
E-SHOP || DASHBOARD
404

Page Not Found

It looks like you found a glitch in the matrix...

← Back to Home