I'm away from the source at the moment and so can't answer anything about that right now, but what do you mean by "create just an activation code?" You may be misunderstanding how something like AP works.
If you're wanting to do activation with your server, the token the client uses to ping the server is totally independent of AP; just make up a random value for the transaction. Then, the server would send back the AP license file to the client as the trustworthy proof-of-purchase. There's no need or reason to modify the source for activation; your activation system wraps and uses AP normally. Best, Benjamin Rister On Apr 11, 2010, at 1:39 PM, "nimblehost" <[email protected]> wrote: > Hi guys, this is my first post here, so let me start by saying it's a real > pleasure to be a part of this community. I'm a newbie Mac developer and am > looking forward to learning a lot and (hopefully) helping others along the > way. > > I'm adding AquaticPrime to my first app, and setting up the PHP scripts to > generate an activation code after purchase. When testing the backend PHP no > activation code is being generated. Through trial and error I've tracked this > down to the getSignature() function. > > My goal is to create just an activation code, not a license file - since > getSignature() asks for an array as an argument I'm passing one to it, either > though I don't intend on using it. Regardless, there's some kind of error > occurring in getSignature()…and my PHP skills are a bit too meager to figure > out where the problem is. > > My question at this point is, does anyone know how to create just an > activation code with AquaticPrime (rather than a license file)? Perhaps by > altering the getSignature() function in some way? Any suggestions or pointers > would be of great help. > > Best, > > Jonathan > NimbleHost.com > > > [Non-text portions of this message have been removed]
