#kiranm

1 messages · Page 1 of 1 (latest)

zinc elbow
#

hello @thorny flax! give me a second to look into this

thorny flax
#

Sure do Alex, anyhelp will be helpful.

zinc elbow
#

@thorny flax could you explain a bit more on when a subscription gets cancelled as expected?

#

when is a subscription cancelled as expected?

thorny flax
#

lets say a renewal failure occurs, during which we get this deleted event

#

or lets say stripe couldn't recover the amount from customer to be able to continue subscription i.e renewal failure

#

or lets say a user has disabled auto renewal, we get a deleted event at the end of subscription.

zinc elbow
#

there isn't a parameter to indicate this unfortunately

thorny flax
#

lemme have a look at this, thanks mate

#

hmm, i think this wouldn't suit our case,... we only get deleted event when subscription cancelled from dashboard, which doesn't have any invoice_object

zinc elbow
#

yeah, so the complication here is that you would need to make an API call to check the most recent invoice too

#

if that doesn't work for you, then i'm afraid there's really no way to verify other than via the event on the Dashboard, which you can see if the source was automatic or api

thorny flax
#

is there no way we could see this automatic/api programatically?

#

lets say i give cus_id / event_id ?

zinc elbow
#

not at all i'm afraid

thorny flax
#

arghhhh, okie... thank you though for the help,... Have a great day🥳

zinc elbow
#

i'll pass on the feedback for this feature, you aren't the first person to ask for this 😅

thorny flax
#

😩 🤣 🤣