#oliviakristiansen
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Do you have an example subscription I can take a look at?
yes!
https://dashboard.stripe.com/customers/cus_NF3N0KFSF7GWvo if you look at the events and logs, you can see they were set to cancel at the end of the billing period on 2/16/23. Then if you look at the "has changed" event (first one listed) and open the Event Data object, the canceled_at date is set to a timestamp for yesterda 3/13/23, not 2/16/23
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
yes
Hmm okay so for this subscription the canceled_at was updated from 2023-02-16 to 2023-03-14 because of the coupon that was applied. Seems like expected behavior but let me double check with a colleague
thanks!
Ah indeed expected. Our API ref calls this out here
https://stripe.com/docs/api/subscriptions/object#subscription_object-canceled_at
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
wonderful, we just wanted confirmation that my theory was indeed correct. thank you!
NP! ๐ Thanks for your patience