uawdijnntqw1x1x1
IP : 216.73.216.93
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
.
/
facebook.codeskitter.site
/
xhr
/
braintree.php
/
/
<?php if ($f == 'braintree') { if ($s == 'checkout') { $data['status'] = 400; if (!empty($_POST['amount']) && is_numeric($_POST['amount']) && $_POST['amount'] > 0 && !empty($_POST['nonce'])) { require_once 'assets/libraries/braintree/vendor/autoload.php'; $gateway = new Braintree\Gateway([ 'environment' => $wo['config']['braintree_mode'], 'merchantId' => $wo['config']['braintree_merchant_id'], 'publicKey' => $wo['config']['braintree_public_key'], 'privateKey' => $wo['config']['braintree_private_key'] ]); $amount = $_POST["amount"]; $nonce = $_POST["nonce"]; $result = $gateway->transaction()->sale([ 'amount' => $amount, 'paymentMethodNonce' => $nonce, 'options' => [ 'submitForSettlement' => true ] ]); if ($result->success || !is_null($result->transaction)) { $db->where('user_id', $wo['user']['user_id'])->update(T_USERS, array( 'wallet' => $db->inc($amount) )); cache($wo['user']['user_id'], 'users', 'delete'); $create_payment_log = mysqli_query($sqlConnect, "INSERT INTO " . T_PAYMENT_TRANSACTIONS . " (`userid`, `kind`, `amount`, `notes`) VALUES ('" . $wo['user']['user_id'] . "', 'WALLET', '" . $amount . "', 'braintree')"); $_SESSION['replenished_amount'] = $amount; if (!empty($_COOKIE['redirect_page'])) { $redirect_page = preg_replace('/on[^<>=]+=[^<>]*/m', '', $_COOKIE['redirect_page']); $url = preg_replace('/\((.*?)\)/m', '', $redirect_page); } else{ $url = Wo_SeoLink('index.php?link1=wallet'); } $data['status'] = 200; $data['url'] = $url; } else { $errorString = ""; foreach($result->errors->deepAll() as $error) { $errorString .= 'Error: ' . $error->code . ": " . $error->message . "\n"; } $data['message'] = $errorString; } } else{ $data['message'] = $wo['lang']['something_wrong']; } header("Content-type: application/json"); echo json_encode($data); exit(); } }
/home/users/unlimited/www/./facebook.codeskitter.site/xhr/braintree.php