Activities of "abhisheksreesaila"

Update : Since I ma using BLAZOR SERVER,** I used MVC** to create this payment UI, and used the


added this code

Configure<PaymentWebOptions>(options => { options.RootUrl = configuration["App:SelfUrl"]; options.CallbackUrl = configuration["App:SelfUrl"] + "/PaymentSucceed"; });

And finally used the PRICE code (not the product code) as EXTERNAL ID and it worked.


https://abp.io/support/questions/2251/Payments-Module-UI---Blazor-Server I added references to ** Volo.Payment.Stripe.Web.**

How do we redirect reliably in Blazor?

code behind

Controller

added using Volo.Payment; [DependsOn(typeOf(AbpPaymentWebModule))]

Now, I think its trying to call the endpoint for redirect. Trying to fix the next error.

I also dont get the "plan" in SAAS edtions. any idea why?

Ok I added them and its now consistently < 1second. I am not sure if it fixed it or some sort of caching. Usually, when i push a new change, the login tends to be slow again. I will run a few test and get back to you

I added this code in the blazor project. Is that correct? I can try now and test it.

`

Using System; using System.Net; using System.Runtime.CompilerServices; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Caching.Memory; using MyCSharp.HttpUserAgentParser; using MyCSharp.HttpUserAgentParser.Providers; using Volo.Abp.AspNetCore.WebClientInfo; using Volo.Abp.DependencyInjection;

///

///     A high-performance web client info provider that caches browser and device information /// [Volo.Abp.DependencyInjection.Dependency(ReplaceServices = true)] [ExposeServices(typeof(IWebClientInfoProvider))] public class CachedHighPerformanceWebClientInfoProvider : IWebClientInfoProvider, ISingletonDependency { private const int CacheExpirationMinutes = 30; // Longer expiration since UA strings don't change often private readonly IMemoryCache _cache; private readonly IHttpContextAccessor _httpContextAccessor; private readonly IHttpUserAgentParserProvider _parserProvider;

public CachedHighPerformanceWebClientInfoProvider( IHttpContextAccessor httpContextAccessor, IMemoryCache cache) { _httpContextAccessor = httpContextAccessor; _cache = cache;

// Initialize the parser provider once _parserProvider = new HttpUserAgentParserDefaultProvider(); } .... ....<< same as code as the link you shared >> ... `` `

ok. sorry. here you go.

https://drive.google.com/drive/folders/1Ugr2wnGVpYbY-VK-Z0f_YkT2ieE0Zwyn?usp=sharing

I enabled openiddict logs.

Download from here. https://drive.google.com/drive/folders/1Ugr2wnGVpYbY-VK-Z0f_YkT2ieE0Zwyn?usp=drive_link

I did this. is this ok?

using Microsoft.AspNetCore.Components.Rendering; using Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.Common; using Volo.Abp.DependencyInjection;

namespace LeptonXDemoApp.Blazor.Components;

[Dependency(ReplaceServices = true)] [ExposeServices(typeof(GeneralSettings), typeof(EmptyGeneralSettings))] public class EmptyGeneralSettings : GeneralSettings { protected override void BuildRenderTree(RenderTreeBuilder __builder) { __builder.OpenElement(0, "div"); __builder.AddAttribute(1, "class", "empty-general-settings"); __builder.CloseElement(); } }

Ok, I found the issue.

---- this code

if (context.Menu.Name == StandardMenus.User || context.Menu.Name == StandardMenus.Shortcut) { var LinkedAccounts = context.Menu.GetMenuItemOrNull("Account.LinkedAccounts"); LinkedAccounts?.RequirePermissions(FinxplorerPermissions.UserMenu.LinkedAccounts); }

was inside if (context.Menu.Name == StandardMenus.Main) { await ConfigureMainMenuAsync(context); }

So it was never called to remove it. now, placed it outside.

Showing 1 to 10 of 27 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