Closed rvdsteege closed 2 years ago
I'm leaning towards re-adding the end date in the post meta in _pronamic_subscription_end_date
. Subscriptions will not always have an end date, so that is probably not too bad in terms of post meta pollution.
@rvdsteege Do you agree or do you have any new insights?
Re-adding _pronamic_subscription_end_date
post meta is fine with me.
The alternative, scheduling a completion action whenever the end date changes, is also a bit tricky and could result in a lot of scheduled actions for a long time — which is also not really desired.
The scheduled action to complete subscriptions uses the
_pronamic_subscription_end_date
post meta to find subscriptions:As we've currently removed this post meta (in development), subscriptions won't be completed anymore.
Possible solutions I can think of: