#blackgriffen237_subscription-and-invoices-events-reference

1 messages ยท Page 1 of 1 (latest)

dreamy martenBOT
#

๐Ÿ‘‹ 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/1341528265646669909

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

hardy breach
#

Hi! I'm not entirely certain I understand your question? The invoice.paid message for every Invoice related to a Subscription will all have the same Subscription ID; is that what you're asking here?

bleak quest
#

yeah

#

so if the first invoice is paid, and i capture the subscription id, that will be the same subscription id for all the invoices paid on that subscription right?

#

could I ask a follow up question?

hardy breach
#

Yes, but you should have that ID when you create the Subscription, so that would be your 'source of truth' on that one.

Of course - what's up?

bleak quest
#

well if the subscription is monthly stripe will send an invoice on our behalf to the user and the user might cancel at any time based on that? so what do i look for to end the subscription?

#

do i check the subscription id periodically to see if its active?

hardy breach
bleak quest
#

and is there something that we can hook into prior to the invoice being sent so we could remind the user how much value they are getting?

#

oh gosh thats perfect thank you

hardy breach
#

invoice.upcoming will tell you one is coming soon - that's on that document as well. ๐Ÿ™‚

bleak quest
#

so something like invoice.upcoming, yes exactly ok thank you so much

#

wow what a great resource, thank you so much

hardy breach