Jump to content

Slightly Different

Retired Forum Member
  • Posts

    13
  • Joined

  • Last visited

About Slightly Different

Slightly Different's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. I'm getting exactly the same. I have two currencies set up (NZD as default and GBP). All was working fine until 5.2.13. No everything, irrespective of client currency setting, invoices as NZD which is really messing things up. Anyone any ideas please?
  2. Hi, I'm getting exactly the same. The admin system logs me out after about 30 minutes and clients are getting logged out of the client area sporadically. I have cleared cache, cookies, etc, etc
  3. Hi Matt Thanks for that. Yep, I am using comma separated but have to keep adding as the server uses different addresses and therefore keeps throwing a license error. It would be great if you could add this with the next release please. I reckon the most flexible would be to just add the * wild card approach to both IP and directory with a configuration in the product -> module settings to allow turning wild cards on and off on a per product basis defaulting to off for backward compatibility. Would certainly be great from my point of view ) Cheers Steve
  4. I have a product setup in the license addon which is set up to "allow directory config" for specific reasons. However, I have had a client reporting issues and it looks like because they are hosted on a load balanced system their server is operating from several different IP addresses in a single class C subnet. I don't want to "Allow IP Conflict" as well as the "Allow directory config" as this is getting too lose. What would be ideal is if I can enter in the valid IP's something like 111.111.111.*, 111.111.111. or 111.111.111.0/24. Whatever format just so I can relax the license on a per license basis rather than as a product setting. Is that possible? It would be great if we can do similar with the directory as well as am I just writing a piece of software I want to license that will possibly install in several place in one site (directory structure) but on the same license. So to be able to allow /home/user/domain/public_html/* would be brilliant. I can then lock it to any folder within their current hosting.
  5. Hi Guys, thanks for all the help so far, really appreciate your time. My code, for testing purposes, is the stock sample code from the module with a real license code and empty localkey variable. It posts to the verify script fine as, if I manually in WHMCS admin add the ip, domain and direcotry to the license all works well and comes back active. So the verify URL is fine, firewall is fine, etc. All looks good. The only issue I have is when I (a client) purchases a new license, which is of course empty in terms of ip domain and directory, then the client installs my software with the license key, verify is called and fails due to the license server returning invald IP as above. Once I populate the license information manually all works fine and I get an active response. It's just the automatic population of the license data on the server at install time that isn't working. Sparky, thanks for the offer of PM, will do in a few minutes.
  6. Thanks for that, it's pretty much what I already have. The issue is even with that I am still getting invalid IP returned on a newly issued key that has an empty IP, Domain and Directory entry. The only way to rectify this seems to be to use WHMCS admin->Utilities->Addon Modules->Licenses Manager to manually enter in the IP, Domain and Directory once I have learnt it. It isn't added automatically the first time the license verify is called on the empty license.
  7. Sadly not. I've tried three different licenses and three different installs so far and each time I install my software and use the license key the first time I call the verify script using the above code it just returns that the IP is invalid and when I check the WHMCS database (mod_licensing) the IP, domain and directory are still empty for that key: <status>Invalid</status> <message>IP Address Invalid</message> I am calling $results = check_license($licensekey,''); where $licensekey is a real unused license key.
  8. Sorry, me not being clear enough. Here goes a second attempt. I create a web application, PHP, Ioncube encoded in a zip (or whatever) Client purchases this through my WHMCS install and is issued, in real time, with a license key. This license key is blank in terms of IP, domain and directory as we don't have that information at order time for all the reasons stated above. The client then installs the application on their web server which takes them through my install routine. Part of which asks them for the license key they have just purchased. At install I then want this license key to be verified against the license server (WHMCS) and if the details for the key (IP, Domain and Directory) are empty (ie it is a new and unused key) to populate that information against that license key automatically hence locking that license key to that installation automatically. I have kind of answered my own question here in that I could write a soap server that receives the key, does the checks and then populates the database directly from a soap client in the install routine but it would be much neater if this could be done through the licensing addon. All that would be needed is as bit flag in the current verify routine to say "populate if empty", value of flag if non zero indicating which if the three parts to populate and the associated code to do so. Hope that makes sense? Basically as it stands it seems to me someone can purchase a license but it isn't locked to an installation until that information is manually added by a WHMCS admin. I would just like to automate this process on installation of the sold software.
  9. Other licensing system have this. Surely all we need is a flag in the license verification to say if the licensing info is empty (IE just issued) then to populate it with those details we are just passing across. That way the first time an install is licensed and that license is verified the license take that IP, domain and directory. If building a flag in to achieve that isn't possible then how about giving an API hook into the licensing module so we can capture and act on the information passed?
  10. I have purchased the licensing add on and all good but I need to have it so that on first use of my PHP software I am selling the code can update the license information (if empty) with the IP, domain and directory automatically so the software purchase and install can be fully automated. Are there any hooks into this module? How can I achieve this. Thanks Steve
×
×
  • 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