
We need this for recurring billing. Changing a "plan" (the referenced product) should result in a new revision being created, since it's a radical license change.
Other use cases might pop up later too.
So, let's do it.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2088185-2-add-revision-support.patch | 11.16 KB | bojanz |
#1 | 2088185-1-add-revision-support.patch | 10.34 KB | bojanz |
Comments
Comment #1
bojanz commentedInitial patch.
Revisioning will be off by default (meaning there will always one only one revision per license), but commerce_license_billing will force a new revision to be created for each product_id or status change.
Comment #2
bojanz commentedCommitted the attached patch.
Comment #4
retrodans commented@bojanz I was wondering whether you might be able to help. I created a new ticket as this one was closed, but am after a little pointer in how to enable revisions for licences in my code as you mentioned in comment #1.
Thanks,
Dan