This commit is contained in:
@@ -25,6 +25,12 @@ todo: FRESH TRIAL ONBOARD
|
|||||||
todo: FRESH PURCHASE ONBOARD
|
todo: FRESH PURCHASE ONBOARD
|
||||||
continue on with the steps required to purchase and use in production
|
continue on with the steps required to purchase and use in production
|
||||||
|
|
||||||
|
todo: chargeback license zapping
|
||||||
|
So need it to loop for while after a new purchase
|
||||||
|
maybe on a very long loop up to one year or something?
|
||||||
|
is it worth it to have this hassle, amount of fraud pretty low
|
||||||
|
maybe a check for updates route could handle this?
|
||||||
|
"Generally, consumers have to file a chargeback between 60 and 120 days from the time of the original purchase. After that happens, merchants have approximately 45 days to respond, if they wish to dispute it. "
|
||||||
|
|
||||||
|
|
||||||
todo: Rockfish
|
todo: Rockfish
|
||||||
|
|||||||
@@ -472,15 +472,13 @@ namespace AyaNova.Core
|
|||||||
{
|
{
|
||||||
log.LogDebug($"Fetching license for DBID {LicenseDbId.ToString()}");
|
log.LogDebug($"Fetching license for DBID {LicenseDbId.ToString()}");
|
||||||
string sUrl = $"{LICENSE_SERVER_URL}rvf/{LicenseDbId.ToString()}";
|
string sUrl = $"{LICENSE_SERVER_URL}rvf/{LicenseDbId.ToString()}";
|
||||||
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
||||||
//string RawTextKeyFromRockfish = await _Client.GetStringAsync(sUrl);
|
|
||||||
string RawTextKeyFromRockfish = await ServiceProviderProvider.HttpClientFactory.CreateClient().GetStringAsync(sUrl);
|
string RawTextKeyFromRockfish = await ServiceProviderProvider.HttpClientFactory.CreateClient().GetStringAsync(sUrl);
|
||||||
//FUTURE: if there is any kind of error response or REASON or LicenseFetchStatus then here is
|
//FUTURE: if there is any kind of error response or REASON or LicenseFetchStatus then here is
|
||||||
//where to deal with it
|
//where to deal with it
|
||||||
|
//todo: key should hang off json data object as text version of key
|
||||||
|
//that way we can put other objects on the data return object
|
||||||
|
|
||||||
AyaNovaLicenseKey ParsedKey = Parse(RawTextKeyFromRockfish, log);
|
AyaNovaLicenseKey ParsedKey = Parse(RawTextKeyFromRockfish, log);
|
||||||
if (ParsedKey != null)
|
if (ParsedKey != null)
|
||||||
|
|||||||
Reference in New Issue
Block a user