License Keys

Issue tracker: view

Contrib type: 
Module
Status: 
Complete and working
Compatibility: 
Ubercart Beta 1
Latest version: 
1.1

The License Keys module allows a user to sell license keys along side an Ubercart Products. The most obvious application for license keys is for software products that need a license key for registration. Store Admins can import (and export) license keys by entering a list of keys in a text area and selecting the product SKU to associate with the keys. When a customer submits an order, a set number of license keys (based on qty of product purchased) are reserved for an order. Upon completion of order the license keys are mailed out to the customer. Additionally, volume discounts can be placed on products. Admins enter a qty range and a percentage to discount on the order. Customer will see the volume discount line item before they complete their order. Admins can view customer reports displaying how many keys have been purchased by each customer at Administer › Store administration › Reports > License keys reports.

AttachmentSize
uc_license_keys.tar.gz6.26 KB

possible problem?

Hi there.
Great contribution. Could be just what I'm looking for.
Should it email the licence key automatically when the order completes?
Currently I am assigning keys to a product SKU, and make a purchase of that SKU, but the license key is not assigned, nor emailed.
I can then assign it manually, and email it manually, but I assume this should be automated, no?
Any ideas would be greatly appreciated.

Automatic generation of license keys

Hello,

I wrote a small add-on to the license key module. This add-on adds a tab that allows you to automatically generate any number of license keys of the size (in characters) you want. My key generation algorithm is very simple, but I think is sufficient.

If anyone is interested I can upload it to this site.

By the way, the original license key module had very long tab titles, so I modified my local copy to say: List, Edit, Email, Import instead of the original titles. Maybe the owner of the license keys module will take this into account in the next release of his great module.

Thank you,

Re: Automatic generation of license keys

I'm not sure the original author is gonna be around for further updates, so if you wanna package up your version as a 1.1 release or something, I can make you the author of the contrib so you can add it to the file attachments. At the very least, feel free to add it in a comment and maybe PM Shawn to see what he thinks. Smiling

Ownership of the license keys module

Hello,

You mean own the original license key module? Sure I can do that for a while if no one objects. Eye-wink

I will need to figure out how the packaging works, and I would like someone to make a code review on my code to make sure all it safe and sound. Eye-wink

l.

auto

Hey guys, love the module here!
Just wondering if there is anyway to setup this module to automatically email the key associated with the order id and SKU?
Thanks

Re: auto

+1 for adding this feature in if it's not already.

Your other option would be to create a new theme function that overrides the current theme_uc_file_downloads_token function. You can add to this the license keys for each product, when the links are generated and emailed to the customer.

Quote:+1 for adding this

Quote:
+1 for adding this feature in if it's not already.

It's there, triggered off the order status change in hook_order. I suspect the guy who's having trouble isn't set up to have his orders moved to "Completed" automatically.

Re: Quote:+1 for adding this

Sweet, I don't have a need for the module so I don't have any experience with it.

still

I have the auto email set to "payment received" I bought stuff off my own site with these changes and still didn't get the cdkey in the email.
I need some help with this haha
Thanks

Re: still

When you complete a purchase, does the status of the order go to Payment Received, or to Completed?

recieved

It goes to payment received. But I went into the license keys notification settings I selected Payment received in the order statues drop down menu. Or does it need to be completed? If so, how do I make all my transactions automatically goto completed?
Thanks

anyone?

hey anyone here got any ideas? I really wanna use this module to it's full potential
Thanks

I think I may have figured it out

For some reason early on in using this module I went to "email license keys" in the license key module and loaded orders manually. Above it says
"This form will email a notification to the customer regarding any license key(s) their order may have had. If you have not specified an order number select one from the select box below."

So should I delete all those in the drop down? (how do I do that)
OR
Am I doing it wrong, could someone PM me that could help me out please! I'll pay you a little money too