#miketimturner - invoice_object
1 messages · Page 1 of 1 (latest)
They are not filled using invoice.created and invoice.finalised doesn't always fire an event.
Hi, looking here
Thanks. Maybe the finalised event doesn't fire when the invoice has no total?
For hosted_invoice_url and invoice_pdf, you'll want to listen to invoice.finalized: https://stripe.com/docs/api/events/types#event_types-invoice.finalized
Can you share a request id or an invoice id that did not fire invoice.finalized so I can further review?
great!
Hmm I just tested a few cycles using the test clock and they are returning the fields I need which is good
One more thing. I seen somewhere that there is a time limit on downloading the invoices. What do we do after the limit has passed?
Glad to hear its returning the fields!
Can you clarify which expiry you're referring to?
If you are referring to invoice links inside Invoice emails or PDFs .. they will automatically expire 30 days after Invoice due date. The links in the API fields for hosted_invoice_url and invoice_pdf remain active/unaffected.
Oh that's awesome then, I must have got them mixed up. I love Stripe! What time does this discord support end?