Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /* Desenvolvido por Loja5 - Aplicativo Comercial protegido de acordo as leis atuai..
Decoded Output download
<?php
/*
Desenvolvido por Loja5 - Aplicativo Comercial protegido de acordo as leis atuais dos direitos autorais.
Copyright (c) 2013 - Loja5.com.br
Todos os direitos reservados.
*/
${"GLOBALS"}["ttqmhhpbkyc"] = "tid";
${"GLOBALS"}["wsvktvugeh"] = "total";
${"GLOBALS"}["immmgbqatfs"] = "urlAutenticacao";
${"GLOBALS"}["lhkikmibome"] = "op";
${"GLOBALS"}["btcsfvavn"] = "Pedido";
${"GLOBALS"}["xrgiwlace"] = "urlvisa";
${"GLOBALS"}["wkulzngxxbku"] = "valor_do_pedido";
${"GLOBALS"}["rovejqhzk"] = "valor";
${"GLOBALS"}["feigvsm"] = "juros";
${"GLOBALS"}["jnllnemgaif"] = "qual_tipo_pag";
${"GLOBALS"}["arhycltn"] = "qual_parcela";
${"GLOBALS"}["mtonwxgz"] = "a";
${"GLOBALS"}["vyvgsonuqme"] = "cart";
${"GLOBALS"}["ocltuhctbl"] = "motivos";
${"GLOBALS"}["bktgkcuoyzwp"] = "arr";
${"GLOBALS"}["bqwfej"] = "semjurosate";
$qdughghnfj = "cielo";
${"GLOBALS"}["xeglsldf"] = "desconto";
${"GLOBALS"}["lwcsysrcymvv"] = "minima";
$zgadwlqald = "semjuros";
${"GLOBALS"}["iikqfbnfbri"] = "semjuros";
${"GLOBALS"}["gtrkubrin"] = "modo";
${"GLOBALS"}["bdtnhvtlcp"] = "chave";
${"GLOBALS"}["kstitcrpsxu"] = "key_string";
${"GLOBALS"}["lifezyl"] = "id_carrinho";
${"GLOBALS"}["ovpfmvuf"] = "dividirem";
include(dirname(__FILE__) . "/../../config/config.inc.php");
${"GLOBALS"}["gyuidtf"] = "id_carrinho";
include(dirname(__FILE__) . "/../../init.php");
${"GLOBALS"}["lebcvbjhh"] = "id_carrinho";
include(dirname(__FILE__) . "/cielo.php");
${"GLOBALS"}["pntjoiirw"] = "objResposta";
$mmeqbsz = "id_carrinho";
if (!$cookie->isLogged()) {
Tools::redirect("authentication.php?back=../../order.php");
}
${$mmeqbsz} = (int)($cookie->id_cart);
if (${${"GLOBALS"}["lebcvbjhh"]} == 0) {
Tools::redirect("../../index.php");
exit;
}
${"GLOBALS"}["uyqcdhrlvts"] = "urls";
$ptlgcx = "afiliacao";
${"GLOBALS"}["bsoxzfv"] = "afiliacao";
if (md5(${${"GLOBALS"}["lifezyl"]}) != $_GET["tk"]) {
Tools::redirect("../../index.php");
exit;
}
${${"GLOBALS"}["kstitcrpsxu"]} = Configuration::get("CIELO_SERIAL");
${${"GLOBALS"}["bsoxzfv"]} = Configuration::get("CIELO_AFILIACAO");
${${"GLOBALS"}["bdtnhvtlcp"]} = Configuration::get("CIELO_CHAVE");
$sykkikfew = "juros";
${${"GLOBALS"}["gtrkubrin"]} = Configuration::get("CIELO_MODO");
${"GLOBALS"}["wltgmc"] = "qual_parcela";
${${"GLOBALS"}["ovpfmvuf"]} = Configuration::get("CIELO_DIVIDIR");
${${"GLOBALS"}["iikqfbnfbri"]} = Configuration::get("CIELO_SEMJUROS");
${${"GLOBALS"}["lwcsysrcymvv"]} = Configuration::get("CIELO_MINIMA");
${$sykkikfew} = Configuration::get("CIELO_JUROS");
$tifwwohbxq = "nomeloja";
$ktsouor = "valor_do_pedido";
${${"GLOBALS"}["xeglsldf"]} = Configuration::get("CIELO_DESCONTO");
${${"GLOBALS"}["bqwfej"]} = Configuration::get("CIELO_SEMJUROS");
$ufhmqnqi = "autorizar";
function array2json($arr)
{
$yqmonrcrfn = "motivos";
${$yqmonrcrfn} = "Problemas Comuns:<br>1 - o cliente nao esta autorizado a usar o modulo (usuario nao registrado).<br>2 - o cliente ao digitar o serial incorreto.<br>3 - o cliente pode ter digitado o serial correto, mais pode ter espacos vazios no inicio ou final da licenca.<br>4 - a pasta do modulo pode nao ter permicao de escrita.<br>Este modulo e exclusivo de www.loja5.com.br e lembrando que mantemos todos os clientes registrados de acordo cada chave de modulo usado.";
if (is_array(${${"GLOBALS"}["bktgkcuoyzwp"]})) {
${"GLOBALS"}["mzsbcvlqczdd"] = "arr";
return ${${"GLOBALS"}["mzsbcvlqczdd"]}["mensagem"] . "<br>" . ${${"GLOBALS"}["ocltuhctbl"]};
}
}
$jyxfcaalqi = "cartao";
${$qdughghnfj} = new Cielo();
${${"GLOBALS"}["vyvgsonuqme"]} = new Cart(${${"GLOBALS"}["lifezyl"]});
${$ktsouor} = floatval(number_format($cart->getOrderTotal(true, 3), 2, ".", ""));
${"GLOBALS"}["ctdqpsblih"] = "a";
$gmeogjw = "modo";
${$jyxfcaalqi} = $_GET["cartao"];
include(dirname(__FILE__) . "/includes/include.php");
${${"GLOBALS"}["mtonwxgz"]} = explode("|", $_GET["hash"]);
${${"GLOBALS"}["arhycltn"]} = (int)PegaParcela(${${"GLOBALS"}["ctdqpsblih"]}[1]);
${"GLOBALS"}["gznhmxvykyir"] = "chave";
${${"GLOBALS"}["jnllnemgaif"]} = PegaTipPag(${${"GLOBALS"}["mtonwxgz"]}[0]);
echo "<br><br><br><br><br><center><h3>Aguarde o Redirecionamento a Cielo...</h3></center>";
${${"GLOBALS"}["uyqcdhrlvts"]} = "http://" . $_SERVER["HTTP_HOST"] . __PS_BASE_URI__;
${$tifwwohbxq} = Configuration::get("PS_SHOP_NAME");
if (${${"GLOBALS"}["jnllnemgaif"]} == 2 && ${${"GLOBALS"}["arhycltn"]} > ${$zgadwlqald} && ${${"GLOBALS"}["wltgmc"]} > 1) {
${"GLOBALS"}["nmcexoxk"] = "qual_parcela";
$biupktfb = "valordaparcela";
$fylperpidlfx = "valordaparcela";
${"GLOBALS"}["fmezvajh"] = "valor";
$usbinc = "valor_do_pedido";
${$fylperpidlfx} = $cielo->ParcelamentoCielo(${$usbinc}, ${${"GLOBALS"}["feigvsm"]}, ${${"GLOBALS"}["nmcexoxk"]});
${${"GLOBALS"}["fmezvajh"]} = number_format((${$biupktfb} * ${${"GLOBALS"}["arhycltn"]}), 2, "", "");
} elseif (${${"GLOBALS"}["jnllnemgaif"]} == 3) {
${${"GLOBALS"}["rovejqhzk"]} = number_format(${${"GLOBALS"}["wkulzngxxbku"]}, 2, "", "");
} elseif (${${"GLOBALS"}["jnllnemgaif"]} == "A" && ${${"GLOBALS"}["xeglsldf"]} > 0) {
${"GLOBALS"}["nmamuvsl"] = "vald";
$hjxyimi = "desconto";
$lpebslxq = "vald";
$pdpotdmze = "valor";
${${"GLOBALS"}["nmamuvsl"]} = ((${${"GLOBALS"}["wkulzngxxbku"]} / 100) * ${$hjxyimi});
${"GLOBALS"}["twvopyylh"] = "valor_do_pedido";
${$pdpotdmze} = number_format((${${"GLOBALS"}["twvopyylh"]} - ${$lpebslxq}), 2, "", "");
} else {
${${"GLOBALS"}["rovejqhzk"]} = number_format(${${"GLOBALS"}["wkulzngxxbku"]}, 2, "", "");
}
if (${$gmeogjw} == 0) {
$wbyvrxgeekde = "urlvisa";
${$wbyvrxgeekde} = TESTE;
} else {
${"GLOBALS"}["vaxywrr"] = "urlvisa";
${${"GLOBALS"}["vaxywrr"]} = PRODUCAO;
}
define("ENDERECO", ${${"GLOBALS"}["xrgiwlace"]});
${${"GLOBALS"}["btcsfvavn"]} = new Pedido();
$Pedido->formaPagamentoBandeira = ${${"GLOBALS"}["lhkikmibome"]};
if ($Pedido->formaPagamentoProduto != "A" && ${${"GLOBALS"}["arhycltn"]} != "1") {
$xyloplpb = "qual_parcela";
$cwdqtyhywmpm = "qual_tipo_pag";
$Pedido->formaPagamentoProduto = ${$cwdqtyhywmpm};
$Pedido->formaPagamentoParcelas = ${$xyloplpb};
} else {
$Pedido->formaPagamentoProduto = ${${"GLOBALS"}["jnllnemgaif"]};
$Pedido->formaPagamentoParcelas = 1;
}
$cwcwodxcrnon = "urls";
$Pedido->dadosEcNumero = ${$ptlgcx};
$Pedido->dadosEcChave = ${${"GLOBALS"}["gznhmxvykyir"]};
if (Configuration::get("CIELO_CAP") == 0) {
$Pedido->capturar = "true";
} else {
$Pedido->capturar = "false";
}
$Pedido->autorizar = ${$ufhmqnqi};
$Pedido->dadosPedidoNumero = ${${"GLOBALS"}["lifezyl"]};
$Pedido->dadosPedidoValor = ${${"GLOBALS"}["rovejqhzk"]};
$Pedido->urlRetorno = ${$cwcwodxcrnon} . "modules/cielo/cupom.php?id=" . base64_encode(${${"GLOBALS"}["gyuidtf"]});
${${"GLOBALS"}["pntjoiirw"]} = $Pedido->RequisicaoTransacao(false);
if (!empty($objResposta->tid)) {
$snooidmukcth = "total";
${"GLOBALS"}["gdycdxsivil"] = "id_carrinho";
$Pedido->tid = $objResposta->tid;
${"GLOBALS"}["xfbaogtjvb"] = "tid";
$Pedido->pan = $objResposta->pan;
$Pedido->status = $objResposta->status;
${${"GLOBALS"}["immmgbqatfs"]} = "url-autenticacao";
$Pedido->urlAutenticacao = $objResposta->${${"GLOBALS"}["immmgbqatfs"]};
${${"GLOBALS"}["xfbaogtjvb"]} = $objResposta->tid;
${${"GLOBALS"}["wsvktvugeh"]} = Db::getInstance()->getRow("SELECT COUNT(id) as total FROM cielo WHERE pedido ='" . ${${"GLOBALS"}["gdycdxsivil"]} . "'");
if (${${"GLOBALS"}["wsvktvugeh"]}["total"] == 0) {
$droqnummbc = "valor";
${"GLOBALS"}["iffqkdi"] = "op";
$lozcpck = "tid";
Db::getInstance()->Execute("INSERT INTO `cielo` (`id` ,`pedido` ,`valor` ,`tid` ,`auth` ,`data`,`cc`) VALUES (
NULL , '" . ${${"GLOBALS"}["lifezyl"]} . "', '" . ${$droqnummbc} . "', '" . ${$lozcpck} . "', '" . md5(${${"GLOBALS"}["ttqmhhpbkyc"]}) . "', '" . time() . "', '" . ${${"GLOBALS"}["iffqkdi"]} . "');");
} elseif (${$snooidmukcth}["total"] == 1) {
${"GLOBALS"}["gkdeqrvqolpd"] = "tid";
${"GLOBALS"}["gsysyybfizy"] = "op";
${"GLOBALS"}["ojojlwgybtm"] = "id_carrinho";
Db::getInstance()->Execute("UPDATE cielo SET valor=\"" . ${${"GLOBALS"}["rovejqhzk"]} . "",tid=\"" . ${${"GLOBALS"}["gkdeqrvqolpd"]} . "\",auth=\"" . md5(${${"GLOBALS"}["ttqmhhpbkyc"]}) . "\",data=\"" . time() . "",cc=\"" . ${${"GLOBALS"}["gsysyybfizy"]} . "\" WHERE pedido ="" . ${${"GLOBALS"}["ojojlwgybtm"]} . """);
}
echo "<script type="text/javascript">window.location.href="" . $Pedido->urlAutenticacao . ""</script>";
} else {
${"GLOBALS"}["rsgqrtzg"] = "objResposta";
echo "Ocorreu um erro ao solititar o pagamento, verifique se o ambiente esta correto para a afiliacao usada e se a afiliacao e chave usada estao corretas.<br>Log:</br>";
print_r(${${"GLOBALS"}["rsgqrtzg"]});
}
echo "
";
?>
Did this file decode correctly?
Original Code
<?php
/*
Desenvolvido por Loja5 - Aplicativo Comercial protegido de acordo as leis atuais dos direitos autorais.
Copyright (c) 2013 - Loja5.com.br
Todos os direitos reservados.
*/
${"G\x4c\x4f\x42A\x4c\x53"}["\x74\x74\x71\x6d\x68\x68p\x62k\x79c"] = "\x74\x69\x64";
${"\x47\x4c\x4f\x42\x41L\x53"}["w\x73vk\x74\x76\x75\x67e\x68"] = "t\x6fta\x6c";
${"\x47L\x4f\x42\x41L\x53"}["i\x6dm\x6dg\x62\x71\x61\x74\x66s"] = "u\x72\x6cAute\x6et\x69\x63\x61\x63ao";
${"\x47\x4cO\x42AL\x53"}["\x6c\x68k\x69km\x69\x62\x6f\x6d\x65"] = "o\x70";
${"GLOB\x41\x4cS"}["\x62\x74\x63sf\x76\x61\x76\x6e"] = "\x50\x65\x64id\x6f";
${"G\x4c\x4f\x42\x41LS"}["\x78r\x67i\x77\x6cace"] = "ur\x6c\x76\x69\x73\x61";
${"GL\x4f\x42AL\x53"}["\x77\x6b\x75\x6c\x7a\x6eg\x78\x78\x62\x6bu"] = "va\x6cor_\x64\x6f\x5f\x70\x65d\x69\x64\x6f";
${"\x47LO\x42ALS"}["\x72\x6fvej\x71\x68\x7a\x6b"] = "\x76a\x6c\x6f\x72";
${"\x47\x4c\x4fB\x41LS"}["\x66e\x69gv\x73\x6d"] = "j\x75\x72\x6f\x73";
${"GLO\x42\x41L\x53"}["j\x6e\x6c\x6cn\x65\x6d\x67\x61\x69f"] = "\x71ua\x6c\x5f\x74i\x70\x6f\x5f\x70ag";
${"\x47\x4c\x4fB\x41\x4c\x53"}["\x61r\x68\x79\x63\x6ct\x6e"] = "qu\x61\x6c_\x70\x61\x72\x63\x65\x6c\x61";
${"\x47L\x4f\x42\x41\x4c\x53"}["mt\x6f\x6e\x77\x78\x67\x7a"] = "\x61";
${"GL\x4fB\x41\x4cS"}["\x76yvg\x73\x6fnuqm\x65"] = "\x63\x61\x72t";
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["o\x63\x6c\x74\x75h\x63t\x62\x6c"] = "\x6d\x6ft\x69\x76\x6f\x73";
${"\x47\x4c\x4f\x42\x41\x4cS"}["\x62\x6b\x74\x67\x6b\x63\x75o\x79\x7a\x77\x70"] = "\x61r\x72";
${"GL\x4fBAL\x53"}["\x62\x71\x77f\x65j"] = "\x73\x65m\x6au\x72\x6fsa\x74\x65";
$qdughghnfj = "\x63i\x65\x6c\x6f";
${"\x47\x4cO\x42AL\x53"}["\x78\x65g\x6c\x73l\x64f"] = "d\x65\x73c\x6f\x6e\x74o";
${"\x47\x4cO\x42\x41\x4c\x53"}["\x6c\x77\x63\x73y\x73\x72cy\x6d\x76v"] = "\x6di\x6e\x69\x6da";
$zgadwlqald = "s\x65\x6d\x6au\x72\x6f\x73";
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["i\x69\x6bq\x66\x62n\x66\x62r\x69"] = "\x73\x65\x6d\x6au\x72o\x73";
${"GL\x4fB\x41L\x53"}["\x67\x74rku\x62\x72\x69n"] = "m\x6fdo";
${"GL\x4fBA\x4cS"}["bd\x74\x6e\x68vt\x6c\x63p"] = "\x63ha\x76\x65";
${"GLO\x42\x41\x4c\x53"}["\x6b\x73t\x69\x74\x63r\x70s\x78u"] = "\x6b\x65\x79\x5f\x73tr\x69\x6e\x67";
${"\x47LO\x42\x41L\x53"}["l\x69\x66\x65zyl"] = "i\x64\x5f\x63\x61\x72\x72\x69\x6e\x68o";
${"\x47LOBA\x4c\x53"}["\x6fv\x70\x66\x6d\x76\x75\x66"] = "d\x69v\x69dir\x65m";
include(dirname(__FILE__) . "/\x2e\x2e/.\x2e/\x63onfi\x67/config.\x69n\x63\x2ephp");
${"\x47\x4c\x4fB\x41LS"}["g\x79u\x69\x64\x74\x66"] = "i\x64\x5f\x63\x61\x72\x72\x69\x6e\x68\x6f";
include(dirname(__FILE__) . "/\x2e\x2e/\x2e\x2e/init.php");
${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6c\x65b\x63\x76\x62\x6a\x68\x68"] = "i\x64_\x63\x61rri\x6eh\x6f";
include(dirname(__FILE__) . "/cie\x6c\x6f\x2eph\x70");
${"\x47L\x4f\x42\x41LS"}["\x70\x6e\x74\x6a\x6fi\x69\x72w"] = "\x6f\x62j\x52e\x73\x70\x6f\x73\x74a";
$mmeqbsz = "\x69\x64\x5fc\x61\x72r\x69n\x68\x6f";
if (!$cookie->isLogged()) {
Tools::redirect("auth\x65nt\x69\x63\x61ti\x6fn.\x70h\x70?b\x61ck=\x2e./.\x2e/order\x2e\x70hp");
}
${$mmeqbsz} = (int)($cookie->id_cart);
if (${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["l\x65\x62\x63\x76\x62j\x68\x68"]} == 0) {
Tools::redirect(".\x2e/\x2e\x2e/\x69\x6edex.php");
exit;
}
${"\x47LO\x42\x41\x4c\x53"}["\x75y\x71c\x64\x68\x72lv\x74\x73"] = "\x75\x72ls";
$ptlgcx = "\x61f\x69\x6ci\x61\x63a\x6f";
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x73o\x78\x7afv"] = "\x61\x66\x69\x6c\x69a\x63\x61\x6f";
if (md5(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6c\x69\x66e\x7ayl"]}) != $_GET["\x74k"]) {
Tools::redirect(".\x2e/.\x2e/i\x6ed\x65\x78.php");
exit;
}
${${"GL\x4f\x42A\x4c\x53"}["ks\x74i\x74c\x72\x70sx\x75"]} = Configuration::get("\x43\x49E\x4cO\x5fS\x45R\x49AL");
${${"G\x4c\x4fB\x41\x4c\x53"}["b\x73o\x78\x7af\x76"]} = Configuration::get("CI\x45\x4cO\x5fAFI\x4c\x49\x41C\x41O");
${${"G\x4cOB\x41\x4cS"}["\x62\x64\x74nh\x76t\x6ccp"]} = Configuration::get("CIEL\x4f_\x43H\x41\x56\x45");
$sykkikfew = "ju\x72\x6f\x73";
${${"G\x4cOBA\x4c\x53"}["gt\x72k\x75br\x69\x6e"]} = Configuration::get("\x43\x49\x45\x4c\x4f_\x4dOD\x4f");
${"\x47\x4cOBAL\x53"}["\x77ltg\x6dc"] = "qu\x61l_\x70a\x72\x63e\x6c\x61";
${${"\x47L\x4fB\x41\x4c\x53"}["\x6f\x76\x70fmv\x75\x66"]} = Configuration::get("CIE\x4cO_D\x49V\x49\x44\x49\x52");
${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69\x69\x6bq\x66\x62\x6e\x66\x62ri"]} = Configuration::get("\x43\x49E\x4cO_S\x45\x4dJU\x52\x4fS");
${${"\x47LO\x42\x41L\x53"}["\x6c\x77c\x73\x79\x73\x72\x63\x79m\x76\x76"]} = Configuration::get("\x43I\x45L\x4f_\x4dIN\x49\x4dA");
${$sykkikfew} = Configuration::get("C\x49\x45\x4c\x4f_J\x55\x52\x4fS");
$tifwwohbxq = "\x6e\x6f\x6d\x65\x6coja";
$ktsouor = "va\x6c\x6f\x72\x5fdo_\x70\x65di\x64\x6f";
${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78e\x67\x6c\x73l\x64\x66"]} = Configuration::get("CI\x45L\x4f\x5f\x44\x45\x53C\x4fN\x54O");
${${"\x47LO\x42\x41LS"}["\x62q\x77\x66\x65j"]} = Configuration::get("\x43IELO\x5f\x53EM\x4aU\x52\x4fS");
$ufhmqnqi = "\x61\x75\x74\x6f\x72\x69\x7a\x61\x72";
function array2json($arr)
{
$yqmonrcrfn = "\x6d\x6ftiv\x6f\x73";
${$yqmonrcrfn} = "\x50\x72o\x62\x6c\x65\x6d\x61\x73 Co\x6duns:\x3cb\x72\x3e\x31\x20-\x20o \x63\x6ci\x65\x6ete\x20na\x6f \x65s\x74a \x61u\x74\x6friz\x61\x64o \x61 \x75s\x61\x72\x20\x6f\x20\x6dodu\x6c\x6f (\x75\x73u\x61\x72io\x20\x6e\x61o reg\x69\x73tr\x61\x64\x6f)\x2e\x3cbr>\x32 - o \x63l\x69en\x74\x65\x20\x61\x6f \x64\x69git\x61\x72\x20\x6f\x20ser\x69\x61l \x69nc\x6frr\x65to.\x3cb\x72\x3e\x33\x20-\x20\x6f cli\x65\x6e\x74\x65\x20pod\x65\x20\x74\x65r d\x69g\x69\x74ado\x20o\x20s\x65ria\x6c \x63o\x72\x72\x65t\x6f,\x20m\x61\x69s \x70o\x64\x65\x20t\x65r\x20espaco\x73\x20\x76az\x69\x6f\x73\x20no\x20\x69n\x69cio \x6f\x75\x20\x66i\x6ea\x6c\x20\x64\x61\x20li\x63e\x6e\x63\x61.\x3cb\x72\x3e\x34 -\x20a\x20\x70\x61sta \x64o m\x6f\x64\x75\x6co \x70\x6f\x64e\x20na\x6f \x74er\x20\x70\x65\x72mi\x63\x61o\x20d\x65\x20e\x73\x63ri\x74\x61.<\x62\x72>Es\x74\x65 m\x6f\x64\x75lo e\x20\x65\x78c\x6c\x75\x73i\x76\x6f \x64e \x77\x77\x77.\x6c\x6fj\x61\x35.c\x6fm\x2eb\x72\x20\x65\x20\x6c\x65m\x62\x72\x61\x6e\x64o\x20\x71u\x65\x20ma\x6e\x74\x65mo\x73 t\x6f\x64os\x20o\x73\x20\x63l\x69\x65n\x74\x65s\x20r\x65\x67is\x74\x72\x61d\x6fs de\x20\x61\x63\x6frd\x6f\x20\x63ad\x61 \x63hav\x65\x20d\x65\x20\x6do\x64\x75\x6c\x6f usad\x6f\x2e";
if (is_array(${${"\x47LO\x42\x41LS"}["b\x6b\x74\x67kc\x75o\x79zw\x70"]})) {
${"\x47\x4c\x4f\x42\x41LS"}["m\x7a\x73b\x63v\x6c\x71\x63\x7a\x64\x64"] = "\x61\x72r";
return ${${"G\x4c\x4fB\x41LS"}["\x6d\x7a\x73\x62c\x76l\x71\x63\x7a\x64\x64"]}["\x6de\x6e\x73\x61\x67\x65m"] . "\x3cbr\x3e" . ${${"GL\x4f\x42\x41\x4cS"}["\x6f\x63\x6ct\x75\x68\x63tb\x6c"]};
}
}
$jyxfcaalqi = "c\x61\x72\x74\x61o";
${$qdughghnfj} = new Cielo();
${${"G\x4c\x4fBA\x4c\x53"}["\x76\x79\x76g\x73\x6f\x6e\x75qm\x65"]} = new Cart(${${"\x47\x4c\x4fBA\x4c\x53"}["l\x69\x66\x65\x7ayl"]});
${$ktsouor} = floatval(number_format($cart->getOrderTotal(true, 3), 2, ".", ""));
${"\x47\x4c\x4f\x42\x41LS"}["\x63t\x64\x71\x70\x73b\x6c\x69\x68"] = "\x61";
$gmeogjw = "m\x6f\x64\x6f";
${$jyxfcaalqi} = $_GET["c\x61r\x74ao"];
include(dirname(__FILE__) . "/\x69\x6e\x63l\x75\x64\x65s/\x69\x6ec\x6c\x75\x64\x65.\x70h\x70");
${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6d\x74\x6f\x6ew\x78\x67\x7a"]} = explode("|", $_GET["\x68\x61sh"]);
${${"GLO\x42AL\x53"}["ar\x68y\x63lt\x6e"]} = (int)PegaParcela(${${"G\x4cOB\x41\x4c\x53"}["\x63tdq\x70\x73\x62l\x69h"]}[1]);
${"\x47LOB\x41LS"}["\x67zn\x68\x6dxv\x79k\x79ir"] = "\x63h\x61\x76\x65";
${${"\x47\x4cO\x42\x41\x4c\x53"}["jn\x6c\x6cnem\x67\x61\x69\x66"]} = PegaTipPag(${${"GLO\x42A\x4c\x53"}["\x6d\x74\x6f\x6e\x77xg\x7a"]}[0]);
echo "<b\x72>\x3cb\x72\x3e\x3c\x62\x72><\x62\x72\x3e<b\x72><\x63e\x6e\x74er\x3e\x3c\x683>\x41\x67uarde\x20o\x20Red\x69\x72eci\x6f\x6e\x61\x6d\x65nt\x6f\x20\x61 \x43\x69\x65\x6c\x6f..\x2e</\x683\x3e</cente\x72\x3e";
${${"\x47L\x4f\x42\x41\x4c\x53"}["u\x79qc\x64h\x72\x6cv\x74s"]} = "\x68t\x74p://" . $_SERVER["H\x54T\x50_H\x4fS\x54"] . __PS_BASE_URI__;
${$tifwwohbxq} = Configuration::get("\x50\x53_\x53HOP_\x4e\x41ME");
if (${${"\x47LO\x42AL\x53"}["\x6an\x6c\x6cn\x65m\x67\x61\x69\x66"]} == 2 && ${${"\x47L\x4f\x42AL\x53"}["\x61\x72\x68y\x63l\x74\x6e"]} > ${$zgadwlqald} && ${${"G\x4cO\x42\x41\x4c\x53"}["wl\x74gmc"]} > 1) {
${"\x47L\x4fB\x41\x4c\x53"}["n\x6dc\x65\x78\x6f\x78k"] = "\x71\x75\x61\x6c\x5f\x70\x61\x72c\x65la";
$biupktfb = "v\x61l\x6fr\x64ap\x61\x72\x63e\x6ca";
$fylperpidlfx = "v\x61\x6c\x6fr\x64\x61\x70\x61\x72c\x65\x6c\x61";
${"\x47\x4c\x4fBA\x4c\x53"}["fm\x65\x7a\x76\x61\x6a\x68"] = "va\x6c\x6fr";
$usbinc = "\x76a\x6c\x6f\x72_\x64\x6f\x5fpe\x64\x69d\x6f";
${$fylperpidlfx} = $cielo->ParcelamentoCielo(${$usbinc}, ${${"G\x4c\x4f\x42\x41L\x53"}["\x66e\x69\x67\x76s\x6d"]}, ${${"GL\x4fB\x41LS"}["nmc\x65\x78\x6f\x78\x6b"]});
${${"G\x4c\x4fB\x41\x4cS"}["\x66\x6d\x65zv\x61j\x68"]} = number_format((${$biupktfb} * ${${"\x47\x4cO\x42\x41L\x53"}["\x61rh\x79\x63\x6c\x74n"]}), 2, "", "");
} elseif (${${"GL\x4f\x42\x41L\x53"}["j\x6ell\x6eem\x67\x61\x69\x66"]} == 3) {
${${"\x47\x4c\x4fBALS"}["r\x6fv\x65\x6aqh\x7ak"]} = number_format(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x77\x6b\x75\x6cz\x6e\x67\x78\x78\x62\x6bu"]}, 2, "", "");
} elseif (${${"GL\x4f\x42\x41\x4c\x53"}["j\x6ell\x6e\x65\x6d\x67a\x69\x66"]} == "\x41" && ${${"G\x4cO\x42\x41\x4cS"}["x\x65g\x6cs\x6c\x64\x66"]} > 0) {
${"G\x4c\x4f\x42\x41L\x53"}["n\x6d\x61\x6d\x75\x76\x73\x6c"] = "\x76\x61\x6c\x64";
$hjxyimi = "\x64\x65\x73\x63\x6f\x6e\x74\x6f";
$lpebslxq = "\x76\x61ld";
$pdpotdmze = "\x76\x61l\x6fr";
${${"\x47\x4cO\x42\x41LS"}["n\x6d\x61\x6d\x75\x76s\x6c"]} = ((${${"\x47L\x4f\x42ALS"}["w\x6bu\x6c\x7a\x6e\x67\x78x\x62k\x75"]} / 100) * ${$hjxyimi});
${"GLO\x42\x41\x4cS"}["\x74wv\x6f\x70\x79y\x6c\x68"] = "v\x61\x6c\x6f\x72_\x64\x6f\x5f\x70\x65\x64i\x64o";
${$pdpotdmze} = number_format((${${"G\x4c\x4fB\x41\x4cS"}["\x74\x77\x76o\x70\x79\x79\x6c\x68"]} - ${$lpebslxq}), 2, "", "");
} else {
${${"GLO\x42\x41\x4cS"}["r\x6f\x76ej\x71h\x7a\x6b"]} = number_format(${${"\x47\x4cOB\x41\x4c\x53"}["wkulzngx\x78\x62k\x75"]}, 2, "", "");
}
if (${$gmeogjw} == 0) {
$wbyvrxgeekde = "\x75\x72l\x76\x69\x73\x61";
${$wbyvrxgeekde} = TESTE;
} else {
${"G\x4c\x4f\x42\x41\x4cS"}["\x76\x61\x78\x79wr\x72"] = "ur\x6c\x76\x69sa";
${${"G\x4c\x4f\x42\x41\x4cS"}["\x76\x61x\x79\x77\x72\x72"]} = PRODUCAO;
}
define("\x45NDE\x52E\x43O", ${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78rgiw\x6c\x61\x63\x65"]});
${${"G\x4c\x4f\x42AL\x53"}["\x62\x74\x63\x73\x66\x76\x61\x76\x6e"]} = new Pedido();
$Pedido->formaPagamentoBandeira = ${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6c\x68k\x69km\x69\x62\x6f\x6d\x65"]};
if ($Pedido->formaPagamentoProduto != "\x41" && ${${"G\x4cO\x42\x41\x4c\x53"}["\x61r\x68\x79\x63\x6c\x74n"]} != "1") {
$xyloplpb = "\x71\x75\x61\x6c\x5fpa\x72\x63e\x6c\x61";
$cwdqtyhywmpm = "q\x75\x61\x6c\x5f\x74\x69\x70\x6f_\x70\x61g";
$Pedido->formaPagamentoProduto = ${$cwdqtyhywmpm};
$Pedido->formaPagamentoParcelas = ${$xyloplpb};
} else {
$Pedido->formaPagamentoProduto = ${${"GL\x4f\x42\x41L\x53"}["\x6a\x6e\x6cl\x6e\x65\x6d\x67\x61\x69\x66"]};
$Pedido->formaPagamentoParcelas = 1;
}
$cwcwodxcrnon = "\x75\x72ls";
$Pedido->dadosEcNumero = ${$ptlgcx};
$Pedido->dadosEcChave = ${${"\x47\x4cO\x42\x41\x4c\x53"}["g\x7an\x68\x6d\x78\x76\x79k\x79\x69r"]};
if (Configuration::get("CIELO\x5fC\x41P") == 0) {
$Pedido->capturar = "t\x72ue";
} else {
$Pedido->capturar = "\x66al\x73e";
}
$Pedido->autorizar = ${$ufhmqnqi};
$Pedido->dadosPedidoNumero = ${${"G\x4cOBA\x4cS"}["\x6c\x69f\x65z\x79\x6c"]};
$Pedido->dadosPedidoValor = ${${"\x47\x4cO\x42\x41\x4cS"}["\x72ove\x6aq\x68z\x6b"]};
$Pedido->urlRetorno = ${$cwcwodxcrnon} . "mod\x75les/\x63\x69\x65l\x6f/\x63\x75\x70\x6f\x6d\x2ep\x68p?\x69d\x3d" . base64_encode(${${"GL\x4f\x42\x41\x4c\x53"}["\x67yu\x69d\x74\x66"]});
${${"GL\x4f\x42\x41\x4c\x53"}["pn\x74\x6a\x6f\x69irw"]} = $Pedido->RequisicaoTransacao(false);
if (!empty($objResposta->tid)) {
$snooidmukcth = "\x74\x6ft\x61\x6c";
${"G\x4c\x4f\x42\x41LS"}["\x67\x64\x79\x63\x64x\x73i\x76i\x6c"] = "\x69\x64\x5f\x63a\x72r\x69n\x68o";
$Pedido->tid = $objResposta->tid;
${"G\x4cO\x42\x41\x4c\x53"}["\x78f\x62\x61\x6fgt\x6a\x76b"] = "t\x69\x64";
$Pedido->pan = $objResposta->pan;
$Pedido->status = $objResposta->status;
${${"\x47LO\x42\x41\x4c\x53"}["i\x6d\x6d\x6d\x67\x62\x71\x61\x74\x66s"]} = "\x75r\x6c-\x61\x75te\x6e\x74i\x63\x61cao";
$Pedido->urlAutenticacao = $objResposta->${${"GL\x4f\x42\x41\x4c\x53"}["\x69mmmg\x62\x71\x61\x74f\x73"]};
${${"\x47\x4cO\x42AL\x53"}["\x78\x66\x62aogt\x6a\x76\x62"]} = $objResposta->tid;
${${"\x47\x4cOB\x41\x4c\x53"}["wsvk\x74\x76\x75\x67\x65\x68"]} = Db::getInstance()->getRow("\x53E\x4cE\x43T\x20\x43OU\x4e\x54(i\x64) a\x73 \x74ot\x61\x6c\x20FR\x4f\x4d\x20\x63\x69\x65\x6c\x6f\x20\x57\x48E\x52E \x70ed\x69\x64o \x3d\x27" . ${${"\x47LO\x42\x41LS"}["gd\x79\x63\x64\x78s\x69\x76il"]} . "\x27");
if (${${"GL\x4fB\x41LS"}["\x77\x73\x76\x6b\x74\x76\x75g\x65h"]}["tot\x61\x6c"] == 0) {
$droqnummbc = "\x76\x61lor";
${"\x47\x4c\x4fB\x41\x4c\x53"}["\x69\x66\x66\x71\x6b\x64\x69"] = "\x6f\x70";
$lozcpck = "\x74\x69\x64";
Db::getInstance()->Execute("\x49NSE\x52\x54 I\x4eTO\x20\x60c\x69e\x6c\x6f\x60 (`\x69d\x60 ,`\x70\x65d\x69\x64o`\x20,`va\x6c\x6f\x72\x60 ,`\x74\x69d`\x20,\x60\x61\x75\x74h\x60 ,\x60\x64a\x74\x61`,`\x63c\x60) \x56\x41L\x55E\x53 (\nNUL\x4c , '" . ${${"\x47\x4c\x4fB\x41\x4cS"}["\x6c\x69\x66e\x7a\x79\x6c"]} . "',\x20'" . ${$droqnummbc} . "\x27,\x20'" . ${$lozcpck} . "', '" . md5(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x74tqm\x68\x68pbk\x79\x63"]}) . "', '" . time() . "',\x20'" . ${${"G\x4c\x4fBAL\x53"}["i\x66f\x71\x6bd\x69"]} . "');");
} elseif (${$snooidmukcth}["\x74\x6ft\x61l"] == 1) {
${"G\x4c\x4fBA\x4c\x53"}["gk\x64\x65q\x72\x76\x71olp\x64"] = "\x74\x69d";
${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67s\x79sy\x79\x62\x66\x69z\x79"] = "\x6fp";
${"\x47\x4c\x4f\x42\x41L\x53"}["\x6fj\x6f\x6alw\x67\x79btm"] = "\x69d\x5fca\x72\x72in\x68o";
Db::getInstance()->Execute("\x55\x50DA\x54\x45 \x63\x69\x65l\x6f\x20SE\x54 val\x6fr=\"" . ${${"G\x4c\x4fBAL\x53"}["r\x6f\x76\x65j\x71h\x7ak"]} . "\x22,ti\x64\x3d\"" . ${${"\x47\x4cO\x42A\x4c\x53"}["gk\x64\x65\x71r\x76q\x6f\x6cpd"]} . "\",a\x75th=\"" . md5(${${"G\x4cO\x42\x41L\x53"}["\x74tqm\x68\x68\x70bk\x79\x63"]}) . "\",dat\x61=\"" . time() . "\x22,cc=\"" . ${${"\x47L\x4f\x42AL\x53"}["g\x73\x79\x73y\x79\x62\x66\x69z\x79"]} . "\"\x20W\x48E\x52E ped\x69d\x6f \x3d\x22" . ${${"\x47L\x4fBALS"}["\x6fj\x6fj\x6cw\x67\x79\x62\x74\x6d"]} . "\x22");
}
echo "\x3csc\x72i\x70\x74 ty\x70\x65=\x22t\x65xt/\x6aa\x76a\x73cri\x70t\x22>wi\x6e\x64\x6fw\x2el\x6fc\x61t\x69\x6f\x6e\x2e\x68r\x65\x66=\x22" . $Pedido->urlAutenticacao . "\x22\x3c/\x73\x63\x72i\x70\x74>";
} else {
${"G\x4c\x4fB\x41\x4c\x53"}["rsgqrtz\x67"] = "\x6f\x62\x6a\x52es\x70\x6fs\x74\x61";
echo "\x4f\x63o\x72\x72e\x75 \x75\x6d\x20\x65r\x72o\x20\x61o\x20s\x6fl\x69t\x69t\x61\x72\x20o\x20\x70a\x67am\x65n\x74o,\x20\x76\x65rif\x69q\x75\x65 \x73\x65\x20o\x20a\x6db\x69\x65\x6e\x74\x65 \x65sta\x20\x63o\x72\x72et\x6f\x20\x70\x61\x72\x61 a\x20\x61\x66\x69\x6c\x69\x61\x63\x61o us\x61\x64\x61 e s\x65 \x61 \x61\x66i\x6ci\x61\x63a\x6f\x20\x65\x20ch\x61\x76e \x75s\x61d\x61\x20es\x74\x61\x6f\x20\x63o\x72\x72etas\x2e\x3c\x62r>\x4c\x6fg:\x3c/\x62r\x3e";
print_r(${${"\x47\x4c\x4fB\x41L\x53"}["\x72\x73\x67\x71\x72\x74\x7a\x67"]});
}
echo "\n";
?>
Function Calls
dirname | 1 |
Stats
MD5 | 533f125a467c75a1627885bad87cd738 |
Eval Count | 0 |
Decode Time | 140 ms |