adapted PayIn/DbTransaction to new model