%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<?php error_reporting(0); include(APPPATH.'views/includes/header.php'); ?> <!--BreadcrumbsStart--> <section id="breadcrumbs"> <div class="container van-booking-head"> <div class="row"> <div class="col-md-12"> <h1>Payment Status: <?=$queryRecord['payment_message'] ?></h1> </div> <div class="col-md-12"> <ul> <li>Sharda Hospital</li> <li>Aarogya Mammography Van Booking</li> </ul> </div> </div> </div> </section> <!--BreadcrumbsEnd--> <!--MainDIV-Start--> <section id="main"> <div class="container"> <div class="row"> <div id="payment" class="col-sm-8 col-sm-offset-2"> <div class="row"> <div class="col-sm-10 col-sm-offset-1 col-xs-12"> <?php if(($queryRecord['payment_message']==="APPROVED")) { echo '<center><h2 class="h2inner mrg-bot30">Thank you for booking Aarogya Mammography Van. Your Transaction is successful.</h2></center>'; ?> <h3><small><strong>Customer Details</strong></small></h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Order ID</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['booking_id']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Name</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['contact_person']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Phone Number</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['contact_no']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Email-ID</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['email_id']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Billing Address</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['full_address'].',<br />'.$queryRecord['city'].',<br />'.$queryRecord['state'].' - '.$queryRecord['pincode'].',<br />'.$queryRecord['country']; ?></td> </tr> </table> <h3><small><strong>Transaction Details</strong></small></h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Transaction ID</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $query['transaction_id']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Transaction Date</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo date('d, M Y H:i:s',strtotime($query['createdon'])); ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Bank Reference Number</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $query['bank_ref_no']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Amount</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo "INR ".$queryRecord['booking_amount']; ?></td> </tr> </table> <?php echo '<br /><div class="download_top"><br /><center><a href="https://www.shardahospital.org/van-booking" class="button">Book Another</a></center></div>'; } else if($queryRecord['order_status']==="FAILED") { echo '<br /><center><h3 style="color:#f47436;">Thank you for booking Aarogya Mammography Van. However, the transaction has been failed.</h3></center><br />'; ?> <h3><small><strong>Customer Details</strong></small></h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Order ID</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['booking_id']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Name</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['contact_person']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Phone Number</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['contact_no']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Email-ID</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['email_id']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Billing Address</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['full_address'].',<br />'.$queryRecord['city'].',<br />'.$queryRecord['state'].' - '.$queryRecord['pincode'].',<br />'.$queryRecord['country']; ?></td> </tr> </table> <h3><small><strong>Transaction Details</strong></small></h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Transaction ID</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $query['transaction_id']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Transaction Date</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $query['createdon']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Bank Reference Number</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $query['bank_ref_no']!='null' ? $query['bank_ref_no'] : 'NA'; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Amount</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php if($query['amount']!='') { echo "INR ".$query['amount']; } else { echo 'NA'; } ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Payment Status</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?=$queryRecord['payment_message'] ?></td> </tr> </table> <?php $resp = '?resp='.base64_encode($queryRecord['id']); echo '<br /><div class="download_top"><br /><center><a href="https://www.shardahospital.org/van-booking/'.$resp.'" class="button">Try Again</a></center></div>'; } /*********** order id and amount are not match. ************/ else if($response['order_status']==="DECLINED") { echo '<center><h2 class="h2inner mrg-bot30">It seems you have tried to hack into the system and tamper with the details. The amount has been deducted from your account. Kindly get in touch to get your refund.</h2></center>'; ?> <h3><small><strong>Customer Details</strong></small></h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Order ID</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['booking_id']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Name</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['contact_person']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Phone Number</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['contact_no']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Email-ID</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['email_id']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Billing Address</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['full_address'].',<br />'.$queryRecord['city'].',<br />'.$queryRecord['state'].' - '.$queryRecord['pincode'].',<br />'.$queryRecord['country']; ?></td> </tr> </table> <h3><small><strong>Transaction Details</strong></small></h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Transaction ID</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $query['transaction_id']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Transaction Date</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $query['createdon']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Bank Reference Number</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $query['bank_ref_no']!='null' ? $query['bank_ref_no'] : 'NA'; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Amount</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php if($query['amount']!='') { echo $query['currency']." ".$query['amount']; } else { echo 'NA'; } ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Payment Status</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?=$response['order_status'] ?></td> </tr> </table> <?php echo '<br /><div class="download_top"><br /><center> <a href="https://www.shardahospital.org/van-booking/" class="button">Another Booking</a> </center> </div>'; } else { $this->db->where('order_id',$response['order_id']); $this->db->set('PaymentFailureMsg','Failure'); $this->db->set('OrderPaymentStatus','Aborted'); $this->db->update('sh_payment_transactions'); $security_error = "Security Error. Illegal access detected. Please Try again later."; echo '<br /><center><h3 style="color:#f47436;">'.$security_error.'</h3></center>'; ?> <h3><small><strong>Customer Details</strong></small></h3> <table style="width:100%; border:1px solid #333;"> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Order ID</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['booking_id']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Name</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['contact_person']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Phone Number</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['contact_no']; ?></td> </tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Email-ID</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['email_id']; ?></td> </tr> <tr> <tr> <td style="width:30%;border:1px solid #333;padding:10px;"><strong>Error Message</strong>: </td> <td style="border:1px solid #333;padding:10px;"><?php echo $queryRecord['transaction_msg']; ?></td> </tr> </table> <?php echo '<br /><div class="download_top"><br /><center><a href="https://www.shardahospital.org/van-booking/" class="button">Buy Another Booking</a></center></div>'; } echo "<br><br>"; ?> </div> </div> </div> </div> </div> </section> <!--MainDIV-End--> <?php include(APPPATH.'views/includes/footer.php'); ?>