Serverside Licencing - Advanced Installer Community
NigelShaw
Posts: 58
Joined: Wed Apr 01, 2015 12:45 am

Serverside Licencing

Hi

When using the trial licencing part of the installer, I see that there is a method of using a SQL server. Does this method support the automatic generation of licencing codes and emailing the code to the user? For example:

User buys product
Database updated with buyer info
User emailed with unlock / validation code
Use unlocks application

Can you please explain the typical method of validating a licence using the database system?

Also

Can it be integrated with Paypal IPN?
Can the format of a licence be changed to for example: xxxx-xxxx-xxxx-xxxx
Where can I find the SQL script to generate the tables etc?



Cheers

Nacho
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Serverside Licencing

Hello Nacho,

When the end-user will attempt to register your application, the licensing library will submit an HTTP request to the server with a POST action.

The registration server must respond with the licensing elements (ID, Computer ID, Maintainance Plan, Expiration Date ....) as well as their digital signature.

To configure a license server, please take a look on the How to configure a PHP or ASP.NET license server for my application? article with related information for hints and guidance.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NigelShaw
Posts: 58
Joined: Wed Apr 01, 2015 12:45 am

Re: Serverside Licencing

Hi

Thanks for the reply. That doesn't answer the question though. Once a user has been through PayPal to purchase, do I still need to manually create a code or is all of this done automatically through the server and the buyer receives a code to unlock the software automatically?

Thanks

Nacho
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Serverside Licencing

Hello Nacho,

We apologize for the delayed reply.

You should still manually (or automatically through your own script) generate the license code. We do not have support to also offer a purchase platform. You should build your purchase platform and after the user purchase a license you can try to create your own script which automatically generates a new license. For instance, you can use our "/GenRegLicense " command to generate a new license.

However, the design of your purchase platform should be entirely done and maintained by you. Our "Licensing" support handles only the licenses management of your application and not the purhase platform too.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”