Hi,
The random generator does not check if the keys are real unique.
You can made a copy of the random generator in order to create a new random-unique generator.
The idea is to generate more serials than necessary and make a request in the database in order to check if all generated serials are not yet generated.
If there are some existing serials, just remove them from the list and use the N first non-existing serials.
Serials are stored in the table #__hikaserial_serial
The column serial_order_id is the order_id from #__hikashop_order.
The column serial_data contains your key.
The column serial_extradata contains extra data information (which have been serialized).
Regards,
Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.