Jump to content
  • 0
Sign in to follow this  
kala

License re-issue function

Question

We are trying to create a Plugin for users to manage their licenses remotely and we are able to finish tasks like add/terminate/suspend/list licenses. But we want to provide an option to re-issue their license key as well. So far we are unable to track any respective functions in the documentation to re-issue the license. Can someone help and advise if there is a direct function for license re-issue [ we use the license manager to issue licenses]? 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

A re-issue typically depends on the module and it's re-issue support, and modules are not callable via the API. Assuming the module supports re-issues, you would probably want to call Services::edit via the API and pass in the re-issue field(s) so that the module will be called and can perform that action on the service.

Share this post


Link to post
Share on other sites
  • 0

Hello Tyson,

Thanks much for the update. We are actually using "https://docs.blesta.com/display/user/License+Manager" to issue the license. We know there is an option to re-issue the license from particular module in client interface and hope there'll be an option to call it from the plugin also. Unfortunately, we could not find it from the  documentation. is there any way to do it from another plugin that we'll create? 

 

Thanks in advance.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...