WHMCS Support Manager WHMCS John Posted February 1, 2010 WHMCS Support Manager Share Posted February 1, 2010 Which server module are you using? 0 Quote Link to comment Share on other sites More sharing options...
stirton Posted February 1, 2010 Share Posted February 1, 2010 WHMCS is controlling our cPanel/WHM 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted February 1, 2010 WHMCS Support Manager Share Posted February 1, 2010 The package should be upgraded automatically after the client pays. Check Utilities > Activity Log at the time of the order to see if there are any errors. 0 Quote Link to comment Share on other sites More sharing options...
stirton Posted February 1, 2010 Share Posted February 1, 2010 Hi John, That's what I would have thought. Nothing in the log other than approving the order. Payment was set to BACS and it's a customer we know will pay i.e. no money received and marked in as a payment yet - is that the problem? Normal setting up of accounts don't require payment, so I'm guessing not ... we needed it setup so I had to manually change the package Thanks for your help 0 Quote Link to comment Share on other sites More sharing options...
HerrZ Posted March 4, 2010 Share Posted March 4, 2010 which server module function is called on upgrade? 0 Quote Link to comment Share on other sites More sharing options...
HerrZ Posted March 5, 2010 Share Posted March 5, 2010 I overlooked the function in DevKit: its ###_ChangePackage() 0 Quote Link to comment Share on other sites More sharing options...
michaelclarve Posted March 5, 2010 Share Posted March 5, 2010 Thanks for your post and looking forward to it..!! Special thanks to herp herp..!! Clarve..! . garden gifts 0 Quote Link to comment Share on other sites More sharing options...
mfoland Posted February 6, 2019 Share Posted February 6, 2019 I've got to bump this.. I use the License Addon, and I offer Monthly and Owned licenses. For one i'm building.. it's a school closing software, and I'll likely do this with my radio software I'm building.. but I have three tiers. If they purchase and owned copy, and they decide to upgrade, would there be a way to charge only the difference of the license, and not charge the whole new license price for the next level? Thanks! 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted February 9, 2019 Share Posted February 9, 2019 (edited) First off create the Product/Service of your software and configure Module tab to use Licensing module of WHMCS. Then move to Setup > Products/Services > Product Addons and create your three tiers. Make sure to select the main product from Applicable Products tab. Now when your customers order the software they will see something like follows. Now I can't remember if the licensing script already transmits information about Addons assigned to the main Product/Service. Just in case use the LicensingAddonVerify action hook. <?php use WHMCS\Database\Capsule; function prefix_LicensingAddonVerify($vars) { // Retreive the ID of the Addon purchased by customer (if Active) $AddonID = Capsule::table('tblhostingaddons')->where(['hostingid', '=', $vars['serviceid']], ['status', '=', 'Active'])->first(['addonid'])->addonid; // On every check_license() the value of AddonID will be transmitted to licensing script. Use it to lock/unlock features of your software return [ 'AddonID' => $AddonID ]; } add_hook("LicensingAddonVerify", 1, "prefix_LicensingAddonVerify"); When the remote software of your customer requests a license check to your server, it will provide all the usual details (valid IP, directory, domain...) plus the ID of the purchased Addon (if Active). Now you can implement it in your software to do things like add/remove "Powered by" footer, lock/unlock additional features and stuff like that. Obviously this value (the ID of the purchased Addon) needs to be stored locally somewhere on the server of your customers and hashed so that no one can freely cheat you by manually changing values. You could store it directly in the localkey. Please keep in mind that mine is just an example. You can use an unlimited number of options. For example you could check the weather in Rome and if it's raining customers can't use your software software unless they purchase Premium features. Edited February 9, 2019 by Kian 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.