Furthermore, how does the script know to turn on the Addon Feature based on the Serial Number of the user who purchased. Where is all of that in the Web API documentation?
I'm a bit confused about the Addons/Extra Features via Web API. My understanding is that I'm going to use a PHP script to update the Extra Fields Check Box Option to On if the user purchases the product. By Default it is Off. The only arguments I see is the default_val, which can set the default value, but I was looking for a function called set_val, which will toggle the check, rather than updating the default value.
Am I confusing the two? Are they one in the same. I'm assuming I'm going to set the default Extra feature to Off, then send a default_val to On or True. I'm just confused on the default_val and the ability to set the value.
I'm afraid that if I use the default_val, that any product key I create, will be on automatically.
Furthermore, how does the script know to turn on the Addon Feature based on the Serial Number of the user who purchased. Where is all of that in the Web API documentation?
To set the details for a product key (including custom license fields) use the limelm.pkey.setDetails function: https://wyday.com/limelm/help/api/limelm.pkey.setDetails/