#mochihealth
1 messages · Page 1 of 1 (latest)
Hi, what's your question?
for sub_1MYwccBPM36OC3gX0KWGvaPp can you tell me why the webhook that had the subscription.created event had the status as active
shouldn't it start out as incomplete and then trigger the update webhook event with status active
It looks like, since a proration Invoice was drafted, it was immediately paid with the associated Payment Method, so it transitioned straight to active
can you tell me why a proration invoice was updated
because right now i only listen to the updated event webhook to update subscriptions that I've already created throught the payment intents api. but I dont even have this subscription registered in my db because this wasn't created through the payment intent api. what do you suggest I should do?
You should also listen for customer.subscription.created then: https://stripe.com/docs/api/events/types#event_types-customer.subscription.created
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I would suggest looking at this page to see the timeline of events related to the Customer: https://dashboard.stripe.com/events?related_object=cus_N78gTeWpOSQfvD
It looks like a Payment was created and immediately refunded for them
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
but where did the payment come from. it wasn't from the personally manually creating a subscription. so how was it created
The subscription was created in your Stripe dashboard: https://dashboard.stripe.com/logs/req_xotMNR6cn1QVNA
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.