At the moment there is no way to customize license key generation. Create a new hook that passes in the new license object by reference, keyword and branding string before the license is saved.

Comments

nicksanta’s picture

Status: Active » Fixed

This is now possible in hook_licensingapi $op == 'generate'

Have a look at how licensing module implements this to get an idea of how to bend it to your will.

nicksanta’s picture

Status: Fixed » Closed (fixed)