Add support for suspending subscriptions

Created on 22 November 2017, about 7 years ago
Updated 18 January 2024, 11 months ago

In CLB we had the distinction between suspended and canceled subscriptions.
Suspended subscriptions can be resumed (cause their remote data is still somewhere), canceled subscriptions cannot, cause the related data was most likely destroyed. This is relevant when charging for SaaS services, and used in dunning (where you want to suspend service without destroying data, at least initially).

http://cgit.drupalcode.org/commerce_recurring/commit/?id=0467620 removed the state cause we had no actual resume logic.
What happens if a subscription gets resumed after 2 months? What is our next period? Logic and tests are needed here.
Recurly has the concept of resubscribing, where resuming a suspended subscription means creating a new one from it, worth looking into.

✨ Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡·πŸ‡ΈSerbia bojanz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024