• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Payments Plugin for Stripe

Stripe payment plugins for your WordPress site

  • Home
  • Documentation
  • Addons
  • Login
    • Sign In
    • Edit Profile
    • Terms & Conditions
    • My Downloads
    • License Key
  • Support
    • Support Forum
    • Forum Search
    • Forum Login
    • Forum Registration
    • Email Support for Customers
  • Contact Us
  • Show Search
Hide Search
You are here: Home / Topics / Include name in email to buyer

[Resolved] Include name in email to buyer

· ·

Home › Forums › Stripe Payments Plugin › Include name in email to buyer

  • This topic has 5 replies, 3 voices, and was last updated 6 years, 12 months ago by Admin.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • May 13, 2018 at 12:15 am #829
    Admin
    Keymaster

    Perhaps I’ve just missed something basic: is there really no tag to put into the custom email for the buyer to include in the salutation; something like:
    Dear {payer_first_name} {payer_last_name}

    I realize I can use their email address, but that isn’t the best customer experience.

    May 13, 2018 at 6:33 am #831
    Admin
    Keymaster

    Stripe doesn’t collect the customer name for normal checkout. It is only collected with the address field (if you enable address collection). This name value is not present at all on transactions without address field collection. So we didn’t create a tag for it.

    You can get the name with the address field if you use the address merge tag. For example: {billing_address}

    Maybe we can add a merge tag for “customer name” which will only work when the address field collection is enabled. Will that work for you?

    May 13, 2018 at 9:50 pm #834
    Admin
    Keymaster

    Well, the billing_address tag has more than just the name, and it isn’t really parseable.

    It’s easy enough to create a payer_name attribute that is set from stripeBillingName or if that isn’t present, stripeEmailAddress. I did that in my site. Is there a github or something else for this? I’d be happy to submit a formal patch.

    May 14, 2018 at 12:18 am #835
    Admin
    Keymaster

    Yes, we have a github repository for the plugin. You can create a pull request here:

    https://github.com/Arsenal21/stripe-payments

    June 5, 2018 at 3:39 am #1000
    Admin
    Keymaster

    hi

    i really want this feature so I can use the donor’s name in the thank you page and the email.

    can you please create that “customer name” merge tag as you mentioned above? ideally first and last name separate!

    thank you so much in advance!!

    June 6, 2018 at 12:40 pm #1021
    Admin
    Keymaster

    The {customer_name} email merge tag has been added in the latest release of the plugin. We have updated the documentation for it:

    Email Merge Tags (Email Shortcodes) for Email Customization

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Primary Sidebar

Featured Addons and Extensions

  • Subscription Payments Addon
  • Additional Custom Fields
  • Secure Downloads Addon
  • Apple Pay, Google Pay, Afterpay

Addon Bundle

Stripe Payments Addon Bundle

A Simple & Lightweight Plugin

Our Philosophy with the Plugin

Support Links

  • Support Forum
  • Support Contact

Search

Copyright © 2025 | Stripe Plugins | A member of the Tips and Tricks HQ family.