if(isset($_POST['Submit'])) {} ?> if(isset($_POST['Submit'])) {} ?> $sessionid_free_mobile=$_SESSION["mobile"]; $objitem = mysql_query("SELECT * from shop_user where phone='$sessionid_free_mobile'"); $Fetitem = mysql_fetch_array($objitem); $cust_id=$Fetitem['user_id']; $new_status=$Fetitem['new_status']; $country=$Fetitem['country']; $new_sataus=$Fetitem['new_status']; $new_state=$Fetitem['state']; $Fetitem['name']; $country=$Fetitem['country']; $city=$Fetitem['city']; $address=$Fetitem['address']; $state=$Fetitem['state']; $pin=$Fetitem['postcode']; $new_sataus=$Fetitem['new_status']; $new_state=$Fetitem['state']; $dif_cuntry; if($dif_cuntry!='0' || $dif_cuntry!='') { $Updatecart_a = mysql_query("UPDATE shop_cart_admin SET `billing`='0',del_country='$country',del_city='$city',del_address='$address',del_state='$state',del_inp='$pin' where session_id='$browsessionid' "); } ?> $browsessionid=session_id(); $objqrynewsubee = "SELECT SUM(totprice) AS amtTotal FROM shop_cart where session_id='$browsessionid'"; $objResultnewsubee = mysql_query($objqrynewsubee); $Fetchnewww = mysql_fetch_array($objResultnewsubee); $subtotal=$Fetchnewww['amtTotal']; $tx= "Txn" . rand(10000,99999999); $me_kay="iz3S9EJU"; $amount=$subtotal; $fname=$Fetitem['name']; $pinfo=$Fetitem['name']; $email=$Fetitem['email']; $udf5="BOLT_KIT_PHP7"; $salt="BwgrLSotC7"; $hash=hash('sha512', $me_kay.'|'.$me_kay.'|'.$amount.'|'.$pinfo.'|'.$fname.'|'.$email.'|||||'.$udf5.'||||||'.$salt); ?> $_SESSION["userid"]; session_start(); /*if($_SESSION["userid"]=="") { header("location:index.php"); }*/ $sessionid_free=$_SESSION["userid"]; ?> $_SERVER['HTTP_HOST']; $view="/para/doctor-demo/"; $link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://" . $_SERVER['HTTP_HOST'] . $view; $link; function getCallbackUrl() { $protocol = ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') || $_SERVER['SERVER_PORT'] == 443) ? "https://" : "http://"; return $protocol . $_SERVER['HTTP_HOST'] . $view . 'response.php'; } ?>