PGS Posted April 27, 2004 Posted April 27, 2004 Does anyone know of an option to provide activation codes for software at the same time the download is provided and/or in the receipt email?
clemdia Posted April 27, 2004 Posted April 27, 2004 I need to do the same thing myself -- two approaches have been suggested *both obvious choices, I suppose): 1. Put a whole load of unused software keys in a new table, and update a user id column for a key's row when the key is assigned to someone (which also marks it as "used"). 2. Rework your algorithm in php, and add a call to the new function in the confirmation page and confirmation email. I might also save the seed for the key (or the key itself) on the order (for future customer service, etc. so -- in case a custoner is scamming -- you would never need to release a second key). Thoughts?
PGS Posted April 28, 2004 Author Posted April 28, 2004 Thanks, I was hoping to find a ready made solution (the lazy side of me). I guess I will just need to implement it from scratch like you recommend. I will eventually add features to: - Allow a user to request their code information automatically. - Allow it to be entered during purchase for upgrade pricing (instead of a coupon) to limit the upgrade to one per product.
clemdia Posted April 28, 2004 Posted April 28, 2004 It sure would be a nice contribution package -- with an empty space in one function to make your specific key -- function generate_my_key($seed) { insert_your_alogorithm_here } I would imagine the rest of it (admin functionality, print to email & web page, my account add-ons, db tables, etc) could be standardized -- by someone more motivated/skilled than myself, that is -- I'm monitoring this thread, and I'll post any helpful stuff I come across as I'm going along -- if you feel like it, do the same. I suppose the only thing I wouldn't share is my key algorithm -- but I'd be interested in comparing notes on our approaches to the same problem -- Best of luck! David
Recommended Posts
Archived
This topic is now archived and is closed to further replies.