Product Names & Server Responses
-
This looks like a pretty nice plugin. I’ve been doing a bit of testing on my local machine and am considering using it for production.
I added in a “Product Title” field to the plugin because I think it would be useful to be able to create licenses that are associated for particular products.
I also customized some of the responses the plugin gives. For instance, when activating the same domain multiple times, I pass a “success” message rather than an error. The way the plugin is out of the box, if you want to server side validate a license for a given domain, you have to use the check action first and pull in whats registered and compare the domain on the client to what is registered. If the current domain is already registered, the client is okay, but if it isn’t you then send another request to activate. Would it be better to just allow redundant activate actions to ‘succeed’ without re-adding the entry on the server rather than having to make two requests to the server?
Nice plugin, just a few suggestions I’m throwing out there that perhaps you could add to the plugin by default in the future. I’m not really a PHP programmer (I do other languages), just know enough to tweak the plugin a bit. If I use the changes I made in production I won’t be able to get plugin updates. I figure I’d throw these suggestions out there though.
The topic ‘Product Names & Server Responses’ is closed to new replies.