#alecpope

1 messages · Page 1 of 1 (latest)

amber vesselBOT
daring condor
#

Hi! Let me help you with this.

#

You get the Subscription

#

Wait, where did you find this event?

alpine nymph
#

It prints out under the supported events when using stripe trigger

daring condor
#

I don't know of such event. What version of Stripe CLI are you using?

alpine nymph
#

v1.17.1

daring condor
#

Ok, there's a difference between the events and triggers. What this does is runs a series of actions that produce a series of events. What you will get is customer.subscription.updated and invoice.paid

#

Sorry for confusion

alpine nymph
#

Ah okay, got it, thanks! To check if the invoice was created, because of a subscription, I need to look on the billing reason, right? If yes, which billing reason is the right one?

"automatic_pending_invoice_item_invoice"
"manual"
"quote_accept"
"subscription"
"subscription_create"
"subscription_cycle"
"subscription_threshold"
"subscription_update"
"upcoming"
daring condor
#

I would suggest looking at the Invoice.subscription field

amber vesselBOT