#yonatan3455
1 messages · Page 1 of 1 (latest)
Hi 👋 the cancellation details, if available, should be stored in the cancellation_details hash on the Subscription object that you receive in that Event:
https://stripe.com/docs/api/subscriptions/object#subscription_object-cancellation_details
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi, I tried to access them through cancellation_details.comment but didn't get any, is it a known bug?
Were any set?
yes, is the data sent in the webhook, or should I query it?
Where was it set, do you have an example you can share that I can take a closer look at?
yes, you can see on this subscription sub_1OhCsECWcHXwVLZTM1oZCiyC
the note is "doesn't support french"
In this case, those details were provided in this request, which happened after the customer.subscription.deleted Event was generated:
https://dashboard.stripe.com/logs/req_kRxlnYjEikCmor
Since those fields weren't set before the deletion Event was generated, it's expected for those fields to be empty. Did you see them set in the following customer.subscription.updated Event that got created?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.