#momovsky

1 messages · Page 1 of 1 (latest)

merry trenchBOT
sleek jay
#

I believe that's because it's the first Invoice ever of the Subscription. Subscription changed event are more for the changes afterward

somber trout
#

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 ?

sleek jay
#

Yes I think so. Just for a quick double check, can you provide the Subscription Id sub_xxx ?

somber trout
#

Sure. We were testing this in our test Stripe, if this matters.
sub_1O9pWbCrLGqcCDLGBYIXNoNK

sleek jay
#

It indicates Subscription status changed from active to past_due