#bugragunduz - churn
1 messages · Page 1 of 1 (latest)
I have no data about that. I'm trying to analyze this on connected accounts.
Well that would. be the first place to look. If they are using something like the Billing Portal you can require them to provide a reason.
But without seeing how the connected accounts are providing that functionality it is hard to offer suggestions.
I'm guessing the most common way is to issue a cancel immediately signal through the API.
What would be the difference between voluntary and involuntary churn in that case?
Canceling immediately through the API would have to be done by the connected account using a secret key.
That isn't something the end user should be able to do
This channel is really for developers trying to integrate with the Stripe API but what you are describing sounds like a different problem entirely.
We're building a revenue analytics plugin just for context, but it's hard to understand some behavior from the docs or even from trying them out.
We do provide a mechanism for collecting subscription cancellation reasons if using our hosted customer portal option: https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-features-subscription_cancel-cancellation_reason
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But if you are allowing customers to cancel their subscriptions on your front-end (or the connected acounts') it's up to you to collect the reason
Yes I know about that
By involuntary churn I mean delinquent/unpaid licenses that are automatically cancelled
I guess there has to be a property in the subscription object that shows this was the case when cancelling the subscription?
In that case you can look at the last_invoice attribute on the subscription and check whether or not it was paid successfully
Oh alright, thank you!
Sorry, latest_invoice here:
https://stripe.com/docs/api/subscriptions/object#subscription_object-latest_invoice
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.