Sometimes trialDaysRemaining is returing 0 when trial period has not expired

Hi,I grant 7 -day trial to my Java-based application.

I have set-up the trialFlags as below,

private int trialFlags = TurboActivate.TA_SYSTEM | TurboActivate.TA_VERIFIED_TRIAL;

I check the trialDaysRemaining every time user runs the app. When a new user installs the app, I expect trialDaysRemaining to return 7 since I have setup 7-day trail. But many of my users have been reporting their trail period has expired right after they install the app for the first time. So I logged the trialDaysRemaining for users who installed the app for the first time. In my log, i'm seeing the for about 10% of the users, trialDaysRemaining is returned as 0 when they installed and run my app for the first time and there was no exception thrown.This is happening on both Windows 7 and Windows 10 machines.

try { ta.UseTrial(trialFlags);

// get the number of remaining trial days trialDaysRemaining = ta.TrialDaysRemaining(trialFlags); } catch (Exception e) { JOptionPane.showMessageDialog(null, "Failed to start the trial: " + e.getMessage(), "Failed to start the trial", JOptionPane.ERROR_MESSAGE); }

Can you please help me with troubleshooting this issue?

Are you accounting for the fact that TurboActivate correctly detects when a user uninstalls / reinstalls an app (or even completely wipes a machine). In other words, TurboActivate (by design) detects if a customer has already used the trial and starts them off where they were before they resinstalled your app. Even if that means they get 0 days of trial.

Or to put it another way: if they use the trial then they've used the trial.

Also, TurboActivate does fraud detection. Any funny-business with date/time/timezone and TurboActivate sets the trial length to 0.

In either case, trial extensions exist: https://wyday.com/limelm/help/trials/#extensions

Wyatt,Thanks for your response. I understand your point about users reinstalling the app and possibly getting o days of trial. However in my case, many users reported that their free trial expired (ie 0 trialDaysRemaining) immediately after installing the app. And I confirmed with many of them they installed the App for the first time.

Are there any other reasons (apart from what you mentioned about users changing date/time/timezone) why trialDaysRemaining will return 0 even though the trail hasn't expired yet?

At this time, I prefer to avoid changing my app to provide trial extensions.

>> "Are there any other reasons (apart from what you mentioned about users changing date/time/timezone) why trialDaysRemaining will return 0 even though the trail hasn't expired yet?"

No.