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.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://checkout.stripe.com/checkout.js"></script>
        <script type="text/javascript">
                        function pay(amount) {
                            var handler = StripeCheckout.configure({
                                key: 'pk_test_51K1ZWrSDc7w4P8VLVOXjAOkbFdgMkuVnbHO0lsd4l2o05d6ExRvepJbTdjthARojEtOddfJduV1yJLWszMmxoiob00lkkTNGH6', // your publisher key id
                                locale: 'auto',
                                token: function (token) {
                                    // You can access the token ID with `token.id`.
                                    // Get the token ID to your server-side code for use.
                                    $('#token_response').html(JSON.stringify(token));
                                    $.ajax({
                                        url: "checkone.php",
                                        method: 'post',
                                        data: {tokenId: token.id, amount: amount},
                                        dataType: "json",
                                        success: function (response) {
                                              window.location = response.redirect_url;
                                            //alert(response.redirect_url)
                                            //$('#token_response').append('<br />' + JSON.stringify(response.data)).append('<br />' + JSON.stringify(response.customer));
                                        }
                                    })
                                }
                            });
                            handler.open({
                                name: 'Hello GTX',
                                description: 'Mussories Hotels',
                                currency: 'inr',
                                amount: amount * 100
                            });
                        }
        </script>
    </body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit