Jump to content

Licensing Addon + Configurable Options


Recommended Posts



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?




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!

Link to comment
Share on other sites

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.

Link to comment
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.

Reply to this topic...

×   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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated