How to show a single value from a meteor collection in a template?

Try wrapping your subscribe call in an autorun to make sure your subscription is adjusted when your transactionid parameter changes. For example:

Template.MainTransac.onCreated(function () { 
  this.autorun(() => {
    this.subscribe('getTransaction', Router.current().params.transactionid); 
  });
});