if(isset($_POST['Submit'])) { echo $dif_cuntry=trim(addslashes($_POST['dif_cuntry'])); $dif_addr=trim(addslashes($_POST['dif_addr'])); $dif_city=trim(addslashes($_POST['dif_city'])); if($_POST['dif_state']!='') { $dif_state=trim(addslashes($_POST['dif_state'])); $dif_state=explode('-',$dif_state); $dif_state=$dif_state[0]; } if($_POST['dif_state1']!='') { $dif_state=trim(addslashes($_POST['dif_state1'])); } $dif_pin=trim(addslashes($_POST['dif_pin'])); if($dif_cuntry!='') { $Updatecart_a = mysql_query("UPDATE shop_cart SET `billing`='1',del_country='$dif_cuntry',del_city='$dif_city',del_address='$dif_addr',del_state='$dif_state',del_inp='$dif_pin' where session_id='$browsessionid' "); } header("location:checkout_confirmation.php"); } ?> $objitem = mysql_query("SELECT * from shop_user where user_id='$sessionid_free'"); $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']; $country=$Fetitem['country']; $city=$Fetitem['city']; $address=$Fetitem['address']; $state=$Fetitem['state']; $pin=$Fetitem['postcode']; $new_sataus=$Fetitem['new_status']; $new_state=$Fetitem['state']; $Updatecart_a = mysql_query("UPDATE shop_cart 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'; } ?>
Product | Total | |
---|---|---|
echo $resmenu['name'];?> × if($x>0) { ?> echo $qty;?> } ?> if($x>0) { ?>( } ?> echo $qty;?> if($x>0) { ?>+ echo $x;?> Free= echo ($qty+$x); ?>) } ?> | } else { ?>echo $resmenu['name'];?> × echo $qty;?> | } ?>if($country=="India") { ?> echo sprintf('%0.2f', $totprice);?> $totprice;?> } else { ?> echo sprintf('%0.2f', $totprice_int);?> $totprice;?> } ?> |
Cart Total | if($country=="India") { ?> echo $subtotal;?> } else { ?> echo $new_price;?> } ?> | |
Shipping&Packing Charges | if($country=="India") { ?> echo $new_kilo_4=((($new_kilo_6+1)*$courier_fees)+$packing_charges);?>.00 } else { $tot_weight_2_int=$tot_weight_2; $Query_job_move_courier_country= mysql_query("SELECT * from tbl_courier_charges_country where state='$country' "); $row_job_move_courier_country= mysql_fetch_array($Query_job_move_courier_country); $num_max_ship_int=mysql_num_rows($Query_job_move_courier_country); if($num_max_ship_int>0) { $courier_fees_country=$row_job_move_courier_country['amount']; $courier_fees_country_extra=$row_job_move_courier_country['additional_amount']; } else { $Query_job_move_courier_country= mysql_query("SELECT * from tbl_courier_charges_country where state='Others' "); $row_job_move_courier_country= mysql_fetch_array($Query_job_move_courier_country); $courier_fees_country=$row_job_move_courier_country['amount']; $courier_fees_country_extra=$row_job_move_courier_country['additional_amount']; } if($tot_weight_2_int<=500) { $courier_fees_country_1=$courier_fees_country; } else { $tot_weight_2_int_1=($tot_weight_2_int-500); $tot_weight_2_int_1_2=($tot_weight_2_int_1/250); $new_kilo_5_int = explode('.',$tot_weight_2_int_1_2); $new_kilo_6_int=$new_kilo_5_int[0]; $new_kilo_6_int_7=($new_kilo_6_int+1); $new_kilo_6_int_7_8=($courier_fees_country_extra*$new_kilo_6_int_7); $courier_fees_country_1=($courier_fees_country+$new_kilo_6_int_7_8); } ?> echo $new_kilo_4=($courier_fees_country_1);?>.00 } ?> | |
Order Total ( Inclusive of GST ) | if($country=="India") { ?> echo $subtotal+$new_kilo_4;?> } else { ?> echo $new_price+$courier_fees_country_1;?> } ?> |
Please send a check to Store Name, Store Street, Store Town, Store State / County, Store Postcode.
Pay With PayuMoney.