Closed (won't fix)
Project:
Licensing
Version:
6.x-1.0-alpha1
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2009 at 00:30 UTC
Updated:
17 Nov 2016 at 01:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mradcliffeI know that in regards to ubercart it's possible to connect license keys to an order id and a sku. So as to differentiate between licenses purchased on different orders. Thinking linearly you could have eid and type, and then a secondary eid and type. However this seems kind of ugly.
That said, sku or node could be the type, and a sub module could implement another table with id, eid, and order_id (at least for ubercart). Ugly, but a different kind of ugly.
Comment #2
nicksanta commentedI've had a think about some of the options, and made a few diagrams - just so we're clear on what we're talking about.
The use case I was designing these options around was linking a license key to an ubercart order.
Option 1:
Schema is flexible to developer's needs
Option 2:
Schema remains like it is currently, and the plugin module would have a table similar to this:
Option 3:
Similar to option 1, but has option for an extra join on that table.
I honestly don't think that option 3 is a good way to move forward. It seems more like a tack-on solution that will only fulfill a few use cases.
Option 2 would be the easiest for us, as there is no schema / API changes at all. It would be up to the plugin module to provide those relationships.
Option 1 would be really nice from a flexibility point of view, and is where i would like the project to go. My main concern is it seems like prematurely over-flexibilizing the module, and making more work for us before we can get a solid release out.
Your thoughts?
Comment #3
nicksanta commentedi think this is something worth coming back to for a 2.x branch or something.
Comment #4
grasmash commentedThe 6.x is no longer supported. Closing issue.