diff --git a/includes/admin/meta-boxes/views/html-order-items.php b/includes/admin/meta-boxes/views/html-order-items.php
index 2981b467db4..554eca52ef9 100644
--- a/includes/admin/meta-boxes/views/html-order-items.php
+++ b/includes/admin/meta-boxes/views/html-order-items.php
@@ -216,7 +216,14 @@ if ( wc_tax_enabled() ) {
: |
|
- get_total(), array( 'currency' => $order->get_currency() ) ); // WPCS: XSS ok. ?>
+ get_total();
+ if ( $order->get_total_refunded() ) {
+ $total_paid_by_customer -= $order->get_total_refunded();
+ }
+
+ echo wc_price( $total_paid_by_customer, array( 'currency' => $order->get_currency() ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
+ ?>
|