$_SESSION['razorpay_order_id'], 'razorpay_payment_id' => $_POST['razorpay_payment_id'], 'razorpay_signature' => $_POST['razorpay_signature'], ); $api->utility->verifyPaymentSignature($attributes); } catch (SignatureVerificationError $e) { $success = false; $error = 'Razorpay Error : ' . $e->getMessage(); } } if ($success === true) { $razorpay_order_id = $_SESSION['razorpay_order_id']; $razorpay_payment_id = $_POST['razorpay_payment_id']; $email = $_SESSION['email']; $price = $_SESSION['price']; $msg_to_verify = $_SESSION['msg_to_verify']; $subject_to_verify = $_SESSION['subject_to_verify']; $subject = $subject_to_verify.' / '.$razorpay_payment_id; $table_gmail = '
Payment Id
'.$razorpay_payment_id.'
'; $msg_gmail = $msg_to_verify. $table_gmail; send_mail($subject, $msg_gmail); ?> 0) { $Updatecart = mysql_query("UPDATE tbl_appointment SET `status`='1',`payment_type`='Razorpay',`session_id`='',`added_date`='$dt2',`order_id`='$tot_order_id' WHERE `razid`='$razorpay_order_id' and status='0' "); /* -----------------------------------*/ $user = "A5aa862a129267ac55838c7f2e5869d7f"; //your username $password = "conform123"; //your password $senderid="DRANBU"; //Your senderid $messagetype="N"; //Type Of Your Message $url="http://hpsms.dial4sms.com/api/web2sms.php?"; //$message = "Hi ".$firstname." your appointment with Dr. G.ANBUGANAPATHI on ".$ap_date." ".$ap_hour.":".$ap_min.":".$ap_sec." is booked"; //enter Your Message $msg1dddd.="$ap_date"; $msg1dddd.=" $ap_hour"; /*echo $nnnnnnnnnn. ="$ap_date"; echo $nnnnnnnnnn. =" $ap_hour"; exit();*/ $message = "Hi ".$firstname." your video consultation with Dr.ANBUGANAPATHI on ".$ap_date." at ".$ap_hour.":".$ap_min.":".$ap_sec." is booked. Call 9884382200 ten mins before your timing. ANBUDR"; //enter Your Message $message = urlencode($message); $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'http://sms.dial4sms.com/api/v2/SendSMS?SenderId=DRANBU&Message='.$message.'&MobileNumbers='.$mobss.'&ApiKey=eYfIWFmiAMhbL6JDTfOb3kzGzQr+eimy6prshuD8qLo=&ClientId=b45d4e3d-cb26-4856-8cbf-93a02a7b9eeb', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'GET', )); $response = curl_exec($curl); curl_close($curl); //$mobilenumbers1='$res_owner_mobile'; $Msg5 = '
Dr. G.ANBUGANAPATHI - ONLINE APPOINTMENT DETAILS
 
Hi '.$firstname.',

Your Online Appointment with Dr. G.ANBUGANAPATHI on '.$ap_date.' '.$ap_hour.':'.$ap_min.':'.$ap_sec.'(Indian Standard Time)
is booked sucessfully.To Confirm the same kindly contact 8939055088 between(8.30 a.m to 8.30 p.m.) and confirm it.

* Dr. G.ANBUGANAPATHI will call you on '.$ap_date.' at '.$ap_hour.':'.$ap_min.':'.$ap_sec.' through Whatsapp Video Call

* The consultation fee is 100% refundable if you cancel your appointment more than 24 hours prior to your appointment time.Your payment will be credited back to your account within 7 working days.

If you cancel your appointment less than 24 hours of your appointment time, you will be assessed a cancellation fee equal to your consultation fee.



Click the button below to view your Consultation Receipt
Copyright (c) 2020 www.drganbuganapathi.com All Rights Reserved.
'; ?>
Online Consultation Details
ENERGY Foods
#11,2nd Street, Radha Nagar Extn.
Velachery,Chennai 600 042.
State :Tamilnadu  Code:33
Phone:044-2253 1316
Email : drganbuganapathi@gmail.com
Website : www.drganbuganapathi.com
GSTIN:33ACMPA1286A2Z7
PAN:ACMPA1286A
Receipt No : OC-'.$tot_order_id.'
Payment Mode-Payumoney
Name:'.$firstname.' Phone:'.$mobss.' Age:'.$age.' Date:'.$ap_date.'
Consulting For:'.$consulting_for.' Country:'.$country.' Speak:'.$language.' Time:'.$ap_hour.':'.$ap_min.''.$ap_sec.'
Address:
'.$user_address.'
'.$user_city.'
'.$user_state.'-'.$user_postcode.'.'.$user_country.'
Fees:'.$amount.'
';?> Your payment was successful

Payment ID: {$_POST['razorpay_payment_id']}

"; } else { $html = "

Your payment failed

{$error}

"; } $html; ?> Merchant Check Out Page

Please do not refresh this page...