store: Split common transaction handling to ta_common.