NickM Posted October 17, 2013 Share Posted October 17, 2013 Hi, Using the Licensing Addon, is there a way to access the Configurable Options for the product when checking the license information, like there is with the custom fields? Example: The product that I'm selling is a server monitoring system, kind of like Nagios, if you're familiar with it. In this example, the user must pay $5.00 per month per server that they wish to monitor, so I've set the product up with a Configuration Option called "Servers", where they enter the number of servers they want to monitor when they order, and they're charged accordingly. This works as intended. What I would like to do is be able to access this Configuration Option "Servers" when the software does its license check, the same way I'm able to access the Custom Fields for the item. Unfortunately, I'm not able to see how to do this anywhere - the Configuration Options don't seem to be a part of the data that's returned by the license check, and I'm not really able to use the Custom Fields for this, since I'd like it to be set up automatically and have the information updated automatically when the Configuration Option is upgraded or downgraded. Thanks in advance for any help! 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted October 17, 2013 Share Posted October 17, 2013 In my opinion you should use the same approach of license_verify() function. You can add a script that periodically and automatically send to your WHMCS (or anything else you use to manage your Nagios-like system) all data you want via curl(), xml, json, php array or what you like more. Basically is the same thing you can see on License Manager where license_verify() sends data back to WHMCS. 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.