hi there,
Can I get some help please? Thanks a lot!
Hi there,
I use your web API in order to let my customers see their license details: number of activations, date, etc..
The LimeLM::GetPKeyID et LimeLM::GetPKeyDetails work fine but now I'm trying to let them deactivate a computer directly from our web page.
I'm trying to use LimeLM::Deactivate('xxxxxxxxx') with an actId as parameter (from the LimeLM::GetPKeyDetails function). Here is the complete fonction in my LimeLM.php:
public static function Deactivate($act_id){ $post_data = [ 'method' => 'limelm.pkey.deactivate', 'act_id' => $act_id ];
return self::PostRequest($post_data);}
And unfortunatly I got this answer:<err code="101" msg="Method "limelm.feature.deactivate" not found"></err>
Am I missing something? Thanks for you help!
hi there,
Can I get some help please? Thanks a lot!
Use LimeLM::Deactivate($activation_id).
I'm not sure what you're doing. You're getting an error saying you're using "limelm.feature.deactivate". So... it sounds like you've duplicated our work, but forgot to rename the function you're calling. Or something else.
Just download our LimeLM.php, don't modify it at all, and call LimeLM::Deactivate().