• Resolved crystalbyrdfarmer

    (@crystalbyrdfarmer)


    I would like the message to the admin to show the new user’s email address and/or user id. This is not possible in the custom message I set up in Settings. I saw that there is a filter for the content but I’m not sure how to use it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @crystalbyrdfarmer ,

    Thank you for using Direct Stripe.

    There is a basic example of how to use email filters at https://gist.github.com/New0/b9a7fa9aef591fd04bd41dd57b5b6083

    Let me know if you need any more help with the filter.

    Kind regards,

    Thread Starter crystalbyrdfarmer

    (@crystalbyrdfarmer)

    Thank you!

    Hi Nicolas.

    Thanks for all your great work to provide such a helpful plugin.

    I would like to provide some more information to the admin and the user after paying for a product. Could you please get a little more detailed about the email filters?

    Where would I enter the filter code? functions.php?
    Will the filter be embedded automatically so that it is ready to work when a user will make a successful payment and an email will be triggered?
    If I want to use a similar filter for the email to the user, what would I need to change in the filter?

    Sorry, I’m not that skilled in hooks, actions, and filters. The more I would appreciate some help.

    Best.
    Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Admin Email’ is closed to new replies.