Thanks Mail for Stripe
Automatically send thank-you emails when Stripe Payment Links purchases are completed. Supports Japanese and English with customizable templates.
Solide Wahl
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.
- Getestet mit dem neuesten WordPress (7.1)
- Kleine Benutzerbasis (20+ aktive Installationen)
- Bisher sehr wenige Bewertungen
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Thanks Mail for Stripe stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| >100 | |
| Notifications | >100 |
| payment | >100 |
| stripe | >100 |
| webhook | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
About Thanks Mail for Stripe
Aus der offiziellen Readme · V1.2.1Beschreibung
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.
Hauptmerkmale
- 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)
Wie es funktioniert
- Customer makes a purchase via your Stripe Payment Link
- Stripe sends a webhook event to your WordPress site
- Plugin verifies the webhook signature for security
- Plugin detects customer language based on Payment Link ID
- Thank-you email is sent to the customer using wp_mail()
- Transaction is logged to prevent duplicate sends on retries
Anwendungsfälle
- 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
Bedarf
- WordPress 5.0 oder höher
- PHP 7.4 oder höher
- 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 sendingtmfs_email_subject– Customize email subjecttmfs_email_body– Customize email bodytmfs_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 IDsession_id– Stripe Checkout Session ID (unique)email– Customer email addresslang– Index of the template used (“0” = first template)product_name– Reserved for future use (currently empty)amount– Purchase amountsent_at– Timestamp when email was sent
Troubleshooting Webhook Issues
If webhooks aren’t working, check these common issues:
- SSL Certificate – Stripe requires HTTPS for webhooks
- Webhook URL – Make sure the URL is correct and accessible
- Signing Secret – Verify you’re using the correct secret for test/live mode
- Server Firewall – Some hosts block requests from overseas IPs
- Security Plugins – May block REST API endpoints
- 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.
Zweck
- 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
Externe Dienste
- 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
- Laden Sie den Ordner
thanks-mail-for-stripein das/wp-content/plugins/-Verzeichnis hoch - Activate the plugin via the ‘Plugins’ menu in WordPress
- Go to Settings > Thanks Mail for Stripe to configure
- Copy the Webhook URL and register it in Stripe Dashboard
- Enter your Webhook Signing Secret from Stripe
- Configure your Payment Link IDs for language detection
- Customize your email templates
- Send a test email to verify your settings
Stripe Dashboard Setup
- Go to Stripe Dashboard > Developers > Webhooks
- Click “Add endpoint”
- Paste the Webhook URL from the plugin settings
- Select events:
checkout.session.completedandcheckout.session.async_payment_succeeded - Copy the Signing Secret and paste it in the plugin settings
Änderungsprotokoll
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_languagefilter 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
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Thanks Mail for Stripe alternatives
Alle E-Mail-Plugins →Fragen und Antworten
Thanks Mail for Stripe: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: 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).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte




