Body: <p>Since some update in the 4.x line we do not get the Transaction # from contributions in the message template anymore. This happens although the ID gets recorded in the DB correctly.</p>
  
  <p>This is the part that never gets executed because $trxn_id is empty ($is_monetary = 1).</p>
  
  <pre><code>{if $is_monetary and $trxn_id}
    &lt;tr&gt;
      &lt;td {$labelStyle}&gt;
        {ts}Transaction #{/ts}
      &lt;/td&gt;
      &lt;td {$valueStyle}&gt;
        {$trxn_id}
      &lt;/td&gt;
    &lt;/tr&gt;
  {/if}
  </code></pre>
  
  <p>We use the PayflowPRO processor (modified).</p>
  
  <p>Any ideas?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-22T18:48:42.480Z
Comments.Text: not clear what version you mean? 4.4.x? 4.7.x? something else?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-24T08:51:49.370Z
Comments.Text: i am on the latest version, 4.7.4
Comments.UserDisplayName: axTHO
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-24T18:15:49.533Z
Comments.Text: and you are using the Default Template?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-05-02T08:02:26.120Z
Comments.Text: No, I am using my own. But at the point as quoted above there is no difference. I have upgraded to v.4.7.6 already and the issue still remains.
  
  Also: I have tried the default Payflow Pro processor, just to exclude the possibility that it has something to do with our mods. But that did not do anything either.
Comments.UserDisplayName: axTHO
Tags: <contributions><message-templates>
Title: Contributions - Receipt (on-line) Transaction # in Message Template missing
ThreadText: # Contributions - Receipt (on-line) Transaction # in Message Template missing
  
  (Asked by: username_0 on 2016-03-22)
  
  Since some update in the 4.x line we do not get the Transaction # from contributions in the message template anymore. This happens although the ID gets recorded in the DB correctly.
  This is the part that never gets executed because $trxn_id is empty ($is_monetary = 1).
  {if $is_monetary and $trxn_id}
    
      
        {ts}Transaction #{/ts}
      
      
        {$trxn_id}
      
    
  {/if}
  
  We use the PayflowPRO processor (modified).
  Any ideas?
  
  **Tags:** contributions, message-templates
  
  > **Comments:**
  > **username_1**: not clear what version you mean? 4.4.x? 4.7.x? something else?  
  > **username_0**: i am on the latest version, 4.7.4  
  > **username_1**: and you are using the Default Template?  
  > **username_0**: No, I am using my own. But at the point as quoted above there is no difference. I have upgraded to v.4.7.6 already and the issue still remains.  Also: I have tried the default Payflow Pro processor, just to exclude the possibility that it has something to do with our mods. But that did not do anything either.  
  
  ---
  
  ## 0 answers
  
  