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 /* Plugin Name: BNL Positivity for WooCommerce Plugin URI: http://www.archaweb.com..
Decoded Output download
<?php /*
Plugin Name: BNL Positivity for WooCommerce
Plugin URI: http://www.archaweb.com
Description: Aggiunge fra i metodi di pagamento con gateway attivabili in WooCommerce il circuito BNL Positivity
Version: 2.0a
Author: Archa Multimedia Studios
Author URI: http://www.archaweb.com
License: Proprietary
Versions compatibility:
Plugin: Woocommerce:
2.0a 2.3.5
1.0e 2.1.8
*/
${"GLOBALS"}["qdfdrxfkglrh"]="bnl_args_array";${"GLOBALS"}["eyreruqr"]="value";${"GLOBALS"}["ifcglnrxu"]="key";${"GLOBALS"}["rojrbpsuebgy"]="bnl_url";${"GLOBALS"}["xmsksbt"]="bnl_args";${"GLOBALS"}["hietwtrwxmj"]="dateTime";${"GLOBALS"}["toxehbxcgkp"]="ascii";${"GLOBALS"}["nbwhbxsgxkv"]="chargetotal";${"GLOBALS"}["ayewoiv"]="dataInseritaNelFieldtxndatetime";${"GLOBALS"}["ocxtxcbwmb"]="stringToHash";${"GLOBALS"}["vkeeepepr"]="sharedSecret";${"GLOBALS"}["nhsgwtirdt"]="order_id";${"GLOBALS"}["ssrkbirxu"]="order";${"GLOBALS"}["jcbwlup"]="bnl_response";${"GLOBALS"}["rvrmcxbfr"]="plugin_file";${"GLOBALS"}["fjuner"]="plugin_folder";${"GLOBALS"}["bfnwxzmfhyh"]="methods";if(!defined("ABSPATH"))exit;${"GLOBALS"}["ggqpxselvo"]="wpml_LANGUAGE";${"GLOBALS"}["jpgrkvtss"]="wpml_LANGUAGE";${${"GLOBALS"}["jpgrkvtss"]}=defined("ICL_LANGUAGE_CODE")?ICL_LANGUAGE_CODE:"";switch(${${"GLOBALS"}["ggqpxselvo"]}){case"":define("BNL_LANGUAGE","IT");break;case"it":define("BNL_LANGUAGE","IT");break;case"de":define("BNL_LANGUAGE","DE");break;default:define("BNL_LANGUAGE","EN");}if(BNL_LANGUAGE=="IT"){define("WOOCOMMERCE_MISSING_MSG","<b>Attenzione:</b> Il plugin <b>BNL Positivity</b> richiede che WooCommerce sia attivato per funzionare");define("METHOD_TITLE_MSG","BNL Positivity");define("METHOD_DESCRIPTION_MSG","Permette pagamenti tramite il gateway del circuito BNL Positivity");define("CHECKBOX_ENABLE_LABEL_MSG","Abilita BNL Positivity");define("FAILED_TRANSACTION_MSG","<b>Errore: Non è stato possibile portare a termine la transazione</b>");define("CONFIRM_TRANSACTION_MSG","Grazie per il tuo ordine, fare clic sul pulsante qui sotto per pagare con carta di credito.");define("SUCCEEDED_TRANSACTION_MSG","Grazie per il tuo ordine. Ora verrai redirezionato sulla pagina di pagamento.");define("SUBMIT_PAYMENT_BUTTON_MSG","Paga con carta di credito");define("CANCEL_ORDER_BUTTON_MSG","Annulla l'ordine e torna al carrello");}else{define("WOOCOMMERCE_MISSING_MSG","<b>Warning:</b> The <b>BNL Positivity</b> plugin request WooCommerce to be activated for running");define("METHOD_TITLE_MSG","BNL Positivity");define("METHOD_DESCRIPTION_MSG","Allows payments via the gateway of BNL Positivity circuit");define("CHECKBOX_ENABLE_LABEL_MSG","Enable BNL Positivity");define("FAILED_TRANSACTION_MSG","<b>Error: Failed to complete the transaction</b>");define("CONFIRM_TRANSACTION_MSG","Thanks for your order, click on the button below to pay by credit card.");define("SUCCEEDED_TRANSACTION_MSG","Thanks for your order. You will now be redirected to the payment page.");define("SUBMIT_PAYMENT_BUTTON_MSG","Pay by credit card");define("CANCEL_ORDER_BUTTON_MSG","Cancel order & restore cart");}add_action("admin_notices","woocommerce_not_running_error");add_action("plugins_loaded","init_bnl_gateway_class");function woocommerce_not_running_error(){if(!in_array("woocommerce/woocommerce.php",apply_filters("active_plugins",get_option("active_plugins")))){echo " <div class=\"error">
<p>";_e(WOOCOMMERCE_MISSING_MSG,"woocommerce-bnl_positivity-td");echo "</p>
</div>
";}return;}function init_bnl_gateway_class(){if(!in_array("woocommerce/woocommerce.php",apply_filters("active_plugins",get_option("active_plugins")))){return;}add_filter("woocommerce_payment_gateways","add_BNL_gateway");function add_BNL_gateway($methods){${"GLOBALS"}["tymkrfhqzhm"]="methods";${${"GLOBALS"}["bfnwxzmfhyh"]}[]="WC_Gateway_BNL";return${${"GLOBALS"}["tymkrfhqzhm"]};}class WC_Gateway_BNL extends WC_Payment_Gateway{function __construct(){$this->id="bnl";$this->icon=plugin_dir_url(__FILE__)."logo_bnl_positivity.png";$this->init_form_fields();$this->init_settings();$this->enabled=$this->get_option("status");$this->method_title=METHOD_TITLE_MSG;$this->method_description=METHOD_DESCRIPTION_MSG;$this->title=$this->get_option("title");$this->description=$this->get_option("description");$this->liveurl=$this->get_option("serviceURL");$this->testurl=$this->liveurl;$this->storeId=$this->get_option("storeId");$this->terminalId=substr($this->storeId,0,8);$this->sharedSecret=$this->get_option("sharedSecret");$this->txntype=$this->get_option("txntype");$this->testmode="no";$this->currency=get_woocommerce_currency();$this->payerror_page_url=$this->get_option("payerror_page_url");add_action("woocommerce_update_options_payment_gateways_".$this->id,array($this,"process_admin_options"));add_action("woocommerce_receipt_bnl",array($this,"receipt_page"));str_replace("https:","http:",add_query_arg("wc-api","WC_Gateway_BNL",home_url("/")));add_action("woocommerce_api_wc_gateway_bnl",array($this,"check_bnl_response"));}function init_form_fields(){$this->form_fields=array("status"=>array("title"=>__("Enable/Disable","woocommerce"),"type"=>"checkbox","label"=>CHECKBOX_ENABLE_LABEL_MSG,"description"=>__("","woocommerce"),"default"=>__("BNL Positivity","woocommerce")),"title"=>array("title"=>__("Title","woocommerce"),"type"=>"text","description"=>__("This controls the title which the user sees during checkout.","woocommerce"),"default"=>__("BNL Positivity","woocommerce")),"description"=>array("title"=>__("Description","woocommerce"),"type"=>"textarea","description"=>__("This controls the description which the user sees during checkout.","woocommerce"),"default"=>__("","woocommerce")),"serviceURL"=>array("title"=>__("Service URL","woocommerce"),"type"=>"text","description"=>__("","woocommerce")),"storeId"=>array("title"=>__("Terminal ID","woocommerce"),"type"=>"text","description"=>__("","woocommerce")),"sharedSecret"=>array("title"=>__("Secret key","woocommerce"),"type"=>"text","description"=>__("","woocommerce")),"txntype"=>array("title"=>__("Type","woocommerce"),"type"=>"select","description"=>__("","woocommerce"),"options"=>array("AUTH"=>"AUTH","PURCHASE"=>"PURCHASE","CONFIRM"=>"CONFIRM","CREDIT"=>"CREDIT","VOID"=>"VOID",)),"payerror_page_url"=>array("title"=>__("Payment Error Page URL","woocommerce"),"type"=>"text","description"=>__("","woocommerce")),);}function wpbo_get_woo_version_number(){if(!function_exists("get_plugins")){require_once(ABSPATH."wp-admin/includes/plugin.php");}$ojqcmyg="plugin_file";${${"GLOBALS"}["fjuner"]}=get_plugins("/"."woocommerce");${$ojqcmyg}="woocommerce.php";${"GLOBALS"}["kgljvbbi"]="plugin_folder";if(isset(${${"GLOBALS"}["kgljvbbi"]}[${${"GLOBALS"}["rvrmcxbfr"]}]["Version"])){${"GLOBALS"}["ggidhki"]="plugin_file";return${${"GLOBALS"}["fjuner"]}[${${"GLOBALS"}["ggidhki"]}]["Version"];}else{return NULL;}}function process_payment($order_id){${"GLOBALS"}["swroayuvhl"]="order_id";$dogmmhblk="order";global$woocommerce;${$dogmmhblk}=new WC_Order(${${"GLOBALS"}["swroayuvhl"]});$order->update_status("pending",__("Awaiting cheque payment","woocommerce"));$order->reduce_order_stock();$woocommerce->cart->empty_cart();if($this->wpbo_get_woo_version_number()<2.1){return array("result"=>"success","redirect"=>add_query_arg("order",$order->id,add_query_arg("key",$order->order_key,get_permalink(get_option("woocommerce_pay_page_id")))));}return array("result"=>"success","redirect"=>$order->get_checkout_payment_url(true));}function bnl_response_is_valid($bnl_response){$gpixtbl="status_approved";${"GLOBALS"}["hupjfqtqt"]="bnl_response";${"GLOBALS"}["lnjieflvbbl"]="bnl_response";$smdpkl="status_approved";${"GLOBALS"}["yelfsztlm"]="bnl_response";$uqbllepgogm="bnl_response";$ezxiox="bnl_response";${$smdpkl}=array("APPROVATO","APPROVED","GENEHMIGHT");if(isset(${$uqbllepgogm}["chargetotal"])&&isset(${$ezxiox}["currency"])&&(${${"GLOBALS"}["hupjfqtqt"]}["currency"]==get_woocommerce_currency())&&isset(${${"GLOBALS"}["lnjieflvbbl"]}["txntype"])&&(${${"GLOBALS"}["yelfsztlm"]}["txntype"]==$this->txntype)&&isset(${${"GLOBALS"}["jcbwlup"]}["status"])&&in_array(${${"GLOBALS"}["jcbwlup"]}["status"],${$gpixtbl})&&isset(${${"GLOBALS"}["jcbwlup"]}["terminal_id"])&&(${${"GLOBALS"}["jcbwlup"]}["terminal_id"]==$this->terminalId)&&isset(${${"GLOBALS"}["jcbwlup"]}["refnumber"])){return true;}return false;}function bnl_order_is_matched($bnl_response,$order){$zuextficdru="bnl_response";if(${${"GLOBALS"}["ssrkbirxu"]}&&($order->status=="pending"or$order->status=="on-hold")&&$order->get_total()==${$zuextficdru}["chargetotal"]){return true;}return false;}function check_bnl_response(){${"GLOBALS"}["qzkzpsy"]="order";$dlqzokdzjo="bnl_response";${"GLOBALS"}["xfikdiqkxbk"]="order_id";$fphmlhrqzo="success";${"GLOBALS"}["locakmj"]="bnl_response";$neqnqodgk="order";global$woocommerce;${${"GLOBALS"}["nhsgwtirdt"]}=$_GET["order_id"];${${"GLOBALS"}["qzkzpsy"]}=new WC_Order(${${"GLOBALS"}["xfikdiqkxbk"]});${$dlqzokdzjo}=$_POST;${$fphmlhrqzo}=true;if(!empty(${${"GLOBALS"}["locakmj"]})&&$this->bnl_response_is_valid(${${"GLOBALS"}["jcbwlup"]})&&$this->bnl_order_is_matched(${${"GLOBALS"}["jcbwlup"]},${$neqnqodgk})){$drnguourxt="order";$order->update_status("processing");if($this->wpbo_get_woo_version_number()<2.1){wp_redirect(get_permalink(get_option("woocommerce_thanks_page_id")));}else wp_redirect($this->get_return_url(${$drnguourxt}));exit();}else{if(!empty($this->payerror_page_url)){wp_redirect($this->payerror_page_url);}else{$woocommerce->wc_add_notice(__(FAILED_TRANSACTION_MSG,"gowc"));wp_redirect($order->get_checkout_payment_url());}exit();}}function createHash($chargetotal,$currency,$dataInseritaNelFieldtxndatetime){${"GLOBALS"}["tfcyri"]="storeId";$hkpxlmmnqjl="storeId";$mqisqeu="currency";${${"GLOBALS"}["tfcyri"]}=$this->storeId;${${"GLOBALS"}["vkeeepepr"]}=$this->sharedSecret;$ffdmuwggpjdx="sharedSecret";${${"GLOBALS"}["ocxtxcbwmb"]}=${$hkpxlmmnqjl}.${${"GLOBALS"}["ayewoiv"]}.${${"GLOBALS"}["nbwhbxsgxkv"]}.${$mqisqeu}.${$ffdmuwggpjdx};${${"GLOBALS"}["toxehbxcgkp"]}=bin2hex(${${"GLOBALS"}["ocxtxcbwmb"]});return sha1(${${"GLOBALS"}["toxehbxcgkp"]});}function get_bnl_args($order){$lwgzcdgpf="bnl_args";${"GLOBALS"}["nowrsde"]="dateTime";${${"GLOBALS"}["hietwtrwxmj"]}=gmdate("Y:m:d-H:i:s");${${"GLOBALS"}["xmsksbt"]}=array("txntype"=>$this->txntype,"timezone"=>"GMT","txndatetime"=>${${"GLOBALS"}["nowrsde"]},"hash"=>$this->createHash(sprintf("%.2f",$order->get_total()),"EUR",${${"GLOBALS"}["hietwtrwxmj"]}),"storename"=>$this->storeId,"mode"=>"payonly","currency"=>"EUR","language"=>BNL_LANGUAGE,"responseSuccessURL"=>site_url("/?wc-api=WC_Gateway_BNL&order_id={$order->id}"),"responseFailURL"=>esc_url($order->get_cancel_order_url()),"chargetotal"=>sprintf("%.2f",$order->get_total()));return${$lwgzcdgpf};}function generate_bnl_form($order_id){${"GLOBALS"}["zeujxq"]="order";$rikdnjpff="bnl_args_array";global$woocommerce;${"GLOBALS"}["gtftlcyqc"]="bnl_args_array";${${"GLOBALS"}["ssrkbirxu"]}=new WC_Order(${${"GLOBALS"}["nhsgwtirdt"]});${"GLOBALS"}["apirzlmv"]="bnl_url";if($this->testmode=="yes"){${${"GLOBALS"}["rojrbpsuebgy"]}=$this->testurl;}else{$csfbsyjtgyj="bnl_url";${$csfbsyjtgyj}=$this->liveurl;}${${"GLOBALS"}["xmsksbt"]}=$this->get_bnl_args(${${"GLOBALS"}["zeujxq"]});${${"GLOBALS"}["gtftlcyqc"]}=array();foreach(${${"GLOBALS"}["xmsksbt"]} as${${"GLOBALS"}["ifcglnrxu"]}=>${${"GLOBALS"}["eyreruqr"]}){$rvfzpavj="key";$msyrqeoun="value";${${"GLOBALS"}["qdfdrxfkglrh"]}[]="<input type="hidden" name=\"".esc_attr(${$rvfzpavj})."\" value="".esc_attr(${$msyrqeoun})."" />";}return"<form action="".esc_url(${${"GLOBALS"}["apirzlmv"]})."" method=\"post\" id=\"bnl_payment_form\" target="_top\">
".implode("",${$rikdnjpff})."
<input type=\"submit\" class=\"button alt\" id=\"submit_bnl_payment_form\" value="".__(SUBMIT_PAYMENT_BUTTON_MSG,"bnl")."" /> <a class=\"button cancel\" href="".esc_url($order->get_cancel_order_url())."">".__(CANCEL_ORDER_BUTTON_MSG,"woocommerce")."</a>
</form>";}function receipt_page($order){echo"<p>".__(CONFIRM_TRANSACTION_MSG,"bnl")."</p>";echo$this->generate_bnl_form(${${"GLOBALS"}["ssrkbirxu"]});}function payment_fields(){if($this->description)echo wpautop(wptexturize($this->description));}}}
?>
Did this file decode correctly?
Original Code
<?php /*
Plugin Name: BNL Positivity for WooCommerce
Plugin URI: http://www.archaweb.com
Description: Aggiunge fra i metodi di pagamento con gateway attivabili in WooCommerce il circuito BNL Positivity
Version: 2.0a
Author: Archa Multimedia Studios
Author URI: http://www.archaweb.com
License: Proprietary
Versions compatibility:
Plugin: Woocommerce:
2.0a 2.3.5
1.0e 2.1.8
*/
${"\x47L\x4f\x42\x41L\x53"}["q\x64\x66\x64\x72\x78f\x6b\x67\x6c\x72\x68"]="b\x6el\x5far\x67\x73\x5f\x61\x72\x72\x61y";${"\x47\x4cOB\x41\x4c\x53"}["e\x79r\x65r\x75\x71\x72"]="\x76a\x6c\x75\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["i\x66\x63g\x6cn\x72\x78\x75"]="\x6be\x79";${"\x47L\x4f\x42\x41L\x53"}["r\x6f\x6a\x72\x62p\x73u\x65b\x67y"]="\x62\x6e\x6c_u\x72\x6c";${"\x47\x4cO\x42\x41\x4c\x53"}["\x78\x6d\x73\x6bs\x62t"]="bn\x6c\x5f\x61\x72g\x73";${"GL\x4fBALS"}["\x68\x69\x65t\x77\x74\x72\x77\x78\x6d\x6a"]="d\x61t\x65T\x69\x6d\x65";${"G\x4cO\x42\x41LS"}["\x74\x6fxe\x68\x62x\x63\x67kp"]="a\x73\x63\x69\x69";${"G\x4cOB\x41\x4cS"}["\x6ebw\x68\x62\x78\x73\x67\x78\x6b\x76"]="\x63ha\x72\x67\x65to\x74\x61\x6c";${"\x47\x4c\x4f\x42\x41L\x53"}["\x61\x79\x65w\x6fiv"]="\x64\x61\x74\x61I\x6eser\x69t\x61N\x65\x6c\x46\x69e\x6c\x64\x74xn\x64\x61t\x65t\x69m\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6fc\x78\x74\x78\x63\x62\x77m\x62"]="\x73\x74\x72\x69\x6e\x67\x54o\x48a\x73h";${"GL\x4f\x42\x41L\x53"}["\x76\x6b\x65\x65e\x70\x65\x70\x72"]="s\x68\x61r\x65\x64\x53\x65\x63\x72\x65\x74";${"G\x4c\x4f\x42\x41\x4c\x53"}["n\x68s\x67wtir\x64\x74"]="ord\x65\x72\x5f\x69d";${"\x47\x4cO\x42\x41L\x53"}["ss\x72\x6bbi\x72\x78\x75"]="\x6frd\x65r";${"\x47L\x4fB\x41\x4c\x53"}["\x6ac\x62wl\x75\x70"]="b\x6e\x6c_\x72\x65\x73\x70o\x6ese";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x72v\x72m\x63\x78b\x66r"]="p\x6c\x75\x67\x69n\x5f\x66il\x65";${"\x47\x4c\x4fB\x41\x4c\x53"}["f\x6a\x75\x6e\x65\x72"]="\x70\x6c\x75\x67\x69\x6e\x5f\x66ol\x64\x65r";${"\x47\x4cO\x42\x41LS"}["b\x66\x6ewx\x7a\x6d\x66hyh"]="m\x65\x74ho\x64\x73";if(!defined("A\x42\x53\x50\x41T\x48"))exit;${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67\x67\x71\x70xs\x65\x6cvo"]="\x77\x70m\x6c_\x4c\x41\x4eG\x55A\x47\x45";${"\x47\x4cOBA\x4c\x53"}["\x6ap\x67\x72kvt\x73\x73"]="\x77\x70\x6dl_L\x41\x4e\x47\x55\x41\x47\x45";${${"\x47LO\x42AL\x53"}["\x6a\x70\x67r\x6bvt\x73s"]}=defined("\x49C\x4c_L\x41N\x47\x55A\x47E_\x43ODE")?ICL_LANGUAGE_CODE:"";switch(${${"G\x4cO\x42AL\x53"}["\x67gqp\x78\x73e\x6c\x76o"]}){case"":define("\x42NL_LA\x4e\x47UA\x47E","\x49T");break;case"\x69\x74":define("BNL_\x4cANGUAGE","IT");break;case"\x64\x65":define("B\x4e\x4c\x5f\x4cA\x4eG\x55AGE","D\x45");break;default:define("BN\x4c_LA\x4eGUA\x47\x45","EN");}if(BNL_LANGUAGE=="IT"){define("\x57\x4fOCO\x4d\x4d\x45RCE\x5fM\x49\x53\x53IN\x47\x5f\x4dSG","\x3c\x62>A\x74\x74\x65\x6e\x7a\x69\x6fn\x65:</\x62> \x49l \x70\x6c\x75\x67i\x6e \x3cb>\x42\x4e\x4c Pos\x69t\x69\x76it\x79</\x62>\x20\x72\x69c\x68\x69e\x64\x65 \x63he \x57\x6fo\x43\x6f\x6dme\x72c\x65 si\x61\x20a\x74\x74\x69va\x74\x6f p\x65r\x20\x66\x75n\x7a\x69o\x6eare");define("M\x45\x54\x48\x4f\x44\x5fT\x49T\x4c\x45_MSG","BN\x4c \x50\x6f\x73\x69tiv\x69t\x79");define("\x4dET\x48\x4f\x44_DES\x43\x52IP\x54\x49O\x4e_MSG","\x50er\x6de\x74\x74\x65 pagam\x65n\x74\x69\x20\x74\x72a\x6d\x69\x74e i\x6c ga\x74e\x77\x61y\x20d\x65l\x20\x63i\x72\x63uito\x20\x42NL\x20\x50o\x73\x69\x74\x69v\x69\x74y");define("CH\x45C\x4b\x42OX_EN\x41B\x4c\x45_L\x41\x42EL_M\x53G","Abil\x69\x74\x61\x20\x42\x4eL P\x6f\x73\x69t\x69v\x69ty");define("\x46\x41\x49LE\x44_\x54\x52\x41NSAC\x54IO\x4e_M\x53G","\x3cb>E\x72\x72\x6f\x72e:\x20No\x6e\x20\x26egr\x61\x76\x65\x3b\x20\x73tato \x70oss\x69b\x69\x6c\x65\x20po\x72\x74ar\x65\x20a\x20termi\x6e\x65 la t\x72an\x73\x61z\x69\x6fn\x65</b\x3e");define("C\x4fNF\x49\x52\x4d\x5f\x54\x52AN\x53ACTION\x5fMS\x47","G\x72azi\x65 p\x65r\x20i\x6c\x20tu\x6f\x20or\x64ine, \x66\x61re\x20cli\x63 su\x6c \x70\x75lsa\x6ete \x71ui so\x74\x74\x6f\x20pe\x72 p\x61g\x61\x72e\x20\x63\x6f\x6e car\x74a\x20\x64i\x20\x63r\x65di\x74o.");define("S\x55C\x43EED\x45\x44_TRANS\x41CT\x49ON_\x4dS\x47","\x47ra\x7aie \x70er\x20il\x20tu\x6f\x20\x6frdi\x6ee. Ora\x20\x76\x65r\x72\x61i\x20\x72\x65\x64\x69re\x7a\x69ona\x74o sul\x6c\x61\x20\x70a\x67\x69na\x20\x64\x69\x20\x70a\x67\x61\x6d\x65nt\x6f\x2e");define("SU\x42\x4dI\x54\x5f\x50AYM\x45\x4eT\x5f\x42U\x54\x54\x4f\x4e\x5fMS\x47","P\x61\x67\x61\x20c\x6f\x6e\x20\x63art\x61 \x64i cr\x65d\x69\x74o");define("\x43\x41\x4eC\x45L\x5f\x4f\x52\x44\x45R_BU\x54T\x4f\x4e\x5f\x4d\x53G","\x41nnul\x6ca\x20\x6c'o\x72\x64i\x6ee\x20e\x20t\x6frna\x20a\x6c\x20c\x61rr\x65\x6clo");}else{define("W\x4fO\x43OMM\x45R\x43E_M\x49\x53\x53ING\x5f\x4dSG","\x3c\x62\x3eW\x61rn\x69\x6eg:</\x62\x3e T\x68\x65 <\x62>BNL \x50\x6f\x73it\x69\x76\x69\x74\x79</b\x3e p\x6c\x75\x67\x69\x6e\x20\x72eq\x75e\x73t W\x6fo\x43\x6fmm\x65\x72\x63\x65 \x74o\x20\x62\x65 a\x63\x74\x69va\x74\x65d\x20fo\x72 r\x75n\x6e\x69\x6e\x67");define("METHOD_TITL\x45\x5f\x4dSG","\x42\x4e\x4c Posi\x74ivit\x79");define("\x4dET\x48O\x44_\x44E\x53\x43\x52\x49\x50T\x49\x4f\x4e\x5fMS\x47","\x41l\x6cow\x73 \x70a\x79me\x6ets\x20\x76i\x61 t\x68e \x67a\x74ewa\x79\x20o\x66\x20BN\x4c \x50\x6f\x73iti\x76i\x74\x79 c\x69r\x63\x75\x69\x74");define("\x43\x48\x45\x43\x4bB\x4f\x58\x5f\x45NA\x42L\x45\x5fL\x41B\x45L_M\x53G","Enab\x6ce \x42N\x4c \x50\x6f\x73\x69t\x69vi\x74\x79");define("FAI\x4c\x45\x44\x5fTR\x41\x4eS\x41\x43TI\x4f\x4e_\x4d\x53G","<\x62>\x45r\x72o\x72: \x46ail\x65d\x20to c\x6fm\x70\x6cet\x65 the\x20\x74ran\x73a\x63\x74ion\x3c/\x62>");define("CO\x4e\x46\x49\x52M\x5f\x54\x52A\x4e\x53A\x43\x54\x49O\x4e\x5fM\x53G","T\x68ank\x73\x20f\x6f\x72\x20\x79\x6fu\x72 \x6f\x72d\x65r, \x63\x6c\x69\x63\x6b\x20o\x6e\x20\x74he b\x75\x74to\x6e b\x65\x6c\x6f\x77 to\x20\x70a\x79\x20by\x20c\x72\x65d\x69\x74\x20\x63\x61\x72\x64.");define("\x53\x55C\x43EE\x44E\x44_TR\x41\x4eSA\x43\x54IO\x4e\x5fMS\x47","T\x68\x61nks f\x6fr\x20\x79ou\x72 \x6frder\x2e\x20Y\x6fu\x20wi\x6c\x6c \x6e\x6fw \x62e \x72\x65d\x69\x72e\x63\x74\x65d \x74\x6f \x74h\x65 p\x61y\x6de\x6e\x74\x20page\x2e");define("\x53\x55\x42M\x49T\x5fPAY\x4d\x45\x4eT\x5f\x42\x55\x54TO\x4e\x5f\x4dS\x47","\x50ay\x20by\x20cr\x65\x64it \x63\x61\x72d");define("\x43AN\x43\x45\x4c\x5fOR\x44ER\x5fB\x55TTO\x4e_\x4dSG","\x43\x61ncel orde\x72 \x26a\x6d\x70\x3b \x72e\x73tore\x20c\x61\x72\x74");}add_action("\x61\x64\x6d\x69\x6e_\x6e\x6f\x74\x69\x63e\x73","w\x6f\x6f\x63\x6f\x6d\x6der\x63e_n\x6ft_\x72\x75\x6en\x69ng\x5f\x65rror");add_action("p\x6cug\x69n\x73_\x6c\x6f\x61\x64e\x64","in\x69\x74\x5fb\x6el_\x67\x61tew\x61\x79_\x63\x6ca\x73\x73");function woocommerce_not_running_error(){if(!in_array("woocom\x6d\x65r\x63e/woo\x63o\x6d\x6der\x63e\x2ep\x68p",apply_filters("\x61\x63t\x69\x76\x65_p\x6c\x75g\x69ns",get_option("a\x63\x74iv\x65\x5f\x70lug\x69\x6e\x73")))){echo "\x20\x20\x20 <di\x76\x20cl\x61ss\x3d\"\x65r\x72\x6fr\x22\x3e\n \x20\x20 \x20 \x20 <\x70>";_e(WOOCOMMERCE_MISSING_MSG,"\x77o\x6fco\x6dm\x65rc\x65-bnl_\x70os\x69t\x69\x76\x69ty-\x74\x64");echo "\x3c/p>\n\x20 \x20\x3c/d\x69v>\n \x20\x20 ";}return;}function init_bnl_gateway_class(){if(!in_array("w\x6foc\x6fm\x6derce/wo\x6f\x63omm\x65r\x63e.\x70\x68p",apply_filters("\x61\x63\x74i\x76\x65\x5fpl\x75\x67in\x73",get_option("a\x63\x74\x69v\x65\x5fp\x6cug\x69\x6e\x73")))){return;}add_filter("\x77o\x6f\x63o\x6dme\x72ce\x5f\x70\x61ym\x65n\x74\x5f\x67a\x74\x65\x77ays","ad\x64_\x42\x4e\x4c_\x67\x61t\x65\x77\x61\x79");function add_BNL_gateway($methods){${"\x47\x4cO\x42\x41\x4c\x53"}["t\x79\x6d\x6br\x66\x68\x71\x7a\x68\x6d"]="\x6deth\x6f\x64\x73";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62f\x6e\x77xzmf\x68y\x68"]}[]="WC_\x47a\x74ew\x61y_\x42\x4e\x4c";return${${"G\x4c\x4f\x42AL\x53"}["\x74\x79\x6d\x6b\x72\x66h\x71\x7a\x68m"]};}class WC_Gateway_BNL extends WC_Payment_Gateway{function __construct(){$this->id="\x62\x6el";$this->icon=plugin_dir_url(__FILE__)."\x6c\x6fgo_b\x6el_\x70\x6f\x73it\x69\x76ity.\x70\x6eg";$this->init_form_fields();$this->init_settings();$this->enabled=$this->get_option("status");$this->method_title=METHOD_TITLE_MSG;$this->method_description=METHOD_DESCRIPTION_MSG;$this->title=$this->get_option("title");$this->description=$this->get_option("d\x65scr\x69pt\x69on");$this->liveurl=$this->get_option("\x73\x65\x72v\x69c\x65\x55R\x4c");$this->testurl=$this->liveurl;$this->storeId=$this->get_option("\x73to\x72e\x49d");$this->terminalId=substr($this->storeId,0,8);$this->sharedSecret=$this->get_option("sha\x72\x65dS\x65\x63\x72et");$this->txntype=$this->get_option("t\x78nt\x79pe");$this->testmode="no";$this->currency=get_woocommerce_currency();$this->payerror_page_url=$this->get_option("pa\x79\x65rr\x6fr\x5f\x70a\x67\x65\x5fu\x72l");add_action("wo\x6fco\x6dme\x72\x63e_u\x70\x64ate\x5fo\x70ti\x6fn\x73_\x70\x61\x79m\x65\x6e\x74\x5fgatewa\x79\x73\x5f".$this->id,array($this,"\x70r\x6fce\x73s\x5f\x61\x64\x6d\x69\x6e_op\x74i\x6fns"));add_action("\x77\x6f\x6fc\x6f\x6dme\x72\x63\x65_\x72\x65c\x65i\x70\x74\x5fb\x6el",array($this,"rec\x65\x69\x70t_p\x61g\x65"));str_replace("h\x74\x74p\x73:","h\x74\x74\x70:",add_query_arg("wc-api","WC_G\x61t\x65\x77\x61y\x5f\x42\x4e\x4c",home_url("/")));add_action("w\x6f\x6f\x63\x6fmm\x65\x72ce\x5f\x61p\x69\x5f\x77\x63\x5fgatew\x61y\x5fbn\x6c",array($this,"\x63h\x65ck\x5f\x62\x6e\x6c_r\x65sp\x6fnse"));}function init_form_fields(){$this->form_fields=array("st\x61t\x75\x73"=>array("ti\x74\x6ce"=>__("\x45\x6e\x61b\x6c\x65/\x44is\x61bl\x65","wo\x6fcom\x6der\x63\x65"),"\x74yp\x65"=>"\x63h\x65\x63\x6bbo\x78","\x6ca\x62el"=>CHECKBOX_ENABLE_LABEL_MSG,"\x64\x65scr\x69\x70ti\x6fn"=>__("","\x77o\x6fc\x6f\x6dmerc\x65"),"\x64\x65f\x61u\x6c\x74"=>__("\x42\x4e\x4c\x20\x50\x6f\x73i\x74ivity","woo\x63o\x6d\x6de\x72\x63e")),"t\x69\x74l\x65"=>array("\x74it\x6c\x65"=>__("\x54\x69\x74le","\x77o\x6fc\x6fm\x6d\x65\x72\x63\x65"),"type"=>"t\x65x\x74","\x64\x65scr\x69\x70ti\x6f\x6e"=>__("T\x68is \x63\x6f\x6etro\x6cs \x74\x68\x65 \x74\x69tle\x20\x77h\x69c\x68 the\x20\x75\x73\x65r\x20\x73e\x65\x73 duri\x6e\x67 checko\x75\x74.","\x77oo\x63o\x6dm\x65r\x63e"),"def\x61ul\x74"=>__("\x42\x4e\x4c\x20Po\x73i\x74\x69\x76i\x74\x79","\x77\x6f\x6fco\x6dme\x72\x63\x65")),"\x64e\x73cr\x69\x70t\x69\x6f\x6e"=>array("ti\x74\x6c\x65"=>__("D\x65\x73c\x72i\x70\x74i\x6fn","w\x6foc\x6f\x6d\x6der\x63e"),"t\x79p\x65"=>"text\x61re\x61","\x64esc\x72\x69\x70\x74io\x6e"=>__("T\x68i\x73 co\x6e\x74\x72\x6fls\x20th\x65 de\x73cript\x69on\x20whi\x63h\x20\x74h\x65 \x75\x73e\x72 see\x73 dur\x69ng\x20c\x68\x65\x63k\x6fu\x74.","w\x6focomm\x65\x72\x63e"),"\x64e\x66a\x75lt"=>__("","\x77\x6foc\x6fm\x6d\x65rce")),"\x73\x65\x72v\x69c\x65UR\x4c"=>array("t\x69\x74le"=>__("S\x65\x72v\x69\x63\x65 \x55\x52\x4c","\x77\x6f\x6fco\x6d\x6der\x63e"),"\x74\x79pe"=>"\x74\x65x\x74","d\x65scr\x69p\x74i\x6f\x6e"=>__("","\x77oo\x63\x6f\x6dm\x65r\x63\x65")),"sto\x72\x65\x49d"=>array("t\x69tle"=>__("Te\x72\x6d\x69\x6eal ID","\x77\x6fo\x63o\x6dme\x72c\x65"),"ty\x70e"=>"\x74\x65x\x74","\x64\x65\x73cri\x70\x74io\x6e"=>__("","\x77o\x6f\x63\x6fm\x6d\x65r\x63\x65")),"\x73\x68\x61\x72edSe\x63\x72e\x74"=>array("title"=>__("\x53\x65c\x72e\x74 k\x65\x79","\x77oocomm\x65\x72ce"),"\x74yp\x65"=>"te\x78\x74","\x64e\x73\x63\x72i\x70t\x69o\x6e"=>__("","\x77o\x6fc\x6f\x6dm\x65rce")),"t\x78nt\x79\x70e"=>array("titl\x65"=>__("\x54ype","w\x6f\x6fc\x6f\x6dme\x72\x63e"),"\x74y\x70e"=>"\x73el\x65\x63t","\x64e\x73\x63\x72ipt\x69on"=>__("","wo\x6fc\x6f\x6dmerc\x65"),"\x6f\x70\x74i\x6fn\x73"=>array("\x41\x55\x54\x48"=>"AUT\x48","\x50U\x52\x43H\x41SE"=>"PURC\x48A\x53E","C\x4fNFI\x52M"=>"C\x4f\x4e\x46I\x52M","C\x52\x45\x44I\x54"=>"\x43REDIT","\x56\x4fID"=>"\x56OID",)),"p\x61\x79\x65r\x72or_pa\x67\x65\x5fu\x72\x6c"=>array("\x74\x69\x74l\x65"=>__("\x50a\x79me\x6et\x20Er\x72\x6fr \x50a\x67\x65\x20\x55R\x4c","w\x6f\x6f\x63\x6f\x6d\x6de\x72ce"),"\x74\x79p\x65"=>"t\x65xt","\x64e\x73cr\x69\x70ti\x6fn"=>__("","wo\x6f\x63\x6fmme\x72c\x65")),);}function wpbo_get_woo_version_number(){if(!function_exists("\x67\x65\x74\x5f\x70\x6cug\x69\x6es")){require_once(ABSPATH."w\x70-\x61dmi\x6e/includ\x65\x73/pl\x75\x67in.p\x68\x70");}$ojqcmyg="\x70\x6c\x75\x67\x69\x6e\x5f\x66\x69\x6c\x65";${${"\x47\x4cOBAL\x53"}["fju\x6e\x65r"]}=get_plugins("/"."\x77o\x6fcom\x6de\x72\x63e");${$ojqcmyg}="\x77\x6fo\x63\x6fm\x6de\x72ce.\x70hp";${"\x47L\x4f\x42\x41\x4c\x53"}["kg\x6c\x6a\x76b\x62i"]="p\x6c\x75\x67\x69n\x5f\x66ol\x64\x65\x72";if(isset(${${"\x47L\x4fB\x41LS"}["\x6bglj\x76b\x62i"]}[${${"\x47\x4cO\x42\x41LS"}["r\x76r\x6d\x63\x78\x62\x66r"]}]["\x56ersi\x6f\x6e"])){${"G\x4cO\x42\x41\x4cS"}["g\x67idhk\x69"]="\x70\x6cu\x67i\x6e\x5f\x66il\x65";return${${"\x47L\x4fB\x41\x4c\x53"}["f\x6a\x75\x6eer"]}[${${"\x47\x4cOB\x41L\x53"}["g\x67i\x64h\x6b\x69"]}]["\x56\x65\x72sio\x6e"];}else{return NULL;}}function process_payment($order_id){${"\x47\x4c\x4f\x42AL\x53"}["swr\x6f\x61\x79u\x76hl"]="\x6f\x72\x64\x65\x72_\x69\x64";$dogmmhblk="o\x72\x64\x65r";global$woocommerce;${$dogmmhblk}=new WC_Order(${${"\x47\x4cOB\x41\x4c\x53"}["swro\x61\x79u\x76\x68\x6c"]});$order->update_status("\x70e\x6ed\x69\x6e\x67",__("Awa\x69ti\x6e\x67\x20\x63h\x65qu\x65\x20\x70\x61\x79ment","w\x6f\x6fco\x6dme\x72c\x65"));$order->reduce_order_stock();$woocommerce->cart->empty_cart();if($this->wpbo_get_woo_version_number()<2.1){return array("\x72esul\x74"=>"\x73\x75\x63c\x65\x73\x73","\x72edi\x72ect"=>add_query_arg("\x6f\x72der",$order->id,add_query_arg("\x6b\x65\x79",$order->order_key,get_permalink(get_option("\x77ooc\x6fm\x6der\x63\x65\x5f\x70a\x79_\x70a\x67\x65_id")))));}return array("res\x75\x6ct"=>"s\x75\x63\x63\x65s\x73","\x72\x65d\x69r\x65\x63t"=>$order->get_checkout_payment_url(true));}function bnl_response_is_valid($bnl_response){$gpixtbl="\x73\x74a\x74\x75\x73\x5f\x61p\x70\x72o\x76\x65\x64";${"GL\x4f\x42\x41\x4c\x53"}["\x68\x75\x70\x6a\x66\x71\x74q\x74"]="\x62\x6e\x6c\x5f\x72\x65s\x70\x6f\x6es\x65";${"GLO\x42\x41\x4c\x53"}["\x6c\x6e\x6a\x69\x65\x66lv\x62\x62\x6c"]="\x62\x6el\x5fr\x65\x73\x70\x6f\x6ese";$smdpkl="\x73ta\x74\x75\x73_\x61p\x70\x72\x6f\x76\x65\x64";${"GL\x4f\x42\x41\x4c\x53"}["\x79\x65\x6c\x66s\x7a\x74l\x6d"]="bn\x6c\x5f\x72\x65\x73\x70\x6f\x6e\x73e";$uqbllepgogm="\x62\x6el\x5f\x72\x65\x73\x70\x6fns\x65";$ezxiox="\x62nl_r\x65\x73p\x6fn\x73\x65";${$smdpkl}=array("\x41\x50PR\x4f\x56\x41\x54O","AP\x50RO\x56E\x44","\x47\x45N\x45HMIG\x48\x54");if(isset(${$uqbllepgogm}["\x63h\x61\x72\x67e\x74\x6ft\x61l"])&&isset(${$ezxiox}["\x63\x75\x72\x72\x65n\x63\x79"])&&(${${"\x47\x4c\x4f\x42AL\x53"}["\x68\x75\x70\x6a\x66\x71\x74\x71t"]}["\x63ur\x72ency"]==get_woocommerce_currency())&&isset(${${"GL\x4f\x42AL\x53"}["\x6c\x6e\x6a\x69\x65\x66l\x76\x62\x62l"]}["t\x78\x6et\x79p\x65"])&&(${${"\x47\x4cOB\x41L\x53"}["\x79\x65\x6c\x66\x73z\x74l\x6d"]}["t\x78n\x74ype"]==$this->txntype)&&isset(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x63\x62\x77\x6c\x75\x70"]}["st\x61tus"])&&in_array(${${"G\x4c\x4f\x42\x41L\x53"}["\x6ac\x62\x77\x6cu\x70"]}["\x73tatu\x73"],${$gpixtbl})&&isset(${${"GLOBA\x4cS"}["j\x63\x62\x77\x6c\x75\x70"]}["\x74e\x72m\x69na\x6c_id"])&&(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6a\x63b\x77\x6c\x75\x70"]}["\x74\x65r\x6din\x61\x6c_i\x64"]==$this->terminalId)&&isset(${${"\x47L\x4f\x42\x41\x4cS"}["\x6ac\x62w\x6c\x75\x70"]}["r\x65\x66num\x62er"])){return true;}return false;}function bnl_order_is_matched($bnl_response,$order){$zuextficdru="\x62\x6el_\x72e\x73\x70\x6f\x6e\x73e";if(${${"\x47\x4cO\x42AL\x53"}["\x73\x73\x72\x6b\x62ir\x78\x75"]}&&($order->status=="p\x65\x6edi\x6eg"or$order->status=="o\x6e-ho\x6c\x64")&&$order->get_total()==${$zuextficdru}["\x63h\x61r\x67\x65t\x6ft\x61l"]){return true;}return false;}function check_bnl_response(){${"\x47L\x4fB\x41\x4c\x53"}["\x71\x7a\x6b\x7a\x70\x73\x79"]="\x6f\x72\x64e\x72";$dlqzokdzjo="\x62n\x6c\x5f\x72\x65\x73\x70\x6f\x6ese";${"\x47LOB\x41LS"}["\x78\x66\x69\x6b\x64i\x71\x6b\x78\x62\x6b"]="\x6fr\x64\x65\x72_\x69\x64";$fphmlhrqzo="s\x75c\x63\x65\x73\x73";${"G\x4cO\x42\x41\x4c\x53"}["lo\x63\x61k\x6dj"]="\x62\x6e\x6c\x5f\x72\x65s\x70\x6fn\x73\x65";$neqnqodgk="\x6fr\x64\x65\x72";global$woocommerce;${${"\x47L\x4f\x42A\x4cS"}["nh\x73g\x77\x74\x69r\x64\x74"]}=$_GET["\x6frd\x65r_id"];${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x7ak\x7aps\x79"]}=new WC_Order(${${"G\x4c\x4f\x42A\x4c\x53"}["xf\x69\x6bdi\x71\x6b\x78\x62\x6b"]});${$dlqzokdzjo}=$_POST;${$fphmlhrqzo}=true;if(!empty(${${"\x47LO\x42\x41\x4cS"}["\x6c\x6f\x63\x61km\x6a"]})&&$this->bnl_response_is_valid(${${"\x47\x4c\x4f\x42\x41\x4cS"}["jc\x62wl\x75p"]})&&$this->bnl_order_is_matched(${${"\x47\x4c\x4f\x42AL\x53"}["jc\x62\x77\x6cup"]},${$neqnqodgk})){$drnguourxt="\x6f\x72\x64e\x72";$order->update_status("p\x72\x6f\x63e\x73s\x69\x6e\x67");if($this->wpbo_get_woo_version_number()<2.1){wp_redirect(get_permalink(get_option("w\x6f\x6f\x63\x6fmm\x65\x72\x63\x65_t\x68\x61\x6e\x6bs\x5f\x70\x61ge\x5fi\x64")));}else wp_redirect($this->get_return_url(${$drnguourxt}));exit();}else{if(!empty($this->payerror_page_url)){wp_redirect($this->payerror_page_url);}else{$woocommerce->wc_add_notice(__(FAILED_TRANSACTION_MSG,"gowc"));wp_redirect($order->get_checkout_payment_url());}exit();}}function createHash($chargetotal,$currency,$dataInseritaNelFieldtxndatetime){${"\x47L\x4fB\x41L\x53"}["\x74fc\x79r\x69"]="\x73t\x6f\x72\x65Id";$hkpxlmmnqjl="\x73\x74\x6fr\x65\x49\x64";$mqisqeu="\x63\x75\x72re\x6e\x63\x79";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74\x66c\x79r\x69"]}=$this->storeId;${${"\x47L\x4fB\x41LS"}["vke\x65e\x70\x65\x70\x72"]}=$this->sharedSecret;$ffdmuwggpjdx="s\x68\x61\x72\x65\x64\x53\x65\x63\x72\x65t";${${"GL\x4fB\x41L\x53"}["\x6f\x63\x78t\x78cb\x77\x6db"]}=${$hkpxlmmnqjl}.${${"\x47L\x4fB\x41\x4c\x53"}["\x61\x79ew\x6f\x69\x76"]}.${${"\x47\x4c\x4fB\x41\x4cS"}["\x6e\x62\x77\x68bx\x73\x67x\x6b\x76"]}.${$mqisqeu}.${$ffdmuwggpjdx};${${"\x47LOB\x41\x4c\x53"}["\x74\x6fxe\x68b\x78\x63\x67k\x70"]}=bin2hex(${${"\x47LO\x42\x41\x4c\x53"}["\x6fcxt\x78c\x62\x77m\x62"]});return sha1(${${"G\x4cO\x42\x41\x4c\x53"}["\x74o\x78\x65h\x62\x78\x63\x67k\x70"]});}function get_bnl_args($order){$lwgzcdgpf="bn\x6c\x5f\x61\x72g\x73";${"\x47LOB\x41\x4cS"}["\x6eo\x77\x72\x73\x64\x65"]="\x64\x61\x74eT\x69\x6d\x65";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x69\x65\x74\x77tr\x77\x78mj"]}=gmdate("\x59:m:d-H:\x69:\x73");${${"\x47\x4cO\x42\x41L\x53"}["\x78\x6d\x73\x6b\x73\x62t"]}=array("\x74x\x6e\x74yp\x65"=>$this->txntype,"tim\x65zon\x65"=>"\x47\x4dT","\x74xndate\x74\x69me"=>${${"\x47LO\x42\x41\x4c\x53"}["\x6e\x6fwr\x73\x64\x65"]},"h\x61s\x68"=>$this->createHash(sprintf("\x25.\x32f",$order->get_total()),"\x45\x55\x52",${${"\x47\x4cOB\x41\x4c\x53"}["\x68ie\x74w\x74\x72\x77\x78\x6dj"]}),"\x73to\x72\x65\x6ea\x6d\x65"=>$this->storeId,"m\x6f\x64e"=>"p\x61\x79\x6fnl\x79","c\x75rr\x65\x6ec\x79"=>"EUR","l\x61\x6eg\x75\x61ge"=>BNL_LANGUAGE,"\x72esponseS\x75cces\x73\x55RL"=>site_url("/?wc-\x61p\x69=\x57C_G\x61tewa\x79\x5f\x42\x4e\x4c&o\x72der\x5fi\x64={$order->id}"),"r\x65spon\x73\x65\x46a\x69\x6cURL"=>esc_url($order->get_cancel_order_url()),"c\x68a\x72g\x65t\x6f\x74a\x6c"=>sprintf("%.\x32f",$order->get_total()));return${$lwgzcdgpf};}function generate_bnl_form($order_id){${"G\x4c\x4f\x42\x41LS"}["z\x65u\x6a\x78q"]="\x6f\x72\x64er";$rikdnjpff="\x62n\x6c_\x61\x72gs_a\x72r\x61\x79";global$woocommerce;${"G\x4c\x4f\x42\x41\x4c\x53"}["\x67\x74f\x74\x6c\x63yqc"]="b\x6e\x6c_a\x72\x67s\x5f\x61\x72r\x61\x79";${${"\x47LOBA\x4cS"}["\x73sr\x6b\x62\x69\x72xu"]}=new WC_Order(${${"\x47LO\x42A\x4c\x53"}["\x6e\x68sg\x77\x74\x69\x72\x64t"]});${"GL\x4f\x42\x41LS"}["\x61\x70\x69r\x7a\x6cm\x76"]="\x62\x6e\x6c\x5fu\x72\x6c";if($this->testmode=="y\x65\x73"){${${"G\x4c\x4f\x42\x41\x4c\x53"}["ro\x6a\x72\x62\x70\x73ueb\x67y"]}=$this->testurl;}else{$csfbsyjtgyj="\x62\x6el\x5f\x75r\x6c";${$csfbsyjtgyj}=$this->liveurl;}${${"\x47\x4cO\x42\x41\x4c\x53"}["x\x6dsksb\x74"]}=$this->get_bnl_args(${${"\x47\x4c\x4fBA\x4c\x53"}["\x7ae\x75\x6a\x78\x71"]});${${"\x47L\x4f\x42\x41\x4c\x53"}["\x67\x74f\x74\x6c\x63\x79\x71\x63"]}=array();foreach(${${"G\x4c\x4f\x42\x41\x4cS"}["\x78\x6dsk\x73\x62t"]} as${${"G\x4cO\x42AL\x53"}["i\x66\x63\x67l\x6e\x72\x78\x75"]}=>${${"G\x4c\x4f\x42\x41\x4c\x53"}["e\x79\x72\x65\x72uq\x72"]}){$rvfzpavj="\x6b\x65\x79";$msyrqeoun="v\x61lue";${${"\x47LO\x42\x41\x4cS"}["q\x64\x66\x64r\x78\x66\x6bg\x6c\x72h"]}[]="<\x69\x6eput\x20t\x79p\x65\x3d\x22hidd\x65n\x22\x20n\x61m\x65=\"".esc_attr(${$rvfzpavj})."\" \x76a\x6c\x75e\x3d\x22".esc_attr(${$msyrqeoun})."\x22 />";}return"<fo\x72m a\x63t\x69on\x3d\x22".esc_url(${${"G\x4c\x4f\x42\x41L\x53"}["\x61\x70\x69\x72\x7a\x6c\x6d\x76"]})."\x22 me\x74\x68\x6fd=\"\x70ost\"\x20\x69d\x3d\"b\x6el_\x70\x61\x79\x6dent\x5f\x66o\x72m\"\x20ta\x72\x67\x65t\x3d\x22_\x74\x6f\x70\"\x3e\n\t\t\t\t".implode("",${$rikdnjpff})."\n\t\t\t\t<in\x70\x75t\x20\x74\x79\x70\x65=\"\x73\x75\x62\x6dit\" \x63\x6ca\x73s\x3d\"butto\x6e alt\"\x20id=\"s\x75\x62\x6d\x69t_\x62\x6e\x6c\x5f\x70a\x79\x6d\x65nt_\x66\x6frm\" v\x61lu\x65=\x22".__(SUBMIT_PAYMENT_BUTTON_MSG,"b\x6e\x6c")."\x22 /\x3e\x20<\x61\x20\x63lass=\"\x62\x75\x74\x74o\x6e ca\x6ec\x65\x6c\"\x20hr\x65\x66=\x22".esc_url($order->get_cancel_order_url())."\x22>".__(CANCEL_ORDER_BUTTON_MSG,"\x77\x6f\x6f\x63\x6fm\x6d\x65rce")."</a>\n\t\t\t\x3c/\x66orm>";}function receipt_page($order){echo"\x3c\x70\x3e".__(CONFIRM_TRANSACTION_MSG,"\x62nl")."</p\x3e";echo$this->generate_bnl_form(${${"\x47L\x4f\x42A\x4cS"}["\x73\x73r\x6b\x62\x69\x72\x78\x75"]});}function payment_fields(){if($this->description)echo wpautop(wptexturize($this->description));}}}
?>
Function Calls
| None |
Stats
| MD5 | 2e9a1143c68b9754afafba2555df6594 |
| Eval Count | 0 |
| Decode Time | 126 ms |