diff --git a/classes/wc-gateway-paypal-express-angelleye.php b/classes/wc-gateway-paypal-express-angelleye.php index f853c10cd..e30cb2184 100644 --- a/classes/wc-gateway-paypal-express-angelleye.php +++ b/classes/wc-gateway-paypal-express-angelleye.php @@ -2018,76 +2018,6 @@ static function woocommerce_before_cart() { * Triggered from the 'woocommerce_proceed_to_checkout' action. * Displays the PayPal Express button. */ - static function woocommerce_paypal_express_checkout_button_angelleye_old() { - global $pp_settings, $pp_pro, $pp_payflow; - $payment_gateways = WC()->payment_gateways->get_available_payment_gateways(); - // Pay with Credit Card - unset($payment_gateways['paypal_pro']); - unset($payment_gateways['paypal_pro_payflow']); - - echo '
'; - - /** - * Show the paypal express checkout button in cart page when express checkout is enabled and cart total > 0 - * If show_on_cart is empty so it's value default to yes - */ - if (@$pp_settings['enabled'] == 'yes' && (empty($pp_settings['show_on_cart']) || $pp_settings['show_on_cart'] == 'yes') && 0 < WC()->cart->total) { - echo ' "; - } - } - static function woocommerce_paypal_express_checkout_button_angelleye() { global $pp_settings; if (@$pp_settings['enabled'] == 'yes' && (empty($pp_settings['show_on_cart']) || $pp_settings['show_on_cart'] == 'yes') && 0 < WC()->cart->total) {