Body: <p>We're trying to create online receipts for Memberships, Contributions and Events and we would like to include the contribution source, and payment instrument for in the receipts. The question is, is this possible? Since, the tokens that we're seeing in the message templates editor are only for contact, address, additional information, and some information from profiles that we made.</p>
  
  <p>We're using CiviCRM 4.7.22.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-09T20:32:45.817Z
Comments.Text: You might try looking at the tokens available in the thank-you letter process for contributions - certain tokens are only accessible in certain areas of Civi, and you'll see more of the contribution tokens there (which you can then utilize in the receipt templates, which - assuming you're sending them out the standard way - should be able to use them).
Comments.UserDisplayName: Lesley Carter - BackOffice
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-09T21:32:56.880Z
Comments.Text: You're right! Contribution tokens are available for thank you letters. I've tried using those tokens in our receipt template but they don't return any values. I think that it isn't really possible to use Contribution tokens in receipt templates. Might as well submit a feature request for this.
Comments.UserDisplayName: Rupert Raphael Amodia
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-12T13:29:55.937Z
Comments.Text: Are you referring to the receipt templates already in Civi (under System Workflows) or other templates?
Comments.UserDisplayName: Lesley Carter - BackOffice
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-16T22:32:06.293Z
Comments.Text: @LesleyCarter-BackOffice, in other templates.
Comments.UserDisplayName: Rupert Raphael Amodia
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-27T14:34:22.257Z
Comments.Text: How would you be using these differently than the standard receipt templates for online transactions already included with Civi?
Comments.UserDisplayName: Lesley Carter - BackOffice
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-28T21:57:23.977Z
Comments.Text: I'm sorry, under system workflows, actually. Anyways, we've modified some core code so that we could include the contribution source and payment instrument in the receipt template.
Comments.UserDisplayName: Rupert Raphael Amodia
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-29T16:07:53.600Z
Comments.Text: I hope that by "modified some core code" you actually mean you added a customization and didn't modify the core codebase directly... :-)  Glad you identified the correct tokens though!
Comments.UserDisplayName: Lesley Carter - BackOffice
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-29T21:46:11.710Z
Comments.Text: That's funny cuz we kinda did. But, the original core files are intact we just copied it, created a symlink, and edited the file w/ the symlink. Not really a best practice right? 
Comments.UserDisplayName: Rupert Raphael Amodia
Tags: <civicontribute><contributions><tokens><receipts>
Title: Contribution tokens for receipts
ThreadText: # Contribution tokens for receipts
  
  (Asked by: username_0 on 2018-11-08)
  
  We're trying to create online receipts for Memberships, Contributions and Events and we would like to include the contribution source, and payment instrument for in the receipts. The question is, is this possible? Since, the tokens that we're seeing in the message templates editor are only for contact, address, additional information, and some information from profiles that we made.
  
  We're using CiviCRM 4.7.22.
  
  **Tags:** civicontribute, contributions, tokens, receipts
  
  > **Comments:**
  > **username_1**: You might try looking at the tokens available in the thank-you letter process for contributions - certain tokens are only accessible in certain areas of Civi, and you'll see more of the contribution tokens there (which you can then utilize in the receipt templates, which - assuming you're sending them out the standard way - should be able to use them).  
  > **username_0**: You're right! Contribution tokens are available for thank you letters. I've tried using those tokens in our receipt template but they don't return any values. I think that it isn't really possible to use Contribution tokens in receipt templates. Might as well submit a feature request for this.  
  > **username_1**: Are you referring to the receipt templates already in Civi (under System Workflows) or other templates?  
  > **username_0**: @LesleyCarter-BackOffice, in other templates.  
  > **username_1**: How would you be using these differently than the standard receipt templates for online transactions already included with Civi?  
  > **username_0**: I'm sorry, under system workflows, actually. Anyways, we've modified some core code so that we could include the contribution source and payment instrument in the receipt template.  
  > **username_1**: I hope that by "modified some core code" you actually mean you added a customization and didn't modify the core codebase directly... :-)  Glad you identified the correct tokens though!  
  > **username_0**: That's funny cuz we kinda did. But, the original core files are intact we just copied it, created a symlink, and edited the file w/ the symlink. Not really a best practice right?   
  
  ---
  
  ## 0 answers
  
  