🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Thanks Mail for Stripe icon
Actively maintained Tested with WP 7.1

Thanks Mail for Stripe

Automatically send thank-you emails when Stripe Payment Links purchases are completed. Supports Japanese and English with customizable templates.

Active installs20+10+ tier
Downloads · 30d119▲ +11.2% vs prev. 30d
Rating—0 reviews
Health score63/100Good
All-time downloads994Since Feb 2026
Support resolved—No recent threads
RequiresWP 5.0PHP 7.4+
Downloads · 7d25▼ -13.8% week over week
Our verdict

Solid choice

Thanks Mail for Stripe is a solid plugin choice in 2026, with a few things worth checking first. It runs on 20+ sites and was last updated 2 months ago, and scores 63/100 on our health check.

  • Tested with the latest WordPress (7.1)
  • Small user base (20+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

91929Sep 6Oct 20Dec 4
Yesterday8
Daily average (1y)3
Peak day39Oct 2, 2026
Last 12 months995

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Thanks Mail for Stripe stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
email >100 10,000 Best email plugins →
Notifications >100 10,000 Best Notifications plugins →
payment >100 10,000 Best payment plugins →
stripe >100 2,350 Best stripe plugins →
webhook >100 4,089 Best webhook plugins →

Version adoption

Share of active sites per release.

  • 1.2100.0%

About Thanks Mail for Stripe

From the official readme · v1.2.1

Description

Thanks Mail for Stripe is a lightweight plugin that automatically sends customized thank-you emails to customers after they complete a purchase through Stripe Payment Links. Perfect for digital product sales, software licensing, and service businesses.

👉 Setup guide & developer’s notes: Why I built this and how to set up Stripe webhooks

No external services required – works directly with Stripe Webhooks

This plugin receives Stripe webhook events directly and sends emails using WordPress’s built-in mail function. No Zapier, Make, or other third-party automation services needed.

Key Features

  • Automatic Email Sending – Sends thank-you emails automatically via Stripe Webhook
  • Multi-language Support – Up to 100 customizable email templates with locale settings
  • Smart Language Detection – Automatically detects customer language from Payment Link ID or locale
  • Customizable Templates – Fully customizable email subject and body with placeholders
  • Custom Sender Settings – Set custom From email address and sender name
  • Duplicate Prevention – Built-in idempotency prevents sending duplicate emails
  • Test Email Function – Send test emails to verify your settings before going live
  • Email Log – View history of sent emails in the admin panel
  • Secure Webhook Verification – Validates Stripe webhook signatures (HMAC-SHA256)

How It Works

  1. Customer makes a purchase via your Stripe Payment Link
  2. Stripe sends a webhook event to your WordPress site
  3. Plugin verifies the webhook signature for security
  4. Plugin detects customer language based on Payment Link ID
  5. Thank-you email is sent to the customer using wp_mail()
  6. Transaction is logged to prevent duplicate sends on retries

Use Cases

  • Digital product sales (software, ebooks, courses)
  • Software license key distribution (manual follow-up)
  • Service booking confirmations
  • Donation thank-you messages
  • Any Stripe Payment Links checkout

Requirements

  • WordPress 5.0 or higher
  • PHP 7.4 or higher
  • Stripe account with Payment Links
  • SSL certificate (HTTPS) – required for webhooks
  • SMTP plugin recommended for reliable email delivery

Email Sender Best Practices

Important: Always use your own domain email address as the “From Email” setting.

  • Good: info@yoursite.com, support@yoursite.com
  • Bad: yourname@gmail.com, yourname@yahoo.com

Using Gmail or other free email services as the sender will cause delivery failures due to SPF/DKIM/DMARC authentication. Your server is not authorized to send emails on behalf of Gmail.

You CAN use any email address (including Gmail) for the “Reply-To” setting – this only affects where replies go, not email deliverability.

Recommended SMTP Plugins

For reliable email delivery, we recommend using an SMTP plugin:

  • WP Mail SMTP
  • Post SMTP
  • FluentSMTP

These plugins send emails through a proper SMTP server instead of PHP’s mail() function, improving deliverability.

Test vs Live Mode

Remember to update your settings when switching from test to live mode:

  • Webhook Signing Secret – Test and Live have different secrets (whsec_…)
  • Payment Link IDs – Test and Live have different IDs (plink_…)
  • Webhook Endpoints – Register endpoints in both Test and Live mode in Stripe Dashboard

Security Best Practices

  • The plugin verifies Stripe webhook signatures using HMAC-SHA256
  • Webhook requests are validated within a 5-minute tolerance window
  • Session IDs are stored to prevent duplicate email sends
  • All settings are properly sanitized and escaped

Available Filter Hooks

The plugin provides filter hooks for customization:

  • tmfs_email_headers – Modify email headers before sending
  • tmfs_email_subject – Customize email subject
  • tmfs_email_body – Customize email body
  • tmfs_detect_language – Override language detection logic

Example: Add CC to emails

add_filter( 'tmfs_email_headers', function( $headers, $to, $lang, $session_id ) {
    $headers[] = 'Cc: sales@example.com';
    return $headers;
}, 10, 4 );

Example: Custom language detection

add_filter( 'tmfs_detect_language', function( $lang, $session ) {
    // Return a template index as a string: '0' is the first template
    // in the settings screen, '1' the second, and so on.
    $email = strtolower( $session['customer_details']['email'] ?? '' );
    if ( substr( $email, -3 ) === '.jp' ) {
        return '1';
    }
    return $lang;
}, 10, 2 );

Since 1.1.0 this filter receives and returns a template index, not a language code. Returning 'ja' or 'en' selects the first template.

Database Table

The plugin creates a table {prefix}tmfs_sent_emails to track sent emails:

  • id – Auto-increment ID
  • session_id – Stripe Checkout Session ID (unique)
  • email – Customer email address
  • lang – Index of the template used (“0” = first template)
  • product_name – Reserved for future use (currently empty)
  • amount – Purchase amount
  • sent_at – Timestamp when email was sent

Troubleshooting Webhook Issues

If webhooks aren’t working, check these common issues:

  1. SSL Certificate – Stripe requires HTTPS for webhooks
  2. Webhook URL – Make sure the URL is correct and accessible
  3. Signing Secret – Verify you’re using the correct secret for test/live mode
  4. Server Firewall – Some hosts block requests from overseas IPs
  5. Security Plugins – May block REST API endpoints
  6. WAF Rules – Server-level WAF may block webhook requests

Check Stripe Dashboard > Developers > Webhooks for detailed error logs.

Data & Privacy

This plugin stores email delivery logs in your WordPress database to prevent duplicate sending and allow administrators to verify delivery history. No data is transmitted to external services by this plugin.

What Data Is Stored

The plugin stores the following data in a custom database table ({prefix}tmfs_sent_emails):

  • session_id – Stripe Checkout Session ID (used as unique key for duplicate prevention)
  • email – Customer email address (to confirm which customer received the email)
  • lang – Index of the template used, “0” for the first (to record which template was sent)
  • product_name – Product name (reserved for future use)
  • amount – Purchase amount and currency (for administrator reference)
  • sent_at – Timestamp when the email was sent

Additionally, plugin settings (webhook secret, email templates, Payment Link IDs, etc.) are stored in the wp_options table under the key tmfs_settings, and the log table’s schema version under tmfs_db_version.

Purpose

  • Duplicate prevention – Stripe may retry webhook events; the session ID prevents sending the same email twice
  • Delivery confirmation – Administrators can verify that emails were sent to the correct address
  • Customer support – Transaction reference for handling customer inquiries

Data Retention

  • Email logs are stored indefinitely by default
  • Records for a given email address can be deleted with Tools > Erase Personal Data
  • All data (logs and settings) is automatically removed when uninstalling the plugin via the WordPress admin

External Services

  • This plugin receives incoming webhook events from Stripe – it does not make outbound API calls to Stripe
  • No customer data is sent to any third-party service by this plugin
  • Emails are sent using WordPress’s built-in wp_mail() function (delivery depends on your server or SMTP plugin configuration)

GDPR Considerations

  • Customer email addresses are stored for the legitimate business purpose of preventing duplicate emails and maintaining delivery records
  • You should disclose this data storage in your site’s privacy policy
  • Logged data for an email address can be exported and erased with WordPress’s built-in privacy tools (Tools > Export Personal Data / Erase Personal Data)
  • Erasing a customer’s records also removes the duplicate guard for those purchases, so a manual redelivery of that event from Stripe would send the email again

Installation

  1. Upload the thanks-mail-for-stripe folder to the /wp-content/plugins/ directory
  2. Activate the plugin via the ‘Plugins’ menu in WordPress
  3. Go to Settings > Thanks Mail for Stripe to configure
  4. Copy the Webhook URL and register it in Stripe Dashboard
  5. Enter your Webhook Signing Secret from Stripe
  6. Configure your Payment Link IDs for language detection
  7. Customize your email templates
  8. Send a test email to verify your settings

Stripe Dashboard Setup

  1. Go to Stripe Dashboard > Developers > Webhooks
  2. Click “Add endpoint”
  3. Paste the Webhook URL from the plugin settings
  4. Select events: checkout.session.completed and checkout.session.async_payment_succeeded
  5. Copy the Signing Secret and paste it in the plugin settings

Changelog

Fixes rate limiting that could reject genuine Stripe webhooks, possible duplicate sends, and JPY amounts in the log. Adds an optional setting for free (no-payment) purchases.

1.2.1

  • New: “Free purchases” setting – optionally send the email for checkouts that needed no payment (100% discount codes, free trials). Off by default
  • New: Sent-email log is available to Tools > Export Personal Data and Erase Personal Data
  • Fixed: Webhook rate limiting could reject genuine Stripe deliveries (several events per sale, or all requests sharing one IP behind a proxy). Only failed signature checks are now counted
  • Fixed: Two copies of the same event arriving at once could send the email twice
  • Fixed: Amounts in zero-decimal currencies such as JPY were logged 100 times too small (JPY 1000 showed as “JPY 10.00”). Existing log rows are not changed
  • Fixed: Clearing a category name while renaming it removed that category from every template
  • Fixed: “Reset to default” on a template cleared its Payment Link ID, and on templates after #2 emptied the template so it was deleted on save. It now replaces only the subject and body
  • Fixed: Test email used the saved template, so unsaved edits and newly added templates were not what got sent
  • Fixed: Copy button did nothing on admin screens served over plain HTTP
  • Fixed: Templates with only a body were deleted on save
  • Improved: The log table is created automatically if missing (e.g. multisite subsites added after network activation)
  • Improved: Signed events missing session data or an email address answer 200, so Stripe stops retrying them
  • Improved: Log shows the template name, full Session ID and a localized date
  • Improved: Warning before leaving the settings page with unsaved changes
  • Improved: Clearer explanations of how a template is chosen, what disabling does, and what Reset Settings clears
  • Docs: Fixed the tmfs_detect_language example (it must return a template index) and outdated table/option names
  • Changed: Translations are no longer bundled; WordPress.org language packs are used. Strings added in this release show in English until their translation is published on translate.wordpress.org
  • Tested up to WordPress 7.1

1.2.0

  • New: Configure up to 100 email templates (raised from 10)
  • New: Template categories – define a managed category list and assign each template to one; renaming a category propagates to all templates that use it
  • New: Search templates by name, category, locale, Payment Link ID, subject, or body
  • New: Filter templates by category
  • New: Collapse / expand individual templates, plus expand-all / collapse-all controls
  • New: Pagination for large template lists (10 per page)
  • New: Reorder templates with move up / move down buttons
  • New: Duplicate (copy) a template with one click
  • Improved: Settings data migrated automatically (category IDs assigned on save)

1.1.2

  • Tested and verified compatible with WordPress 7.0 (verified on WordPress 7.0 RC with PHP 8.3)
  • Updated “Tested up to” to WordPress 7.0
  • No functional code changes

1.1.1

  • Updated Plugin URI to new plugin page (https://raplsworks.com/plugins/thanks-mail-for-stripe/)

1.1.0

  • New: Dynamic email templates – configure 1 to 10 templates with add/remove buttons
  • New: Each template has its own label, locale setting, Payment Link ID, subject, and body
  • New: Per-template reset button to restore default values
  • New: Templates are matched to Stripe webhooks via Payment Link ID or locale fallback
  • Improved: Settings data migrated automatically from flat keys to array format
  • Breaking: tmfs_detect_language filter now returns template index (string) instead of language code

1.0.4

  • Fixed: Renamed all internal prefixes from stm_ to tmfs_ (option name, table name, settings group, transient keys, JS global variable) to meet WordPress.org 4-character minimum prefix requirement
  • Fixed: Plugin URI restored after page publication

Full changelog on WordPress.org →

Screenshots

Settings page - Configure Stripe webhook and email sender settings
Settings page - Configure Stripe webhook and email sender settings
Email templates - Customize email content
Email templates - Customize email content
Test email - Send test emails to verify configuration
Test email - Send test emails to verify configuration
Email log - View history of sent thank-you emails
Email log - View history of sent thank-you emails

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Thanks Mail for Stripe alternatives

All email plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WP Mail SMTP by WPForms – SMTP for Reliable Email Delivery with Gmail, Outlook, Amazon SES, Brevo, Other SMTP & More WP Mail SMTP by WPForms Make email delivery easy for WordPress. Connect with SMTP, Gmail, Brevo, SendGrid, Amazon… by Syed Balkhi 4M+ ★★★★★★★★★★ 4.8 (5.2K) 2 weeks ago 97
2 MC4WP: Mailchimp for WordPress MC4WP: Mailchimp for WordPress The #1 Mailchimp plugin for WordPress. Allows you to add a multitude of newsletter sign-up… by Danny van Kooten 1M+ ★★★★★★★★★★ 4.8 (1.5K) 1 month ago 88
3 Easy WP SMTP – WordPress SMTP and Email Logs: Gmail SMTP, Office 365, Outlook, Custom SMTP, and more Easy WP SMTP Make SMTP email sending and delivery easy. Configure Gmail SMTP, Outlook, Brevo, SendGrid… by Syed Balkhi 500K+ ★★★★★★★★★★ 4.6 (710) 4 months ago 85
4 WP Mail Logging WP Mail Logging Log, view, and resend all emails sent from your WordPress site. Great for resolving email… by Syed Balkhi 300K+ ★★★★★★★★★★ 4.7 (383) 2 months ago 92
5 Mailchimp for WooCommerce Mailchimp for WooCommerce Connect your store to your Mailchimp audience to track sales, create targeted emails, send… by Mailchimp 200K+ ★★★★★★★★★★ 4 (726) 2 weeks ago 88
6 Site Mailer – SMTP Replacement, Email API Deliverability & Email Log Site Mailer Effortlessly manage transactional emails with Email Deliverability. High deliverability… by Elementor 200K+ ★★★★★★★★★★ 2.5 (17) 2 weeks ago 61
7 SureMail – SMTP and Email Logs Plugin with Amazon SES, Postmark, and Other Providers SureMail SureMail – SMTP and Email Logs Plugin with Amazon SES, Postmark, and Other Providers by Brainstorm Force 200K+ ★★★★★★★★★★ 4.7 (25) 1 week ago 80
8 Manage Notification E-mails Manage Notification E-mails Enable and disable email notifications that WordPress sends to the admin and user. Works… by 3D Virge 100K+ ★★★★★★★★★★ 4.8 (56) 2 months ago 76
9 Klaviyo Klaviyo Klaviyo for WooCommerce by klaviyo 100K+ ★★★★★★★★★★ 2.8 (24) 2 days ago 78
10 Check & Log Email – Easy Email Testing & Mail logging Check & Log Email – Easy Email Testing & Mail logging Check & Log email allows you to test if your website is correctly sending emails… by checkemail 90K+ ★★★★★★★★★★ 4.8 (293) 2 weeks ago 80

FAQ

Thanks Mail for Stripe: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Thanks Mail for Stripe free?

Yes. Thanks Mail for Stripe is free to download and use from the official WordPress.org plugin directory.

Is Thanks Mail for Stripe safe to use in 2026?

Thanks Mail for Stripe is a solid plugin choice in 2026, with a few things worth checking first. It runs on 20+ sites and was last updated 2 months ago, and scores 63/100 on our health check.

How many websites use Thanks Mail for Stripe?

Thanks Mail for Stripe is active on 20+ WordPress websites and has been downloaded 994 times since it launched in February 2026. It was downloaded 119 times in the last 30 days.

Does Thanks Mail for Stripe work with WordPress 7.1?

Yes. The developer has tested Thanks Mail for Stripe up to WordPress 7.1.5, the latest release. It requires WordPress 5.0 or newer.

What PHP version does Thanks Mail for Stripe need?

Thanks Mail for Stripe requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Thanks Mail for Stripe last updated?

The latest version, 1.2.1, was released on October 2, 2026 (2 months ago).

Who makes Thanks Mail for Stripe?

Thanks Mail for Stripe is developed and maintained by rapls.

What are the best alternatives to Thanks Mail for Stripe?

The most popular alternatives to Thanks Mail for Stripe are WP Mail SMTP by WPForms (4M+ installs), MC4WP: Mailchimp for WordPr… (1M+ installs) and Easy WP SMTP (500K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open