Activities of "FabriceC"

Answer

Hi,

here is the result i have in audit logs

Question
  • ABP Framework version: v5.3.5
  • UI type:MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi,

I use the Payment module for subscriptions and it works well. But there are two points that need to be improved.

  1. When collecting payment by credit card, it is not possible to ask the interface to collect the customer's address. This is problematic for the first invoice. Even if I collect the address later and save it to Stripe, the address is not there because the invoice is not editable.
  2. Webhooks work, information is updated in Saas and custom processing takes place on SubscriptionCreatedEto. But the result in Stripe is still 500.

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.

  • ABP Framework version: v6.0.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

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 updated to version 4.3.1 and it works fine.

Thanks.

Hi,

I notice that it works well with a shared database but not with separate databases. The Abp tenant, featuresvalues, and editions tables are empty in separate bases. I will try to create a dedicated project.

Best regards.

Hi,

here is some additional information. I use Application StartUp Template with Lepton Theme. The values assigned in the administration interface are effective a few hours, I don't know exactly how much. Is there a cache problem ?

Here are values in the database, they do not change :

But in ApplicationConfigurationSript, values are differents, as well as the values obtained with IfeatureManager and IFeatureChecker :

    features: {
        values: {
            "Identity.TwoFactor": "Optional",
            "FileManagement.Enable": "True",
            "FileManagement.StorageSize": "0",
            "Account.EnableLdapLogin": "False",
            "Products.Blazer": "True",
            "Products.Trouser": "True",
        }
    },
    

Best regards.

  • ABP Framework version: v4.0.0.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

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.

Showing 1 to 7 of 7 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07