#kkkk- Subscription Cancellation
1 messages ยท Page 1 of 1 (latest)
Sure thing, no worries.
Yup, we call that out right here: https://stripe.com/docs/api/subscriptions/object#subscription_object-canceled_at
It was never meant to record the date of the subscription cancellation.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Can you explain the rationale behind the canceled_at attribute acting like this? Is there any way to get around this?
As I said it was never intended to track what you are referencing. From the get-go canceled_at meant, "when the API request came in the cancel this thing". Any update to the subscription will reset the canceled_at because that is considered the most recent API request on that subscription.
HOWEVER
That is different from cancel_at (slight spelling diff gets me every time)
Take a look at the definition here
I think this field should be what you want