Answers.Body: <p>I don't think the receipt template for off-line contributions includes the tokens/code to pull in the custom fields. You might want to compare your templates for each - <a href="https://www.domain.com/civicrm/admin/messageTemplates?reset=1" rel="nofollow noreferrer">https://www.domain.com/civicrm/admin/messageTemplates?reset=1</a> and select System Workflow Messages - and compare the two. Then you can attempt copying/pasting in code from the online template and test the email that goes out.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-22T12:10:17.600Z
Answers.Text: Thanks! Receipt template for off-line contribution includes code to pull custom fields. And if I sent the email while creating off-line contribution (With the checkbox to send receipts be checked) its working as expected. This issue occurs only when I need to resent the receipt or download PDF of receipts (Using find contributions) then the email or PDF does not contain custom fields.
Answers.UserDisplayName: madhavi malgaonkar
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-22T04:55:35.630Z
Answers.LastActivityDate: 2019-01-22T04:55:35.630Z
Answers.UserDisplayName: Jenni Simonis
Body: <p>Currently using CiviCRM 5.9.1 and drupal 7.63</p>
  
  <p>Contribution receipts works as expected if the checkbox to send receipt is checked while creating offline contribution. Receipts for offline contributions sent from <code>Print Contribution Receipts</code> task does not contain custom fields added for contribution.</p>
  
  <p><strong>Steps to reproduce issue:</strong></p>
  
  <ol>
  <li>Add custom fields of your choice for Contributions.</li>
  <li>Create an offline contribution.</li>
  <li>Go to <code>Find contribution</code> and select the contribution and select the option of <code>Receipts Print or Email</code> this will send email for the selected contributions.</li>
  <li>Check the receipt received and see if you get Contribution related
  custom fields in the email.</li>
  </ol>
  
  <p>Anyone is facing this issue?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-21T13:06:53.967Z
Comments.Text: Can you please try your use case on https://dmaster.demo.civicrm.org/ ?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-22T11:59:47.683Z
Comments.Text: Tried same steps on demo site and able to replicate the issue.
Comments.UserDisplayName: madhavi malgaonkar
Tags: <civicontribute><custom-fields>
Title: Offline Contribution receipts does not contain custom fields information
ThreadText: # Offline Contribution receipts does not contain custom fields information
  
  (Asked by: username_0 on 2019-01-21)
  
  Currently using CiviCRM 5.9.1 and drupal 7.63
  
  Contribution receipts works as expected if the checkbox to send receipt is checked while creating offline contribution. Receipts for offline contributions sent from `Print Contribution Receipts` task does not contain custom fields added for contribution.
  
  **Steps to reproduce issue:**
  
  1. Add custom fields of your choice for Contributions.
  2. Create an offline contribution.
  3. Go to `Find contribution` and select the contribution and select the option of `Receipts Print or Email` this will send email for the selected contributions.
  4. Check the receipt received and see if you get Contribution related
     custom fields in the email.
  
  Anyone is facing this issue?
  
  **Tags:** civicontribute, custom-fields
  
  > **Comments:**
  > **username_1**: Can you please try your use case on https://dmaster.demo.civicrm.org/ ?  
  > **username_0**: Tried same steps on demo site and able to replicate the issue.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-01-22. Score: 1
  
  I don't think the receipt template for off-line contributions includes the tokens/code to pull in the custom fields. You might want to compare your templates for each - <https://www.domain.com/civicrm/admin/messageTemplates?reset=1> and select System Workflow Messages - and compare the two. Then you can attempt copying/pasting in code from the online template and test the email that goes out.
  
  > **Comments:**
  > **username_0**: Thanks! Receipt template for off-line contribution includes code to pull custom fields. And if I sent the email while creating off-line contribution (With the checkbox to send receipts be checked) its working as expected. This issue occurs only when I need to resent the receipt or download PDF of receipts (Using find contributions) then the email or PDF does not contain custom fields.  
  
  ---
  
  