Hi Guys,
I am using the licensing addon for one of my products and I have an issue where the licensing addon is always calling remotely. I'll admit my PHP development skills are not the greatest so I may be doing it wrong. However, I used the sample code provided by WHMCS and I am calling it correctly in my addon. Not my addon checks in two areas:
1. The addon I created for the product
2. The hook called for the TPL files
In both it checks to make sure the license is OK before doing its thing. However I've run into some issues where the page is taking too long to load. I have the localkey and licensekey both saving to the database, so shouldn't the licensing addon be checking the localkey first? Maybe my understanding of how it works is off. I have it set to do remote checks every 15 days which is the default.
If anyone anyone out there is using the license addon as well, mind giving me a few pointers on how to make sure your product does not always call home and cause performance issues? If you need some code snippets I'll be sure to provide, but wanted to ask generally what the best practice is. I've followed a few tutorials, but so far no dice on getting the performance uptick.