Title: Customizing [give_receipt] fields
Last modified: March 20, 2018

---

# Customizing [give_receipt] fields

 *  Resolved [harrahdrums](https://wordpress.org/support/users/harrahdrums/)
 * (@harrahdrums)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/customizing-give_receipt-fields/)
 * Hello,
 * I have been able to add a custom form field to my donation form, as well as save
   the data from the form field. I can access my data in other functions I’ve made,
   so I know it’s there.
 * However, for the life of me I can’t find what I need to filter or hook into in
   order to add the data from that custom field to the end of the Donation Confirmation(
   I’m using the shortcode receipt) receipt table so my donors can see that we really
   did get the input from that field.
 * Anything will be immensely helpful. Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustomizing-give_receipt-fields%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Devin Walker](https://wordpress.org/support/users/dlocc/)
 * (@dlocc)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/customizing-give_receipt-fields/#post-10093433)
 * Hey [@harrahdrums](https://wordpress.org/support/users/harrahdrums/),
 * I’m happy to hear you added those fields properly. I just put together the following
   snippet that should help you on your way: [https://github.com/WordImpress/Give-Snippet-Library/blob/master/customized-templates/add-receipt-row.php](https://github.com/WordImpress/Give-Snippet-Library/blob/master/customized-templates/add-receipt-row.php)
 * This shows how to add a generic receipt row to the receipt table. You can then
   customize it to display the data you need from the database according to how 
   your fields are named and where the data is stored.
 * I hope this helps! Let me know if you have any other questions.
 *  Thread Starter [harrahdrums](https://wordpress.org/support/users/harrahdrums/)
 * (@harrahdrums)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/customizing-give_receipt-fields/#post-10093463)
 * Okay, fantastic! That works now. After getting it to work, I realized that I 
   was trying to pass the `$payment_id` back instead of the full `$payment` then
   querying the meta data with the id. That’s really what it came down to.
 * This line is what tipped me off to my mistake.
    [https://github.com/WordImpress/Give-Snippet-Library/blob/a7b5f1f7424e1e62bdf0bcac8d92d6d78575e6cb/customized-templates/add-receipt-row.php#L15](https://github.com/WordImpress/Give-Snippet-Library/blob/a7b5f1f7424e1e62bdf0bcac8d92d6d78575e6cb/customized-templates/add-receipt-row.php#L15)
 * Thanks so much!
 *  Plugin Contributor [Devin Walker](https://wordpress.org/support/users/dlocc/)
 * (@dlocc)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/customizing-give_receipt-fields/#post-10093513)
 * Glad I could point you in the right direction [@harrahdrums](https://wordpress.org/support/users/harrahdrums/)!
   If you have a moment please consider rating our plugin: [https://wordpress.org/support/plugin/give/reviews/](https://wordpress.org/support/plugin/give/reviews/)
 * Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Customizing [give_receipt] fields’ is closed to new replies.

 * ![](https://ps.w.org/give/assets/icon-256x256.jpg?rev=2873287)
 * [GiveWP - Donation Plugin and Fundraising Platform](https://wordpress.org/plugins/give/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/give/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/give/)
 * [Active Topics](https://wordpress.org/support/plugin/give/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/give/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/give/reviews/)

## Tags

 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)
 * [receipt](https://wordpress.org/support/topic-tag/receipt/)

 * 3 replies
 * 2 participants
 * Last reply from: [Devin Walker](https://wordpress.org/support/users/dlocc/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/customizing-give_receipt-fields/#post-10093513)
 * Status: resolved