Title: Email fields
Last modified: June 17, 2017

---

# Email fields

 *  [funsail](https://wordpress.org/support/users/funsail/)
 * (@funsail)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/email-fields-2/)
 * How can you include the product info in emails?

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

 *  Plugin Author [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * (@nahuelmahe)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/email-fields-2/#post-9244201)
 * Hello [@funsail](https://wordpress.org/support/users/funsail/),
 * Thank you for using Direct Stripe.
 * You can use the filter hooks :
 * ‘direct_stripe_success_user_email_content’
    ‘direct_stripe_error_user_email_content’‘
   direct_stripe_success_admin_email_content’ ‘direct_stripe_success_user_email_content’
 * Here are the variables you can retrieve :
    1.$token, 2.$amount, 3.$currency, 
   4.$email_address, 5.$description, 6.$user_id, 7.$button_id
 * Best regards
 *  Thread Starter [funsail](https://wordpress.org/support/users/funsail/)
 * (@funsail)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/email-fields-2/#post-9244218)
 * So I need to do this in code, I can’t enter these into the plugin email fields?
 *  Plugin Author [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * (@nahuelmahe)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/email-fields-2/#post-9244349)
 * Hello [@funsail](https://wordpress.org/support/users/funsail/),
 * I guess you need to retrieve per button information so that’s not possible in
   the general option right now.
 * Best regards,
 *  Thread Starter [funsail](https://wordpress.org/support/users/funsail/)
 * (@funsail)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/email-fields-2/#post-9244429)
 * Yes, because the email needs to be useful telling what they bought and how much
   it’ll show on their credit card
 *  Thread Starter [funsail](https://wordpress.org/support/users/funsail/)
 * (@funsail)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/email-fields-2/#post-9260765)
 * I guess can I ask you to add in new version, in wp-admin/admin.php?page=direct_stripe&
   tab=emails
 * If you can add variables to that field it would be great.
 * Or it could be added in the stripe button shortcode. Either way is great.

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

The topic ‘Email fields’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/direct-stripe_7787ff.svg)
 * [Direct Stripe](https://wordpress.org/plugins/direct-stripe/)
 * [Support Threads](https://wordpress.org/support/plugin/direct-stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/direct-stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/direct-stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/direct-stripe/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [funsail](https://wordpress.org/support/users/funsail/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/email-fields-2/#post-9260765)
 * Status: not resolved