- Exception message and full stack trace:
Volo.Abp.Http.Client.AbpRemoteCallException: An internal error occurred during your request!
at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.ThrowExceptionForResponseAsync(HttpResponseMessage response) at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.RequestAsync(ClientProxyRequestContext requestContext)
at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.RequestAsync[T](ClientProxyRequestContext requestContext) at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.RequestAsync[T](String methodName, ClientProxyRequestTypeValue arguments)
at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies.AbpApplicationConfigurationClientProxy.GetAsync(ApplicationConfigurationRequestOptions options)
at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.GetRemoteConfigurationAsync()
at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.<GetAsync>b__19_0()
at Volo.Abp.Caching.DistributedCache2.GetOrAddAsync(TCacheKey key, Func1 factory, Func1 optionsFactory, Nullable1 hideErrors, Boolean considerUow, CancellationToken token)
at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.GetAsync()
at Volo.Abp.AspNetCore.Mvc.Client.RemoteFeatureChecker.GetOrNullAsync(String name)
at Volo.Abp.Features.FeatureCheckerBase.IsEnabledAsync(String name)
at Volo.CmsKit.Pro.Public.Web.Middlewares.UrlShortingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Emerald.Web.Public.EmeraldWebPublicModule.<>c.<<OnApplicationInitialization>b__15_0>d.MoveNext() in C:\Users\PD0987\Documents\Projects\Emerald Healthcare Services\src\Emerald.Web.Public\EmeraldWebPublicModule.cs:line 361
--- End of stack trace from previous location ---
at Volo.Abp.AspNetCore.Mvc.Libs.AbpMvcLibsService.<CheckLibs>b__1_0(HttpContext httpContext, RequestDelegate next)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
HEADERS
Host: localhost:44362
- Steps to reproduce the issue:
I have added the Payment module from the abp studio and getting above error.
6 Answer(s)
- 
    0To resolve the "Volo.Abp.Http.Client.AbpRemoteCallException: An internal error occurred during your request!" error after adding the Payment module, follow these steps to ensure correct configuration: - Install Required NuGet Packages - Ensure all necessary Payment module NuGet packages are installed in the correct projects:
- Volo.Payment.*and- Volo.Payment.Stripe.*in Application, Application.Contracts, HttpApi, HttpApi.Client, Domain, Domain.Shared, and Web projects.
- Volo.Payment.EntityFrameworkCorein the EntityFrameworkCore project.
 
 
- Ensure all necessary Payment module NuGet packages are installed in the correct projects:
- Update Module Dependencies - Add [DependsOn(typeof(AbpPaymentWebModule), typeof(AbpPaymentStripeWebModule))]to your Web module class.
 
- Add 
- Configure Payment in appsettings.json - Add your Stripe configuration:
 
 "Payment": { "Stripe": { "PublishableKey": "pk_test_xxx", "SecretKey": "sk_test_xxx", "WebhookSecret": "whsec_xxx", "PaymentMethodTypes": [] } }- Enable Payment Support
- In your HttpApi.Hostmodule:
 
- In your 
 Configure<AbpSaasPaymentOptions>(options => { options.IsPaymentSupported = true; });- Configure PaymentWebOptions
- In your Web module's PreConfigureServices:
 
- In your Web module's 
 public override void PreConfigureServices(ServiceConfigurationContext context) { var configuration = context.Services.GetConfiguration(); Configure<PaymentWebOptions>(options => { options.RootUrl = configuration["App:SelfUrl"]; options.CallbackUrl = configuration["App:SelfUrl"] + "/PaymentSucceed"; }); }- Database Migration - Run EF Core migrations to update your database with Payment module tables.
 
- Check Permissions - Ensure the user has the necessary permissions to access payment endpoints.
 
- Restart All Services - After configuration, restart all application services to apply changes.
 
 If you still encounter errors, check the inner exception details and ensure all URLs and endpoints are accessible from your environment. Sources: - https://abp.io/docs/latest/modules/payment
 
 This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon. 
- 
    0Hi, This did not helped me. I am getting the same error in Blazor & Public application. Please help me. 
- 
    0Any update for me? 
- 
    0[devchase321] said: Hi, This did not helped me. I am getting the same error in Blazor & Public application. Please help me. Hi, we currently provide the Blazor UI only for the admin side. Could you please share the detailed reproduction steps and let us know what you’ve done so far? This will help us reproduce the issue on our end and assist you more effectively. 
- 
    0Hi EngincanV, Thank you for your message. I have just added the Payment module in my solution from ABP Studio. I didn't change anything in default setup. With default setup I am giving the error and then I have added the stripe module to the blazor and public module, but this is also giving me the same error. 
- 
    0[devchase321] said: Hi EngincanV, Thank you for your message. I have just added the Payment module in my solution from ABP Studio. I didn't change anything in default setup. With default setup I am giving the error and then I have added the stripe module to the blazor and public module, but this is also giving me the same error. Hi, I've created a Blazor application (tiered and with public-web application), imported the Payment Module: and then I could run the application successfully: 
 When i check your log, it seems that your *HttpApi.Host project is not working. Can you please check that? If you are ensure, then please provide exact steps to reproduce the problem. Regards. 


 
                                