#mattwoberts

1 messages · Page 1 of 1 (latest)

arctic muralBOT
silver goblet
#

Hi

#

So take a look at req_0x1ir7H4jRAnFn

#

I created a subscription with a trial_end sety

#

It's set to 1669562170

#

That decodes as "Sun Nov 27 15:16:10 +0000 2022"

#

But yet I get an error that it's not in the future...

vague perch
#

Oh hmm

#

That doesn't look right

#

Are you using a library to convert a timestamp to unix timestamp?

silver goblet
#

I'm diong it via the .net lib...

#

if (freeDaysOnTrial > 0)
{
subscriptionCreateOptions.TrialFromPlan = false;
subscriptionCreateOptions.TrialEnd = DateTime.UtcNow.AddDays(freeDaysOnTrial);
}

#

But I've checked that unix timestamp it ended up sending, and it's correct

vague perch
#

So looks like the customer is on a test clock set to 2022-12-22

#

So that's why

silver goblet
#

🤦

#

Oh man. THanks for that, I'm an idiot.