Failed to extend trial

Hi,

I'm currently working on implementing the trial extension but I can't it to work. I just get a "failed to extend trial".I'm working in Air and it is a fresh key still valid for 14 days. My project trial time is set to 0. I'm able to activate so my internet and firewall are good.

The answer from useTrial :[TAEvent type="ta_UseTrial" bubbles=false cancelable=false eventPhase=2 retCode=0 boolResponse=false uintResponse=0 stringResponse=null ErrorObj=null]

The answer from ExtendTrial(KZ6K-R6KW-QCHY-D7DF-X448-7VXF-Q2XT)[TAEvent type="ta_ExtendTrial" bubbles=false cancelable=false eventPhase=2 retCode=12 boolResponse=false uintResponse=0 stringResponse=null ErrorObj=Error: Failed to extend trial.]

Ok,

I got it. So either i already had a trial with 21 days already running - there is 18 left. I tested one time my app before setting my app trial time to 0.

Is there a way to set trial remaining days to 0 or I have to wait 3 weeks to test it again ? Guess I'll test it in a virtual machine.

Also, when going from trial extension to activation. Do I have to "deactivate" the trialextension, or the activation just overwrite it ?

Thanks.

Ok,

Now I have tested on my two virtual machine, but I still got a failed message.

However, If I understand well, I have a 7 days trial on both machine. Both new installation of my application. The trial should have been at 0 as I set last week. So why are they at 7 days ? Is there a default value somewhere that is bypassing the value in the control panel ? Did I miss something ?

I think I got it.

If I change the trial time in the control panel, I have to download again the .dat file and replace the one I have. Am I right ?

So the first time you run the application, the trial time is not set by looking on your server, but it is hard coded in the .dat file.

Good to know, but it is kind of limiting. What if I had chosen to have a holiday special for new customer that tries out by offering 2 weeks more of trial time ? It is not what I'm doing with this current application, but it could have been the kind of feature I would have done for a service application for example.

Anyway. by replacing the .dat file, my trial time are good now ("expired"). Too bad the information about updating it was not clearing when changing the settings.

If I change the trial time in the control panel, I have to download again the .dat file and replace the one I have. Am I right ?

Yes, that's right.

So the first time you run the application, the trial time is not set by looking on your server, but it is hard coded in the .dat file.

Not quite. The dat file just contains the maximum trial length. It doesn't contain start dates or end dates. That's calculated the first time you call UseTrial().

Good to know, but it is kind of limiting. What if I had chosen to have a holiday special for new customer that tries out by offering 2 weeks more of trial time ? It is not what I'm doing with this current application, but it could have been the kind of feature I would have done for a service application for example.

You could offer a trial extension that extends the trial by 2 weeks.

Too bad the information about updating it was not clearing when changing the settings.

You're absolutely right, and for that I apologize. We'll be making this clearer soon.