Fix unpaid order error