Activities of "geertveenstra"

Hello,

I created a new custom gateway for the payments module and for the webhook function I needed an additional property to lookup the PaymentRequest based on the incoming payment reference id. For this I created an object extension and an EF extension mapping (because I need to look up the payment request record based on the extra property.

ObjectExtensionManager.Instance.Modules()
.ConfigurePayment(payment =>
{
    payment.ConfigureEntity("PaymentRequest", paymentrequest =>
    {
        paymentrequest.AddOrUpdateProperty<string>( //property type: string
               "PaymentReference", //property name
               property =>
               {
                   //validation rules
                   //property.Attributes.Add(new RequiredAttribute());
                   //property.Attributes.Add(new StringLengthAttribute(256) { MinimumLength = 5 });
                   //...other configurations for this property
               }
        );
    });
});

ObjectExtensionManager.Instance
             .MapEfCoreProperty<PaymentRequest, string>(
                 "PaymentReference",
                 (entityBuilder, propertyBuilder) =>
                 {
                     //propertyBuilder.HasMaxLength(128);
                 }
             );

This is all working fine, but what I am missing is the additional column in the Payment Requests datatable in the GUI. I did some additional object extensions (on the IdentityUser) and there all the properties are visible in the datatable.

Am I missing something ? Is it otherwise possible to override the entire page (get the sourcecode of this page) ?

Regards,

Geert Veenstra

Hello, we have a client that needs to access our API and is requesting first an Access Token through OpenIddict (grant_type=client_credentials and client_id / secret). But the client is not able to request a specific scope (which to my understanding would be needed to secure the API with the [Authorize] attribute). Is it possible to return a defined scope in the access_token in the response? This is the current setup of the application for the access token:

The Authorize part is working when the selected scope is requested in the token request.

Showing 1 to 2 of 2 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.