Trial Extensions days remaining count wrong

Hello,

I create a Trial Extension for 14 days. In a java application I wrote, I call TurboActivate.ExtendTrial(trialExtension) passing in the trial extension (14 day). Then I call TurboActivate.TrialDaysRemaining() and it returns 15. This is the case for any trial extension I create, it is always 1 more than specified in the Trial Extension.

Thanks for your help.

If you check it about 1 second later it will show 14 days. What you're seeing is an edge case where extending the trial and checking the remaining trial days one after the other (in quick succession) briefly shows 1 more trial days than actually remain.

Hello,

I have tested the calls this morning. I have called TurboActivate.ExtendTrial, then waited 1 second, 2 seconds, 15 seconds and then call TurboActivate.TrialDaysRemaining, and it still returns incorrect count, it is 1 day too many. I am unable to get it to return the correct trial days even when I wait between calls.

If your days remaining is 0 then adding trial days works right. If your remaining trial days is non-zero then adding trial days *looks* wrong, but isn't wrong. That is, TurboActivate doesn't add "full days" it adds the number of minutes that make a day. If you have half a day of trial remaining, adding 1 day to the trial will be 1.5 days.