I'm creating customers in Stripe (using test mode) with recurring plans and email addresses. So far, everything works as I'd expect: when a customer is created and enrolled in a recurring plan, they are automatically charged for the first period of the plan. What I have is almost verbatim what is in the tutorial. The plan names differ, and the costs differ, but other than that, it's more or less copy/paste.
However, even with the customer enrolled with email set and the Stripe account set up to send customer receipts on charges, the receipt email from Stripe are not being sent. It's not clear to me why this would be, especially since I'm under the impression that Stripe should send email when any charge is made if "Email customers for Successful Payments" is checked, even when in test mode (per the support site).
Looking at the invoice dashboard, it looks like receipt emails are not being sent per the receipt history, leading me to believe that something I have done is incorrect.
Why is Stripe not sending email upon a successful charge? What have I missed?
Stripe can automatically send email receipts after a successful payment, or when you refund one. This is done by providing an email address when making the API request, using the email address of a Customer object, or updating a PaymentIntent with a customer's email address after checkout.
Go to your email branding page (Settings -> Business Settings -> Branding) to customize the logo and color scheme of the email receipt. Click the Save changes button once you've completed customizing the template.
Stripe automatically creates an invoice for subscriptions at the end of each billing cycle. To create a one-off invoice for a non-recurring price, read the Invoicing docs. Stripe finalizes and sends the invoice in 1 hour. Before the invoice is finalized, you can edit it.
Log in to your Stripe dashboard. Go 'Payments' Locate the payment to receive a receipt. Click the 'Send Receipt' button.
Visit your profile page in the Stripe Dashboard, then scroll down, and you should see a toggle switch to enable emails for successful payments. You can also set up email notifications for disputes, payment reviews, and more here. You can also use your own domain (instead of stripe.com) when sending emails to customers.
Receipts in test modeIf you accept payments using Stripe Terminal, you must provide customers with the option to receive a physical or email receipt.
Stripe doesn't send email receipts in Test mode at the moment and it's mentioned in the support article you linked:
As a note, we’ll only send email receipts for payments that are made with your live API key or through your live dashboard. If you’d like to see what a test email receipt looks like, you can click the “View Receipt” link on a live or test payment’s page. You can also send a test email from your email settings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With