<p>Craft checks only the <code>handle</code> of your plugin to detect license mismatches. So when your plugin has the handle <code>importer</code> and another plugin in the store has the same handle it will mark it. (since importer is already a plugin in the store it's likely the issue)</p>

<p>The only ways to solve it</p>

<ol>
<li>change your handle to <code>data-importer</code> or whatever might be unique</li>
<li>make a module out of it</li>
<li>(include CSS to remove the message and ignore it)</li>
</ol>

CC BY-SA 4.0
2018-08-17T12:08:50.567Z
Of course this is correct. It's a Robin Schambach answer.
Dan Zuzevich
CC BY-SA 4.0
2018-08-17T12:10:12.160Z
Is it only necessary to change the handle of it in the composer.json? I think I went through too much work and just created a new plugin scaffold and move my code into that one. Seems like a lot of unnecessary work.
Dan Zuzevich
CC BY-SA 4.0
2018-08-17T14:07:27.913Z
It is enough to change the handle in the composer file unless you used the handle in your code as an identifier for example `\Craft::$app->getPlugins()->getPlugin('importer')` you'll need to change those as well. Keep in mind once installed, Craft will cache your composer file so you need to remove the plugin entirely until you are able to change the handle (or edit Crafts `Plugins.php` file)
Robin Schambach
CC BY-SA 4.0
2018-08-16T14:26:07.117Z
2018-08-16T14:26:07.117Z
Robin Schambach
<p>Maybe you copied some code from another plugin?</p>

CC BY-SA 4.0
2018-08-16T14:14:18.853Z
2018-08-16T14:14:18.853Z
obs
<p>I created a plugin for a client website and I keep getting license issues popping up in the admin panel for it. Not sure what I am doing wrong here. Obviously I have no intention of putting it into the store, I just want to remove this license key issue.</p>

<p><a href="https://i.sstatic.net/Ku77k.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Ku77k.png" alt="enter image description here"></a></p>

<plugin-development>
Plugin I created is asking for a license key
# Plugin I created is asking for a license key

(Asked by: username_0 on 2018-08-16)

I created a plugin for a client website and I keep getting license issues popping up in the admin panel for it. Not sure what I am doing wrong here. Obviously I have no intention of putting it into the store, I just want to remove this license key issue.

[![enter image description here](https://i.sstatic.net/Ku77k.png)](https://i.sstatic.net/Ku77k.png)

**Tags:** plugin-development


---

## 2 answers

### Answer by username_1 on 2018-08-16. Score: 5 | Accepted answer

Craft checks only the `handle` of your plugin to detect license mismatches. So when your plugin has the handle `importer` and another plugin in the store has the same handle it will mark it. (since importer is already a plugin in the store it's likely the issue)

The only ways to solve it

1. change your handle to `data-importer` or whatever might be unique
2. make a module out of it
3. (include CSS to remove the message and ignore it)

> **Comments:**
> **username_0**: Of course this is correct. It's a username_1 answer.  
> **username_0**: Is it only necessary to change the handle of it in the composer.json? I think I went through too much work and just created a new plugin scaffold and move my code into that one. Seems like a lot of unnecessary work.  
> **username_1**: It is enough to change the handle in the composer file unless you used the handle in your code as an identifier for example `\Craft::$app->getPlugins()->getPlugin('importer')` you'll need to change those as well. Keep in mind once installed, Craft will cache your composer file so you need to remove the plugin entirely until you are able to change the handle (or edit Crafts `Plugins.php` file)  

---

### Answer by username_2 on 2018-08-16. Score: 0

Maybe you copied some code from another plugin?


---

