[support] Software license generation
prothero
prothero at geol.ucsb.edu
Thu Feb 10 20:06:32 UTC 2011
Hi. I'm building a store (Drupal 6.20, ubercart.) and want to sell
software licenses for students playing an online educational game. The
current system (all in shockwave) uses md5 encoding with the salt
including a course name and the registrant's email. So, each user or
course that is registered gets a unique license.
I have considered two possible approaches:
1) Drupal itself generates the license, based on the user's email and
the course title they enter.
or:
2) I send them to my other app to generate an ID code and they enter
it when they purchase a license.
With approach 1, the advantage is better Drupal integration and a more
streamlined user experience. There would have to be either a separate
page where the user enters a course title and instructor email, or
integration with ubercart in some way.
With approach 2, Ubercart still has to provide an entry field for the
ID code and store it on the database, so my app can retrieve it and
verify that the purchase has been made. I would verify the license
from code within my game.
I am expert with the game code (Shockwave), but not with Drupal and
PHP. So, option 2 might be easier to implement as long as I can add
the field to ubercart. Then, as I become more familiar with Drupal
coding, I can integrate it better.
Does anybody have any suggestions of modules that might help. The
"Ubercart license keys" module seems to rely on pre-existing keys not
ones generated from user input.
Thanks for any suggestions,
Bill
William A. Prothero
http://earthednet.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110210/5c3baf87/attachment.html
More information about the support
mailing list