WordPress.org

Ready to get started?Download WordPress

Forums

WP Stripe
[resolved] Send Email To User (6 posts)

  1. Tomanow
    Member
    Posted 2 years ago #

    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,
    Tom

    http://wordpress.org/extend/plugins/wp-stripe/

  2. Noel Tock
    Human Made
    Plugin Author

    Posted 2 years ago #

    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!

  3. philtastic
    Member
    Posted 1 year ago #

    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).

    Thanks,

    Phil.

  4. lpruitt87
    Member
    Posted 1 year ago #

    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 :)

  5. Dave
    Member
    Posted 1 year ago #

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

  6. Philip Newcomer
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags