Adding license to the extension

I am looking for a solution to add license to my extension. The extension is for the in-house use in the company, and won’t be sold outside. The aim is to protect IP of the company from leaking out.
Any solution like time-limited-license or online-verification would be great.

Are there any ready solutions, open-source examples, or tested approaches in this area?
Any advice is welcome.

Best
t.

Hi, I recommend looking into Gumroad.

Here is an url that talks about license key: License keys - Gumroad Help Center

Check the code in this ZIP file and if you have any questions let me know.
gumroad_example.zip (253.4 KB)

Note: In order for the code to work some of it need to change… For example;

In the modules folder their is a file named ‘callbacks’…
Change [YOUR GUMROAD NAME HERE] and [YOUR PRODUCT NAME HERE]

UI.openURL("https://[YOUR GUMROAD NAME HERE].gumroad.com/l/[YOUR PRODUCT NAME HERE]") 

Also, in the load.rb some strings need to be changed…
Change [CHANGE TO A FOLDER NAME] to a folder name your happy with.

PATH = ENV['HOME'] + "/Library/Application Support/[CHANGE TO A FOLDER NAME]/#{FOLDER_NAME}/" if MAC
      
PATH = ENV['APPDATA'] + "/[CHANGE TO A FOLDER NAME]/#{FOLDER_NAME}/".gsub(/\//, '\\') if WIN

And, I expect more things need to be modified but let me know if this is the path you’re looking for.

Here some visuals that might better explain how to use Gumroad License on your SketchUp Extension:











Download images with better quality:

Gumroad Lic - Images.zip (7.8 MB)

2 Likes

Seeing that you also sell on EW, do you recommend that? It seems you favor Gumroad. Pros vs. cons?