This commit is contained in:
2023-02-06 23:32:22 +00:00
parent 89085c93b8
commit d8b9729b2d
2 changed files with 5 additions and 1 deletions

View File

@@ -130,6 +130,7 @@ namespace Sockeye.Biz
if (isV7)
{
newLicense.FetchEmail = purchaseGroupCustomer.EmailAddress;
newLicense.PGroup = ProductGroup.AyaNova7;
//is there a prior license?
if (lastLicense != null)
@@ -321,18 +322,21 @@ namespace Sockeye.Biz
case "301028317"://perpetual
newLicense.Users = purchase.Quantity;
newLicense.MaintenanceExpire = dtOneYear;
newLicense.PGroup = ProductGroup.RavenPerpetual;
break;
case "301028467"://subscription monthly
newLicense.Users = purchase.Quantity;
newLicense.MaintenanceExpire = dtOneMonth;
//FUTURE: for now subscriptions all 20gb if ever add ability to go higher max data with product code etc then remove this
newLicense.MaxDataGB = 20;
newLicense.PGroup = ProductGroup.RavenSubscription;
break;
case "301028468"://subscription yearly
newLicense.Users = purchase.Quantity;
newLicense.MaintenanceExpire = dtOneYear;
//FUTURE: for now subscriptions all 20gb if ever add ability to go higher max data with product code etc then remove this
newLicense.MaxDataGB = 20;
newLicense.PGroup = ProductGroup.RavenSubscription;
break;
case "301033167"://Customer users monthly price
case "301033168"://Customer users yearly price