connect_error) { die("Connection failed: " . $conn->connect_error); } // try { // $conn = new PDO("mysql:host=$host;dbname=$dbName", $userName, $password); // // set the PDO error mode to exception // $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); // // echo "Connected successfully"; // } catch(PDOException $e) { // echo "Connection failed: " . $e->getMessage(); // } $allowedIps = ['103.88.133.3']; $userIp = $_SERVER['REMOTE_ADDR']; if (in_array($userIp, $allowedIps)) { //-------------------------------- RAZORPAY - TEST ------------------------------ $keyId = 'rzp_test_2yfhfyvVNb9FtQ'; $keySecret = 'U0UkmtXiMlKDNdKfpGESvisD'; $displayCurrency = 'INR'; } else if (!in_array($userIp, $allowedIps)) { //-------------------------------- RAZORPAY ------------------------------ // Tax Guruzz 69 //TAXGURUZZ69@GMAIL.COM $keyId = 'rzp_live_WIrCfnd8sAqNY4'; $keySecret = 'OUjPTEJuVFSmIMUsV1IcG5UX'; $displayCurrency = 'INR'; } // Cashfree TAX CARE 6922 define('CASHFREE_APP_ID', '632587f4278b88c2963e2d4cc85236'); define('CASHFREE_KEY_SECRET', '477d8fce486a600d860c07a559c8bceb5ec24fd1'); define('RETURN_URL', 'https://foodlicenceapply.com/cashfree-response.php'); define('NOTIFY_URL', 'https://foodlicenceapply.com/cashfree-notification.php'); define('REQUEST_URL', 'https://test.cashfree.com/billpay/checkout/post/submit'); error_reporting(E_ALL); ini_set('display_errors', 1); ?>