diff --git a/includes/payments/hooks/class-wc-woomercadopago-hook-abstract.php b/includes/payments/hooks/class-wc-woomercadopago-hook-abstract.php index 9914c7e64..8ce2a5b49 100755 --- a/includes/payments/hooks/class-wc-woomercadopago-hook-abstract.php +++ b/includes/payments/hooks/class-wc-woomercadopago-hook-abstract.php @@ -161,7 +161,7 @@ public function get_payment_method_title( $title, $id ) { return $title; } - $total = (float) WC()->cart->subtotal; + $total = (float) WC()->cart->total; $price_discount = $total * ( $this->payment->gateway_discount / 100 ); $price_commission = $total * ( $this->payment->commission / 100 );