Jump to content

Recommended Posts

Posted

I want to build an application, but before that I need help understanding how exactly does the nexus licensing system work.

Step 1 is creating the product and attaching "license key" to it in the store.

4f5e0a9817.png

 

Step 2 is uploading to the root directory the following constants.php file :

3e3d5a4e01.png

 

<?php
define('NEXUS_LKEY_API_DISABLE', FALSE);
?>[

 

Then obviously is having a "customer" with a "key" file available for use in the store itself.

 

238820bf7e.png

 

And finally I want to create a script/software which can access data and use these keys (check if they're expired / valid and so on).

But this is the error I am getting:

824cd35e9e.png

 

Any help is appreciated as I am most likely missing a vital step.

Here is the URL so I can save you time testing it out yourself >> https://cryptotradingheroes.com/applications/nexus/interface/licenses/?info&key=G47U-PVDJ-IOQ2-6700-TWK2

Posted (edited)

Thank you for the response, how would I first use the ?activate prefix with the key and email included? As per chosen in the ACP?

 

For example this is my current link I am testing: https://cryptotradingheroes.com/applications/nexus/interface/licenses/?info&key=G47U-PVDJ-IOQ2-6700-TWK2

 

After that what is the follow up process to "use/check" the key validity?

 

Thank you in advance.

With best regards, Feretorix.

Edited by Feretorix
Posted
48 minutes ago, Feretorix said:

Thank you for the response, how would I first use the ?activate prefix with the key and email included? As per chosen in the ACP?

 

For example this is my current link I am testing: https://cryptotradingheroes.com/applications/nexus/interface/licenses/?info&key=G47U-PVDJ-IOQ2-6700-TWK2

 

After that what is the follow up process to "use/check" the key validity?

 

Thank you in advance.

With best regards, Feretorix.

?activate would activate the license key for a specific IP address as outlined in the documentation. Then you would use ?check to check that the license key is valid from that IP address.

If you are wanting to make to make a call to get license key info but not specific to license key, the ?info endpoint is used. In your example, you would need to also provide the identifier as a parameter as outlined by the required parameters in the documentation my colleague referenced.

I would suggest reading through the documentation as it is outlining these specific endpoints, their purposes, and required parameters.

  • 3 weeks later...
Posted

I want to thank Jim for all the help, but I will need some more.

First I am activating the key with:

https://site.com/applications/nexus/interface/licenses/?activate&key=SUIE-8G4G-VA89-1TN5-LQ58&setIdentifier=newIdentifierVal&extra=somemoredata

which looks like this:

Could contain: Scoreboard, Text

Later I want to get some info about the key activations to see if the setidentifier or extra have been filled in properly (as the url above suggests "newIdentifierVal" and "somemoredata")

https://site.com/applications/nexus/interface/licenses/?info&key=SUIE-8G4G-VA89-1TN5-LQ58

This is what I get:

Could contain: Mobile Phone, Phone, Electronics, Text, Page

 

From the result it's obvious that neither setIdent or extra parameters have worked out, but activation has indeed occurred which gave the usage_id of 6

 

Can anyone help me how to fix the URL so both of those fields will work?

Config in ACP looks like this:

Could contain: Page, Text

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...