Hi Benjamin, Many thanks for getting back to me on this one. By just "activation code" I mean I'd like to pull out the license data created by the getSignature() function, rather than send an entire license (plist) file complete with the user's name, email, and the other info I can add.
Fortunately I was able to fix this a few hours ago. The source of my problem, just as an update, was that the bcmath library wasn't installed on my server. After fixing that, everything runs smoothly now. Best, Jonathan NimbleHost.com --- In [email protected], Benjamin Rister <b...@...> wrote: > > 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" <nimbleh...@...> 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] >
