The README file refers to hook_uc_product_keys_generate_keys() but it doesn't appear to be invoked anywhere in the code and isn't in the sample module.

Am I right in assuming I am supposed to just use hook_uc_product_keys_api() instead (in particular the create_multiple op)?

If so could the documentation be corrected?

hook_uc_product_keys_generate_keys is also mentioned on the admin/store/products/keys page.

Comments

freixas’s picture

Assigned: Unassigned » freixas

I haven't been receiving email for issues posted, so I wanted to get back to you. It's late right now, so let me research this when I have a chance and get back to you.

There is a complete sample extension module which demonstrates how to use all the extended features, so whatever it does is the right thing. If the documentation is incorrect, I will update it.

Thanks for mentioning this.

freixas’s picture

Category: support » bug
Status: Active » Fixed

I updated the README.txt file.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.