Support » Plugin: WP Stripe » [Plugin: WP Stripe] Send Email To User

  • Resolved Tomanow


    Hey Noel, I’m loving this plugin. I have heavily modified it to become a registration form for an event that saves the values to a database. It also dynamically updates the total based on user choices. I just have a rather simple question: How do I make it email the user a confirmation with the form data they have filled out? Will changing the form action break it?

    Thanks in advance,

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Noel Tock


    Human Made

    Hey Tom, you’d have to drop in wp_mail after $response on line 134 of stripe-functions.php, this way you can include any sort of details from the charge too. Cheers!

    Hi Noel,

    I am trying to include email confirmations, as well, but I’m a little confused. When you say “drop in wp_mail after $response on line 134 of stripe-functions.php” do you mean replace this:

    $response = wp_stripe_charge($amount, $card, $name, $stripe_comment);

    With this:

    $response = wp_mail($amount, $card, $name, $stripe_comment);

    Also, this is line 136 in version 1.4.6 (I hope I’m looking in the right place).



    Hi! Was this question actually resolved? I tried doing what was suggested above and had no success with the email being sent after the transaction. Any help would be VERY appreciated! Thanks 🙂

    Has anyone had success implementing the confirmation email? Been trying to figure this out..

    If anyone still needs a solution for sending email receipts to their users, I’ve just released a plugin that provides that functionality: WP Stripe Email Receipts

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP Stripe] Send Email To User’ is closed to new replies.