I can’t seem to get the plugin to find plugin updates. I have the zip file on AWS but no luck. It would be great if you could write some instructions on how to get this working.
Also, the https://www.jfwebdesign.com/api/license-manager link returns a 404 error.
Thanks.
]]>When you run this script: What does the url look like that its sending to the API. Im trying to use in one of my database programs and i need to know the syntax of how its written. So basically what does Curl output to the API ?
For Ex. https://mywebsite.com?slm_check=123456
<?php
/*** Mandatory data ***/
// Post URL
$postURL = “https://mywebsite.com”;
// The Secret key
$secretKey = “123456”;
/*** Optional Data ***/
//$firstname = “John”;
//$lastname = “Doe”;
//$email = “[email protected]”;
// prepare the data
$data = array ();
$data[‘secret_key’] = $secretKey;
$data[‘slm_action’] = ‘slm_check’;
$data [‘license_key’] = ’57f234234234′;
// send data to post URL
$ch = curl_init ($postURL);
curl_setopt ($ch, CURLOPT_POST, true);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
$returnValue = curl_exec ($ch);
// Process the return values
print_r($returnValue);
?>
The plugin looks promising but I think I need a paid AWS account so that I can enter my credentials in the settings page?
]]>Hi, would you please integrate the PayPal sandbox ?
]]>Hello Jarkko,
Your plugin could be very useful to protect of developer’s and webmaster’s works.
I am wondering if the plugin can be used to protect a whole website (that contains many plugins). I mean it allows to use the whole website in n URLs or so (n=1 or another number).
Is it possible, please?
Otherwise, is there another way to protect whole website?
Many thanks.
]]>Hello there Jarkko, thank you very much for this amaizing plugin, I have followed the tutorial very well but I installed your latest version of the plugin from the wordpress repository.
The problem is that when I attempt to update a licensed plugin, first I got an update error with a “Not found” kind of error. After the failed update, wordpress says the ‘test’ plugin is updated but it still shows the old verion number
I didn’t change anything since then and now when I come back to my dashboard I find that there is an update (the one that failed to update) and when I try to update I get the following error:
Downloading update from https://<site-url>/api/license-manager/v1/get?p=who-hit-the-page-widget&e=webmaster@<domain>.co.za&l=IY%29U8U%2A%23V%236ru%23%29YNS4%23DIt%21…
Download failed. Forbidden
I don’t know what is wrong, my AWS credentails are ok and I am using a valid email address and license created using the plugin. Please help.
And I was wondering, what is the progress regarding integration with ecommerce plugins? I am using MarketPress to sell my plugin and I am able to hook into MarketPress order paid hook and generate the license and associate it with the email address used on purchase, I am strugling to get the product id from market press and generate a license for a product in the license manager. For now, I have to hardcode the product_id for the license manager but obviously this will not work once I start selling multiple products on the same website.
Any pointers and help will be highly appreciated
]]>Hi, first of all, your plugin is amazing. Congrats for that ??
I′m using woocommerce for selling my digital products (wp plugins and themes) and I′d like to know if there′s a way to get a new license after every sale.
For instance, let′s say I have a wp plugin with 3 variations: 1 year, 2 year, 3 years.
I′d like to add a new license to the thank you email and setting the license duration based on the product variation purchased.
Is this possible with your plugin? is there some function in the code that I can use to create a new license?
If not, can you add this to the plugin? maybe you can add an API endpoint so we can use this with any e-commerce plugin ??
]]>Thanks for this plugin. Very informative, especially in combination with the tutorial on how it is build.
I did notice some strange behaviour though.
After installation, the Admin menu only shows an entry for managing the Licenses. There is no menu entry for managing the Products.
When I remove the menu_position of register_post_type() (see line 127 of file ‘class-wp-license-manager-public.php’), the opposite happens. There is an Admin menu for managing Products, but now the Licenses are gone.
BTW: This same line is missing from the tutorial.
Any suggestions?
]]>Hello
While installing your plugin, i received the following error:
Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or ‘(‘ in /home/content/21/6435121/html/clipit/wp-content/plugins/wp-license-manager/public/class-license-manager-api.php on line 3
Just thought you should know.
]]>