#CheerfulGolem
1 messages ยท Page 1 of 1 (latest)
Correct. You would then delete the Customer object: https://stripe.com/docs/api/customers/delete
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
How would we know which customer didn't go through with their subscription?
You would want to listen for the relevant webhook events: https://stripe.com/docs/billing/subscriptions/webhooks
Which event would be the best to handle this situation?
๐ stepping in
So you want to know the case where a Subscription was started but the initial payment wasn't successful and the Sub moves to incomplete_expired?
Yea, how do we detect when that happens? such that we can detect it and delete the customer that didn't actually go through with the subscritpion