Hi Guys ,
We are building a plugin for Figma. In that, we are giving a subscription feature which is from Gumroad. Once a user subscribes successfully the user will get the license key in the mail or any other way.
Now, we are verifying the license key to activate by the Gumroad API. If the response status is 200 then we can go ahead. Now, I have the following concerns.
-
Once the license key is entered first time how can I know if the user has activated the license key already when the user loads the plugin again?
-
Is there any way to store that kay if valid in Figma? and if there then how can I get that stored key when loading a plugin at the front side to make it verify on load?
-
Do we need to do it user vise? If there is a way to store the key in Figma then that stored key can get at anywhere in Figma like web and desktop Figma, etc.
-
And that stored key store only up to file level or whole Figma like any Figma file and how long it would be stored in Figma?
Any help would be appreciated here. It is so important.
Thanks
