diff --git a/includes/express-checkout/class-wc-payments-express-checkout-button-helper.php b/includes/express-checkout/class-wc-payments-express-checkout-button-helper.php index c7aecb8bd06..2202bb4fafc 100644 --- a/includes/express-checkout/class-wc-payments-express-checkout-button-helper.php +++ b/includes/express-checkout/class-wc-payments-express-checkout-button-helper.php @@ -114,7 +114,6 @@ public function build_display_items( $itemized_display_items = false ) { // but only for the specific case of subscriptions with a free trial and a signup fee. $items_total_calculated = 0; foreach ( WC()->cart->get_cart() as $cart_item ) { - // deberiamos preguntar si tiene sign up fee? porque el fix es para el caso 4 que tiene sign up fee. if ( class_exists( 'WC_Subscriptions_Product' ) && WC_Subscriptions_Product::get_sign_up_fee( $cart_item['product_id'] ) > 0 && WC_Subscriptions_Product::get_sign_up_fee( $cart_item['product_id'] ) > 0 ) { $items_total_calculated += wc_get_product( $cart_item['product_id'] )->get_price(); }