diff --git a/includes/admin/meta-boxes/views/html-order-items.php b/includes/admin/meta-boxes/views/html-order-items.php
index 06563111820..4df4dea686c 100644
--- a/includes/admin/meta-boxes/views/html-order-items.php
+++ b/includes/admin/meta-boxes/views/html-order-items.php
@@ -279,10 +279,13 @@ if ( wc_tax_enabled() ) {
- supports( 'refunds' ) ) : ?>
-
-
-
+ ' . wc_price( 0, array( 'currency' => $order->get_order_currency() ) ) . '';
+ $gateway_supports_refunds = false !== $payment_gateway && $payment_gateway->supports( 'refunds' );
+ $gateway_name = false !== $payment_gateway ? ( ! empty( $payment_gateway->method_title ) ? $payment_gateway->method_title : $payment_gateway->get_title() ) : __( 'Payment Gateway', 'woocommerce' );
+ ?>
+
+