First, I released the free Dot Support plugin.
Then I created the extended version, Dot Plus.
When running it in developer mode, I could choose between PRO and STANDARD.
However, after some time , once I had already released version 1.0.0 to the marketplace. I noticed that the version installed from the marketplace is only STANDARD, even though it was supposed to be PRO for a month.
Your attached file uses outdated code. You should use the license verification code from Add license verification calls to the plugin code | JetBrains Marketplace Documentation. Per example, their is no way (AFAIK it never worked) to know if a license is valid because the user is using the trial or a paid subscription. There are paid subscriptions or nothing.
So, use the new code sample, and if it still doesn’t work as expected, please give more details. Per example, are you checking the right product code?
When I submitted the plugin to the JetBrains Marketplace, I set it so that the trial period would last a full month. In the code, I check whether a license is present, and if so, the PRO features are enabled.
After fixing the code, how can I test it? If the PRO features are not available, I won’t know whether they are missing because something still doesn’t work, or because the one-month trial has already expired. I also don’t know whether it is possible for a new version to reset the timer and start counting the month again from the release of the new version.
I released version 1.0 a long time ago and, for quite a while (my mistake), I didn’t check the project. I was only surprised that there were relatively few downloads, and worst of all, no purchases.