Save a transaction