The refund displays the minus amount if tax is enabled

Thanks, we’ll fix this in the next update. The issue is with line 2282 in hivepress-marketplace/includes/components/class-marketplace.php file:

$rows['order_total']['value'] = wc_price( $order->get_total() - $order->get_total_tax() - $order->get_total_refunded() );

It should be changed to:

$rows['order_total']['value'] = wc_price( $order->get_total() - $order->get_total_refunded() );

This affected the order table display only and shouldn’t affect the actual calculation of the vendor earnings.

1 Like