#momovsky
1 messages · Page 1 of 1 (latest)
I believe that's because it's the first Invoice ever of the Subscription. Subscription changed event are more for the changes afterward
That's sad. I want to differentiate active subscriptions and subcriptions that are past_due on my platform, and I really wanted to use the webhook, because in docs it clearly says
Occurs whenever a subscription changes (e.g., switching from one plan to another, or changing the status from trial to active)., so I assumed status change to past_due would trigger this.
Is it safe to say that instead I can listen to invoice.payment_failed and assume that if this event happened, subscription with collection_method=charge_automatically gets status past_due ?
Yes I think so. Just for a quick double check, can you provide the Subscription Id sub_xxx ?
Sure. We were testing this in our test Stripe, if this matters.
sub_1O9pWbCrLGqcCDLGBYIXNoNK
Wait how about this? https://dashboard.stripe.com/test/events/evt_1OACyZCrLGqcCDLGirlLrf2P
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
It indicates Subscription status changed from active to past_due