this should be $order->get_total();