#Sen-subscription-events
1 messages · Page 1 of 1 (latest)
Hello, can you clarify what you are looking for here? Are you talking about like webhook Events?
Yes, I am looking to retrieve all the events logs for a specific subscription. I am using the PHP stripe SDK library.
Like dashboard shows events: https://prnt.sc/1xdff7i
Unfortunately the events.list call does not support filtering like that.
Yes that was I am looking for
What is the end goal here? What would you like to do with the events for this specific subscription? I am trying to think of what you may be able to do to achieve that without the filter
Actually, I have created a stripe payment plugin where third-party CMS is used.
I want to show subscriptions events when the CMS admin open subscription detail page.
The details page on the dashboard? And just opening it, not modifying the subscription?
Not a stripe dashboard
For changes you could list by the event type customer.subscription.updated https://stripe.com/docs/api/events/types#event_types-customer.subscription.updated
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
It is a CMS dashboard
I want to retrieve all the events like invoices.
With the subscription id, we can able to find all the invoices right so the same logic is not applicable with events.
So i think currently not possible this right?
Unfortunately not. Your best bet will likely be making calls for the event type that you want and processing that
How can this be possible? making calls for the event type that you want and processing that.
I mean which API will useful or something.