Learn how to listen to events in your Spark Stripe application.
Spark\Events\SubscriptionCreatedactive. The event’s public properties include $billable and $subscription.
Spark\Events\SubscriptionUpdated$billable and $subscription.
Spark\Events\SubscriptionCancelled$billable and $subscription.
Spark\Events\PaymentSucceeded$billable and $invoice.
ends_at column in your database. This column is used to know when the billable’s subscribed method should begin returning false. For example, if a customer cancels a subscription on March 1st, but the subscription was not scheduled to end until March 5th, the subscribed method will continue to return true until March 5th. This is done because a user is typically allowed to continue using an application until the end of their billing cycle.