Quantcast
Channel: WHMCS Community Forums
Viewing all articles
Browse latest Browse all 13458

Licensing Addon + Version Number

$
0
0
What I'm trying to do is put a version number as part of the returned variables during the license check. I tried following the logic enumerated here but can't exactly get it to work.

I have a product, put a custom field on it of "version" with the description value I need ("1.01") and I added the hook file into the includes/hooks/ directory.

It only partially worked. On my sample license checks I get as part of the var_dump:

PHP Code:

  ["customfields"]=>
  
string(8"version=" 

I've tried to put it as both the description and the select options and I get nothing but the name. As a side note I also tried to do this after the product was already ordered and it didn't show on the var_dump until I ordered it again.

Any ideas?

Viewing all articles
Browse latest Browse all 13458

Trending Articles