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
/
authorize.php
/
/
<?php use net\authorize\api\contract\v1 as AnetAPI; use net\authorize\api\controller as AnetController; if ($f == "authorize") { if ($s == 'pay') { if (!empty($_POST['card_number']) && !empty($_POST['card_month']) && !empty($_POST['card_year']) && !empty($_POST['card_cvc']) && !empty($_POST['amount']) && is_numeric($_POST['amount']) && $_POST['amount'] > 0) { require_once 'assets/libraries/authorize/vendor/autoload.php'; $amount = Wo_Secure($_POST['amount']); $APILoginId = $wo['config']['authorize_login_id']; $APIKey = $wo['config']['authorize_transaction_key']; $refId = 'ref' . time(); define("AUTHORIZE_MODE", $wo['config']['authorize_test_mode']); $merchantAuthentication = new AnetAPI\MerchantAuthenticationType(); $merchantAuthentication->setName($APILoginId); $merchantAuthentication->setTransactionKey($APIKey); $creditCard = new AnetAPI\CreditCardType(); $creditCard->setCardNumber($_POST['card_number']); $creditCard->setExpirationDate($_POST['card_year'] . "-" . $_POST['card_month']); $creditCard->setCardCode($_POST['card_cvc']); $paymentType = new AnetAPI\PaymentType(); $paymentType->setCreditCard($creditCard); $transactionRequestType = new AnetAPI\TransactionRequestType(); $transactionRequestType->setTransactionType("authCaptureTransaction"); $transactionRequestType->setAmount($amount); $transactionRequestType->setPayment($paymentType); $request = new AnetAPI\CreateTransactionRequest(); $request->setMerchantAuthentication($merchantAuthentication); $request->setRefId($refId); $request->setTransactionRequest($transactionRequestType); $controller = new AnetController\CreateTransactionController($request); if ($wo['config']['authorize_test_mode'] == 'SANDBOX') { $Aresponse = $controller->executeWithApiResponse(\net\authorize\api\constants\ANetEnvironment::SANDBOX); } else{ $Aresponse = $controller->executeWithApiResponse(\net\authorize\api\constants\ANetEnvironment::PRODUCTION); } if ($Aresponse != null) { if ($Aresponse->getMessages()->getResultCode() == 'Ok') { $trans = $Aresponse->getTransactionResponse(); if ($trans != null && $trans->getMessages() != null) { if (Wo_ReplenishingUserBalance($amount)) { $create_payment_log = mysqli_query($sqlConnect, "INSERT INTO " . T_PAYMENT_TRANSACTIONS . " (`userid`, `kind`, `amount`, `notes`) VALUES ('" . $wo['user']['id'] . "', 'WALLET', '" . $amount . "', 'authorize')"); $_SESSION['replenished_amount'] = $amount; $url = Wo_SeoLink('index.php?link1=wallet'); if (!empty($_COOKIE['redirect_page'])) { $redirect_page = preg_replace('/on[^<>=]+=[^<>]*/m', '', $_COOKIE['redirect_page']); $redirect_page = preg_replace('/\((.*?)\)/m', '', $redirect_page); $url = $redirect_page; } $data['status'] = 200; $data['url'] = $url; } } } } } else{ $data['status'] = 400; $data['error'] = $wo['lang']['invalid_id']; } header("Content-type: application/json"); echo json_encode($data); exit(); } }
/home/users/unlimited/www/facebook.codeskitter.site/xhr/authorize.php