#phillip_api

1 messages Ā· Page 1 of 1 (latest)

vapid oysterBOT
#

šŸ‘‹ 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.

faint axle
#

Is there a way to see outgoing Stripe emails perhaps?

quartz tree
faint axle
#

@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

quartz tree
#

Stripe does send emails. but it depends what email you want

#

let me check the invoice you've shared...

acoustic arch
#

??

quartz tree
#

@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.

faint axle
#

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?

quartz tree
#

Yes you can send an email when the payment is confirmed

faint axle
#

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?

quartz tree
#

This is for manual invoice and not automatic invoice. Because the invoice is paid immediatly after being finalized

faint axle
#

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?

quartz tree
faint axle
#

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

quartz tree
#

Yes exactly

faint axle
#

Question is if there is an invoice attached in these kind of emails

So yes?

quartz tree
#

No this is just the receipt actually

#

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.

faint axle
#

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"

quartz tree
#

Yes it is

faint axle
#

Is this the same as here?

quartz tree
#

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

quartz tree
faint axle
#

Okay that's good enough