Licensing Addon Product Upgrade
We are offering products with multiple license options at different prices (for example, starter, pro, unlimited).
We use the licesne prefix to determine which kind of license it is in our product, which works fine.
However, there is a scenario where a customer wants to upgrade the license. While an upgrade can be ordered, the license key remains the same. If I terminate the license manually and run the create command, it fails because the license is still present in the SQL table mod_licensing.
So in my opinion two things should change:
1. When terminating a license-based product, the license should be removed from the mod_licensing table
2. When upgrading a product, the license should be terminated and recreated automatically