Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
eval(str_rot13(gzinflate(str_rot13(base64_decode('LUvHkoRXkvyasZm9oYXtCUx1rS94da01Xz/QYtva..
Decoded Output download
if (stristr($_SERVER['SERVER_NAME'], 'atlas.net.tr') === false)
{
echo 'Ykd Script Sanal Pos Modl Lisans Hatasi';
exit;
}
# Required File Includes
//include("../../../dbconnect.php");
include("../../../init.php");
include("../../../includes/functions.php");
include("../../../includes/gatewayfunctions.php");
include("../../../includes/invoicefunctions.php");
$gatewaymodule = "iyzicov2"; # Enter your gateway module name here replacing template
$GATEWAY = getGatewayVariables($gatewaymodule);
if (!$GATEWAY["type"]) die("Module Not Activated"); # Checks gateway module is active before accepting callback
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />';
$invoiceid = $_GET['oid'];
//YKD
$status = '0';
if($_GET['oid'] != '')
{
//print_r($_POST);exit;
//yzico Checkout Form Auth
require_once('../iyzicov2_lib/IyzipayBootstrap.php');
IyzipayBootstrap::init();
# create client configuration
$pos_options = new \Iyzipay\Options();
$pos_options->setApiKey($GATEWAY['iyzicov2_api_key']);
$pos_options->setSecretKey($GATEWAY['iyzicov2_secret_key']);
$pos_options->setBaseUrl("https://api.iyzipay.com");
//
# create request class
//$request = new \Iyzipay\Request\RetrieveCheckoutFormAuthRequest();
$request = new \Iyzipay\Request\RetrieveCheckoutFormRequest();
$request->setLocale($GATEWAY['iyzicov2_language']);
$request->setConversationId($invoiceid);
$request->setToken($_POST['token']);
# make request
//$checkoutFormAuth = \Iyzipay\Model\CheckoutFormAuth::retrieve($request, $pos_options);
$checkoutFormAuth = \Iyzipay\Model\CheckoutForm::retrieve($request, $pos_options);
# print result
$vpos_log = print_r($checkoutFormAuth, true);
$vpos_islem_durumu = $checkoutFormAuth->getStatus();
$vpos_odeme_durumu = $checkoutFormAuth->getPaymentStatus();
//echo $checkoutFormAuth->getStatus().'<br><br>';
//echo $checkoutFormAuth->getPaymentStatus();
//exit;
if ($vpos_islem_durumu == 'success' && $vpos_odeme_durumu == 'SUCCESS') // ve ilemin creti ilgili karttan tahsil edilmi ise
{
$status = '1';
}else{ //ilemde hata olumu, cret tahsil edilememi ise
$status = '0';
$hata_mesaji = $checkoutFormAuth->getErrorMessage();
}
}else{
$status = '0';
//print("deme sonucu alinamadi");
}
//YKD son
# Get Returned Variables - Adjust for Post Variable Names from your Gateway's Documentation
//$status = $_POST["x_response_code"];
$invoiceid = $_GET['oid'];
//$amount = $_POST["x_amount"];
$amount = '';
$fee = 0;
$invoiceid = checkCbInvoiceID($invoiceid,$GATEWAY["name"]); # Checks invoice ID is a valid invoice number or ends processing
//checkCbTransID($transid); # Checks transaction number isn't already in the database and ends processing if it does
if ($status=="1") {
# Successful
addInvoicePayment($invoiceid,$transid,$amount,$fee,$gatewaymodule); # Apply Payment to Invoice: invoiceid, transactionid, amount paid, fees, modulename
logTransaction($GATEWAY["name"],$vpos_log,"Successful"); # Save to Gateway Log: name, data array, status
echo '<script>alert("demeniz Baaryla Tamamland");</script>';
echo '<meta http-equiv="refresh" content="0;URL='.$GATEWAY['systemurl'].'/clientarea.php?action=invoices">';
exit;
} else {
# Unsuccessful
logTransaction($GATEWAY["name"],$vpos_log,"Unsuccessful"); # Save to Gateway Log: name, data array, status
echo '<script>alert("deme Baarsz. Ltfen tekrar deneyiniz. Hata:'.$hata_mesaji.'");</script>';
}
echo '<meta http-equiv="refresh" content="0;URL='.$GATEWAY['systemurl'].'/viewinvoice.php?id='.$invoiceid.'">';
Did this file decode correctly?
Original Code
eval(str_rot13(gzinflate(str_rot13(base64_decode('LUvHkoRXkvyasZm9oYXtCUx1rS94da01Xz/QYtvaqooEgiSEh3ss9WP/dOuPa72HZfnPOBQLhvzfvFnJvPwnH5oqv///4N+yOrtzwjmWJTEKSxSdaC+XWTue1BTR1qA7VuG1KY/27cOzLJEkRPT4+i/IjoAMuAr3X5AeUen3VhTvKsZZKuFHAwiH43sYriCXlWZ5OTbwXtO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XPVV9Wh7Rsm4QlpnGhzoANDJCfP4hzGDOC+BEWdC2TZRqNEQvwh+axe98me+D5S55MwHPmU00WUZYeOdMppguHdDiufKNG/lreuBVD9IZZOBm4H9Z3mCQiI96GL8SAVKtPrPpr2omJbn4CWe3K30e7xm5P//f/vH//+18=')))));
Function Calls
strrev | 3 |
gzinflate | 11 |
str_rot13 | 11 |
gzuncompress | 4 |
rawurldecode | 1 |
base64_decode | 18 |
Stats
MD5 | 5c92ca029d6d47ea04349a85569d5c32 |
Eval Count | 16 |
Decode Time | 104 ms |