Server IP : 82.112.239.40 / Your IP : 3.144.235.139 Web Server : LiteSpeed System : Linux in-mum-web1676.main-hosting.eu 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64 User : u641149403 ( 641149403) PHP Version : 7.4.33 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0755) : /home/u641149403/domains/cabz4you.com/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include "include/header.php" ?> <div class="container ncon"> <div class="row offset-1"> <style> .ncon{ margin-top:185px; } @media only screen and (max-width: 500px) { .ncon{ margin-top:20px; } } </style> <div class="col-sm-8 col-12"> <?php include('Instamojo/Instamojo.php'); // $api= new Instamojo\Instamojo('test_68e28bc055524fb63c602406538','test_2a19e76bcaff903c3d0d1898731'); $api = new Instamojo\Instamojo('test_68e28bc055524fb63c602406538', 'test_2a19e76bcaff903c3d0d1898731', 'https://test.instamojo.com/api/1.1/'); $payid=$_GET['payment_request_id']; try { $response = $api->paymentRequestStatus($payid); // print_r($response); // print_r($response['purpose']); // print_r($response['payment']['status']); echo"<h5> Journey : ".$response['purpose']."</h5>" ; echo"<h5>Payment ID: ".$response['payments'][0]['payment_id']."</h5>" ; echo"<h5>Name: ".$response['payments'][0]['buyer_name']."</h5>" ; echo"<h5>Email ID: ".$response['payments'][0]['buyer_email']."</h5>" ; echo"<h5> Paid Amount : Rs. ".$response['payments'][0]['amount']."</h5>" ; } catch (Exception $e) { print('Error: ' . $e->getMessage()); } ?> </div> <div class=" col-12 col-sm-4 car-img"> <img src="images/thankyou.jpg"> <br><br> </div> </div> </div> <?php include "include/footer.php" ?>