#phillip_api
1 messages Ā· Page 1 of 1 (latest)
š Welcome to your new thread!
ā²ļø We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
ā±ļø We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
š This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1324671363599958107
š Have more to share? Add more details, code, screenshots, videos, etc. below.
Is there a way to see outgoing Stripe emails perhaps?
What email are you looking for exactly ? paid email ?
@quartz tree I'm looking for an email that sends the invoice to the user when it's finalized. Or does Stripe not send such emails?
Paid emails should also be fine since the payments happen automatically in subscriptions... But the invoice must be attached to the email
Stripe does send emails. but it depends what email you want
let me check the invoice you've shared...
@acoustic arch let's keep talking in your thread please
#1324670956920242236 message
ļ¼ļ¼
@faint axle
I'm looking for an email that sends the invoice to the user when it's finalized
The invoice is paid immediately after being finalized, so there is no email sent in this case.
I understand. Is there a way to send a "payment successful" email with the paid invoice attached? Either natively or I also saw Stripe has plugins. Or is the only way to do this manually?
I already saw this setting page but it contains so many settings that I'm not sure where to look for.
I found this setting (see screenshot) which is already active. I think it only refers to manually created invoices?
The invoice is paid immediately after being finalized, so there is no email sent in this case.
This is for manual invoice and not automatic invoice. Because the invoice is paid immediatly after being finalized
The invoice is paid immediately after being finalized, so there is no email sent in this case.
I understand, but I'm asking what my best approach would be to achieve this? It's a common business case:
- Company (my users) pays for a software/tool
- Company needs the invoice to deduct it from taxes and want to get notified via email when an invoice has been created/paid.
Very simple actually.
I doubt Stripe can't do this natively ā and if it doesn't, I can't be the first person to ask this? So is there an API endpoint / plugin / any approach you can recommend so I can achieve this?
If you want to send receipt to your Customer, then you need to enable this in your Stripe setting:
https://dashboard.stripe.com/settings/emails
I see let me check further...
I assume you mean this "Payments: Successful payments" option which sounds good to me. Question is if there is an invoice attached in these kind of emails
Yes exactly
Question is if there is an invoice attached in these kind of emails
So yes?
No this is just the receipt actually
If you are looking for the invoice, you can share with your customer the hosted invoice url:
https://docs.stripe.com/api/invoices/object#invoice_object-hosted_invoice_url
For example, you can listen to the webhook event invoice.paid and then send the invoice url to your customers so that they can download it.
Look what I found ...
I just received an invoice from Vercel which is powered by Stripe.
Is this an official Stripe email template? Because it looks like it. And it says "Download invoice"
Yes it is
Is this the same as here?
Ah sorry, I think as the payment has invoice attached to it, then in the receipt email will have an option to download the invoice
yes
Okay that's good enough