<?php
include('Admin/config/setup.php');
$razorpaykeyId = $razorpaykeySecret = "";
$newsql = $config->query("SELECT * FROM payment_setting WHERE Payment_id = 1 ");
$newres = $newsql->fetch_assoc();
$razorpaykeyId = $newres['Payment__id'] ;
$razorpaykeySecret = $newres['Payment_Key'] ;

$keyId = $razorpaykeyId;
$keySecret = $razorpaykeySecret;
$displayCurrency = 'INR';

echo $keyId.'<br>'.$keySecret;

//These should be commented out in production
// This is for error reporting
// Add it to config.php to report any errors
error_reporting(E_ALL);
ini_set('display_errors', 0);

// $keySecret = "uaDCbLGBHVs85iPTGKlKQSDX";
// $keyId = "rzp_test_bvtSBL5yLd5UpW";

?>
























<!--include('../admin/config/connection.php');-->
<!--$razorpaykeyId = $razorpaykeySecret = "";-->
<!--$newsql = "SELECT * FROM settings";-->
<!--$newquery=mysqli_query($conn, $newsql);-->
<!--while( $rows=mysqli_fetch_array($newquery) ) {-->
<!--	$options = $rows["options"];-->
<!--	$value = $rows["value"];-->
<!--	if($options == "razorpaykeyId"){-->
<!--	  $razorpaykeyId = $value;-->
<!--	}-->
<!--	if($options == "razorpaykeySecret"){-->
<!--	  $razorpaykeySecret = $value;-->
<!--	}-->
<!--}-->
<!--$keyId = $razorpaykeyId;-->
<!--$keySecret = $razorpaykeySecret;-->
<!--$displayCurrency = 'INR';-->

<!--//These should be commented out in production-->
<!--// This is for error reporting-->
<!--// Add it to config.php to report any errors-->
<!--error_reporting(E_ALL);-->
<!--ini_set('display_errors', 0);-->

<!--// $keySecret = "uaDCbLGBHVs85iPTGKlKQSDX";-->
<!--// $keyId = "rzp_test_bvtSBL5yLd5UpW";-->




















