#jtishler-subscription-event
1 messages · Page 1 of 1 (latest)
Hi there 👋 taking a look now
That's because this is a new subscription for this customer, so you would want to listen for customer.subscription.created
ah okay
but if you create a subscription in an incomplete state with DEFAULT_INCOMPLETE wouldn't that event have already happened?
I'm not sure I understand the question. This subscription was created and charged immediately, so that behavior doesn't really apply here.
my understanding of subscriptions with the payment element is that first you create a subscription attached to a customer with the DEFAULT_INCOMPLETE state. so a subscription is created but it needs to have its payment method added and confirmed later. then shortly after, we confirm the payment/setup intent on the client. so that would be an update to the existing subscription
That would be the case if you were to do this via a custom Subscription handling (e.g. not using Stripe's automatic collection features), but this particular subscription had a single POST request to create the subscription and charge an existing Customer: https://dashboard.stripe.com/test/logs/req_iAKUau5VK5Kxdg
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.