Hi,
I use the Payment module for subscriptions and it works well. But there are two points that need to be improved.
Here is the code : var paymentRequest = await SubscriptionAppService.CreateSubscriptionAsync(EditionId, CurrentTenant.GetId()); return LocalRedirectPreserveMethod("/Payment/GatewaySelection?paymentRequestId=" + paymentRequest.Id);
I want to stay on .net core 6 for now.
Thank you for your help.
Hi,
After migration from version 5.3 to version 6.0.2, the lookup added to table "AbpUsers" don't work.
Here's my code that works with version 5.3 : ObjectExtensionManager.Instance.Modules() .ConfigureIdentity(identity => { identity.ConfigureUser(user => { user.AddOrUpdateProperty<Guid?>( "EstablishmentId", property => { property.UI.Lookup.Url = "/api/app/establishment"; property.UI.Lookup.DisplayPropertyName = "name"; property.UI.Lookup.ValuePropertyName = "id"; property.DisplayName = LocalizableString.Create("Establishment"); } ); }); });
In version 6.0 nothing was recorded. In version 6.0.2, EstablishmentId is recording but the text is missing in the "Extraproperties" field. As a result, the establishment does not appear in the list or in the edit page.
Thank you for your help.
Hi,
i have a multi-tenant architecture. I have set up different features according to the tenants.
Tenant 1 : Products.Blazer = true, Products.Trouser = true Tenant 2 : Products.Blazer = false, Products.Trouser = true
I use this code in application.contracts and it works :
public override void Define(IFeatureDefinitionContext context)
{
var productsType = context.AddGroup("Products", displayName: LocalizableString.Create<OrdersAppResource>("Products"));
productsType.AddFeature(
"Products.Blazer",
defaultValue: "true",
displayName: LocalizableString.Create<OrdersAppResource>("Blazer"),
valueType: new ToggleStringValueType()
);
productsType.AddFeature(
"Products.Trouser",
defaultValue: "true",
displayName: LocalizableString.Create<OrdersAppResource>("Trouser"),
valueType: new ToggleStringValueType()
);
}
The database is ready. Datas in the Features table is those defined from the interface. But, reading the features according to the tenant always gives the same result, the one set by default. I used IFeatureManager and IFeatureChecker.
Best regards.