Email Notification (Pro)
How to set up email notifications and customer invoices for your payment.
Last updated
How to set up email notifications and customer invoices for your payment.
Last updated
In contrast to Contact Form 7's built-in email feature, which is only sent after a successful payment and does not include payment details, most site owners prefer to receive notifications during the payment process. This includes alerts for successful or failed payments, as well as the ability to automate tasks based on these notifications.
We currently offer notifications for three event types:
Payment Succeeded
Payment Failed
Customer Invoice
These can be enabled/disabled and customized individually to match your site's style. Let us know if any other email notifications would be helpful for your workflow and we'll consider adding them.
When specifying recipient(s), you can enter multiple emails separated by commas. For example:
{customer.email}, [email protected]
The following merge tags can be used to dynamically insert data into the email content:
Note: Some fields may be empty depending on the payment type - for example, shipping details may be empty if no shipping is required when collecting payment information
Metadata is a powerful feature that allows you to store all the submitted form data, which can be leveraged to populate email templates with field names. This information can also be found in the Stripe Dashboard.
The {metadata} is a formatted key-value string including the specified metadata (for checkout redirection) or form values (for payment form)
We can split them by giving an existing key. For example, if a form id key is called 'first_name', we can use it in email as {metadata.first_name}