Activities of "Spospisil"

AbpPermissionManagementDbProperties.DbTablePrefix = "NewPrefix"

Can you try this code?

I already have and it doesn't work as expected.

Yes, it's an MVC Tiered solution, however your suggestion did not resolve the issue. Can you please explain how the payment application service can be called directly from the web projects code?

What I find a little odd is in you Volo.Payment.Application source you have 3 App Services defined for the Payment Module as shown below.

However in the Volo.Payment.HttpAPI source there is a Gateway and Plan controller that essentially call the application services as shown above but you don't have a 'PaymentRequestController' in the HttpAPI project as shown below.

Why is that?

Hi @Spospisil Payment operations are done by directly Web project for some security reasons. But in that case, you're right. It seems PaymentRequestController is missing. If we provide endpoints for that AppService, there will be a security problem. Because all complete or endpoints that perform update operations on PaymentReuqest will be accessible publicly. We'll

work on this in the next version.


Also your credit is refunded

I'm a little confused by your response given that the ABP documentation actually shows this PaymentRequestAppService being called directly from a MVC/Razor page thus implying that it's intent was to be a publicly accessible endpoint.

Why would a action being called for the PaymentRequest app service be a security risk when it's sole purpose is to update/insert into a local database presumably behind a firewall, etc?

  • ABP Framework version: v5.0.1
  • UI type:MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): MVC/Tiered

Has the ability to remove the table prefix from all the tables been removed with version 5.0.x? For example, previously with ABP 4.4.4 I could override the prefix with the command

        builder.ConfigurePermissionManagement(options => { options.TablePrefix = string.Empty; });

but with 5.0.x it appears as if module specific 'ModelBuilderConfigurationOptions' have been removed and I can no longer pass into the method the prefix I desire.

Please advise.

  • ABP Framework version: v5.0.0.1
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): MVC/Tiered

The Payment module has a static class called PaymentDBProperties of which there is a DefaultDbTablePrefix constant that should be used to override the default table prefix for the module like there is for the other pro modules.

Not only is the name of this constant inconsistent with the naming convention of DbTablePrefix in the other modules but it is also read only, thus it does not allow you to assign a different prefix to the table name.

hi

The 5.0 is using the static proxy. The structure of the project has also changed. It may not be compatible with the old version. You can consider to download the source code of 4.4.4 or upgrade to 5.0.

https://github.com/abpframework/abp/pull/9905

My main solution is all version ABP 4.4.4. I do not want to upgrade to 5.0 (at this point) to resolve this issue. Are you saying the ABP 4.4.4 Payment Module does not work for an MVC/Tiered application?

Hi,

I have sent you a email with a google drive link. Please let me know what you find.

Steve

Hi,

Can I get an update to this issue please.

Thanks.

Hi,

Well to test out if ABP 5.0.1 would solve my problem, I tried generating a MVC/Tiered solution using ABP suite and then adding the Payment Module (as a package) to the generated solution and then tried creating a recurring payment and get essentially the same issue with the injection of the IPaymentRequestAppService interface. See link below.

At this point the Payment Module does not work with a tiered solution either with ABP 4.4.4 and 5.0.1, so I'll need this resolved pretty quickly.

Please advise.

https://support.abp.io/QA/Questions/2373/Payment-ModuleRecurring-Payment-Not-Working

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.0.0.1
  • UI type:MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): MVC/Tiered

Reproduce Issue

  1. Generate MVC/Tiered solution in ABP Suite 5.0.1
  2. Add Payment Module (as package reference) to generated solution
  3. Add page and logic to solution to add a new recurring payment, injecting the IPaymentRequestAppService interface
  4. Run solution and go to the newly added page to initiate the OnPost method of the page

So your suggestion is to upgrade to v5.0 in order to fix this issue? Let me remind you that it's the IPaymentRequestAppService not the IPaymentRequestAdminAppService that seems to be the issue.

Showing 291 to 300 of 375 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20