#Gautam
1 messages · Page 1 of 1 (latest)
Hi there!
yes
If you want to send emails yourself, you can. Or you can use the Stripe dashboard settings so that Stripe automatically sends the emial for you.
I want to send my custom emails
yes I want to listen the webhooks and send my custom emails
Got it. So what is your question?
Please tell me the name of the events which I should listen and make the send email functionlity fully by myself.
You can see all webhook events for subscription here: https://stripe.com/docs/billing/subscriptions/webhooks
In your case I guess you should listen to invoice.paid
ok, In the email I also wnat to send the paid invoice receipt. beow one, in which event I will get this?
The invoice object will contain the invoice PDF: https://stripe.com/docs/api/invoices/object?lang=dotnet#invoice_object-invoice_pdf
So that will be included in the invoice.paid payload
okay looking
In the invoice.paid event I am not getting the already paid receipt, I am getting the receipt which needs to be paid by the customer, but the customer has already paid.
I am getting this one
but I want the paid reciept.
it's not possible to access receipts (the thing that is emaile to the customer after they pay) in the API, only Invoice PDFs