Add total() to both secrets and orders.