#orrc

1 messages · Page 1 of 1 (latest)

stone coralBOT
hard harness
#

Can you share the SubscriptionId please ?

lucid garden
#

sub_1MyA0YCxlkTqLKpvvHCSpeaY

hard harness
lucid garden
#

Right, but I'm asking about missing the customer.subscription.updated when the cancellation reason is set.
The deleted event could come days/weeks/months later when the billing cycle actually ends, so that's not as useful.

tepid crane
#

đź‘‹ taking over for my colleague. Let me catch up.

#

you're listening to customer.subscription.deleted event right?

lucid garden
#

Yes

tepid crane
#

then you're good to go

#

I don't see the issue here

#

I might be missing the point

#

would you mind elaborating

lucid garden
#

The timeline is like this:

  • April 10 08:00 — User subscribes for a month
  • April 15 10:30 — User requests cancellation at end of billing cycle, via the customer portal
  • April 15 10:30 — Subscription object is updated, and Stripe sends customer.subscription.updated event immediately
  • April 15 10:32 — User fills out the "cancellation reason" dialog in the customer portal
  • April 15 10:32 — Subscription object is updated with the updated cancellation_details, but Stripe does not send a customer.subscription.updated event 🔥
  • … time passes …
  • May 10 08:00 — Billing cycle ends, Subscription object is updated, Stripe sends customer.subscription.deleted event
#

When the user fills out their cancellation feedback, the Subscription is updated, so we expect to get an update event — but we don't.

Being notified of the feedback weeks later isn't as helpful. While we could keep polling the Subscription object in the meantime, we expect Stripe to notify us when a change happens.

tepid crane
#

taking a look just give me a sec

#

and mention that you were speaking to tarzan on discord?

lucid garden
#

Sure 👍

tepid crane
#

please let me know when you do

lucid garden
#

Done!