In the database subscriptions, every row has a property status that's used to query the currently active plans on the /account page. When you cancel a subscription through Stripe, the status doesn't get updated. Instead, the cancel_at_period_end property of the database entry in subscriptions gets changed to true. I was wondering if the status property changes "automatically" after the current_period_end date or if I have to implement that logic myself.
In the database
subscriptions
, every row has a propertystatus
that's used to query the currently active plans on the/account
page. When you cancel a subscription through Stripe, the status doesn't get updated. Instead, thecancel_at_period_end
property of the database entry insubscriptions
gets changed totrue
. I was wondering if thestatus
property changes "automatically" after thecurrent_period_end
date or if I have to implement that logic myself.