#BrianHHough-invoices
1 messages · Page 1 of 1 (latest)
Hello! Invoice pdfs are created when the Invoice is finalized - you'll find the link to download it at https://stripe.com/docs/api/invoices/object#invoice_object-invoice_pdf
Thanks @flint raven!! This is great to know you can get the invoice object -- appreciate it!
@flint raven one more question for you 🤩
One more question 🙂 So I will have payments that are subscriptions, but let's say that a user stops their subscription (i.e. cancel payment or end subscription). Is there a way where I could then update the user of their ending a subscription and notify our database of the same?
1.) Is the "end a subscription" a method call that a user can click on and remove their subscription?
2.) Is there a service worker that I could run that listens for such cancelling events to remove a premium status from a user?
- You'd either need to build that into your own integration (your integration would call https://stripe.com/docs/api/subscriptions/cancel) or you'd use the customer portal (https://stripe.com/docs/customer-management) to link your users to a stripe-hosted UI where they can cancel the sub themselves