How it works

When a user downloads your premium resource, Polymart inserts placeholders into the download file. When the plugin gets enabled for the first time, attempted validation takes place and MC License verifies the license key with Polymart’s API using your provided API key to verify its validity. If valid, then this becomes an MC License managed license, meaning you can modify it in your dashboard and enforce settings.

This means that no intervention is required on your part to manage licenses, nor on the user’s part to request their license key. From the moment a user purchases your resource, they will have a license key ready to use infused into their plugin.

Integration

Firstly, create a plugin using your Polymart resource URL in the dashboard.

Then, you need to add your Polymart API key to your MC License account. This can be done through the Settings page on the dashboard. It will look like this:

Integration into your code is the exact same as the standard license check.

That’s it! MC License will now automatically manage licenses for your Polymart resource and your users will get instant, licensed access after purchase.