I build and sell WordPress themes. I have my own site where I sell the themes and on this site, I have Easy Digital Downloads and a few of their additional plugins installed (including the Recurring and Software Licensing plugins). The themes I sell have a theme option that requires the user to enter a license key to "activate" their license - they handle this on their own WordPress install when they install one of my themes. My themes have some code that runs a couple of functions that are meant to basically send a response to my site's server to then check the license keys in my database and either send a response back to the customer's site that their license is valid, invalid or expired. It's a slightly more complex version of this: [login to view URL]
The reason it's slightly more complex is that I can't have this checker performed on every page load so we store the results of the check using WordPress transients.
If a license is NOT valid, a certain function is created with some text along the lines of "please activate your license" and that message is then output in the header file of the customer's theme.
The problem I'm currently facing is that the licenses are activating properly on the customer's site, but they are not setting the appropriate transient (from "invalid" to "valid") and because of this, the front-end message to "please activate your license.." is not being removed from the customer's site. The odd thing is this same code works on another completely separate theme shop I have, but it's not working here and I can't figure it out.
Thanks for taking a look!