#joshualaba
1 messages · Page 1 of 1 (latest)
How can I help?
Is there someone I can know all the cases in which the above event will be sent via webhook?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Occurs whenever a subscription changes (e.g., switching from one plan to another, or changing the status from trial to active).
Yeah i saw that
I have an issue:
For example:
- When I create a new subscription,
- My card gets charged so i receive invoice.paid
I also receive a customer.subscription_updated but this shouldnt happen right?
What's your subscription ID?
Im doing it on trial
test**
But 1 moment
sub_1NYVRWIbfASDb7isdik9FTUH
Are u able to check for me
Sure one sec
Thank u
https://dashboard.stripe.com/test/events/evt_1NYVRZIbfASDb7is4Wrc8Ozw I believe this is the event that you are talking about?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
If you check its previous_attributes hash
default_payment_method: null,
status: "incomplete"
}
The status was incomplete and now active, that's why you have a customer.subscription.updated event
the status is originally incomplete -> active
so when does this status change occur?
When the first invoice is paid successfully.
is there a place where I can check all the status changes?
Also 1 more qn, does the updated event occur when subscription renews?
Okayy
Is it right to say all subscriptions start w an incomplete status and only change to active when the 1st payment is made?
What if I update an exisiting subscription, does the status go back to incomplete if payment is not yet made for it?
It depends on what is updated on the subscription.
Can you tell me what probem you are trying to solve?
I want to be able to track the customer.subscription_updated only when customers change a plan eg amount or billing date etc.
Listen to customer.subscription.updated then
I think this is good enough for now, thanks jack! have a good day