Activities of "cstobler"

Ah I see, I missed that detail in the license information.

Would it be possible to override the Account layout with the basic theme account file? I would obviously need to change some of the namespaces, but I'm curious if I would be able to put it in the same place I would put the Account file on the Lepton X Theme, and have it override the account page that way.

If there are any important things to know about that, I would appreciate it.

When I run dotnet tool install -g volo.abp.studio.cli, it says Tool is already installed. And then running either of the two get-source lines, it has the same outcome: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown.

I did also try with --version 4.2.1, but that didn't work either. I will try this again intermittently in case this is a server error, but if there isn't a server issue, then assistance would be appreciated to get that account template.

I am trying to override the Account template based on this documentation here: https://dev.to/enisn/you-do-it-wrong-customizing-abp-login-page-correctly-l2k, and when I get to the part where I need to download the Account template so I can override it, I am not able to download it:

I have updated ABP CLI, I have updated ABP Studio, I have logged out and logged back in in the CLI, nothing seems to work. It keeps throwing an error, and the error message doesn't print out any useful information that helps me troubleshoot what is going on.

Additionally, I read somewhere that I can grab source files from ABP Suite, but ABP Suite isn't working for me at all. I go to add my solution, and it throws this:

I would ideally like to get this fixed so I can download files via CLI, but worst case scenario I would be ok if you just zipped it up and sent it to my email on file.

Thanks,

Charlie

Thanks for the follow-up. It was indeed the price id. I thought you passed the product id in and it would let them select which price to use (since I am using annual and monthly), but looks like I will need to setup separate plans for each price then.

Thanks for your help.

Charlie

That section in PreConfigureServices did the trick. However, I am having another related issue.

I am getting this error: So it is treating my Stripe product ID as if it were a price. However, I was under the impression I could use the Stripe product id when configuring the gateway plan:

Am I doing this incorrectly? Is there some other way to tie my plan in to a Stripe product?

Hi, I am attempting to setup self-service registration and subscription for customers. I am having an issue where when I try to go to the payment screen, it throws an error saying "Invalid URL", and when I go to Stripe, it shows a relative URL that I cannot seem to adjust.

For context, here is my register page model OnPostAsync:

public async Task<IActionResult> OnPostAsync()
{
    if (!ModelState.IsValid)
    {
        await OnGetAsync(); // reload editions
        return Page();
    }

    // Confirm we are NOT in tenant context
    if (_currentTenant.Id != null)
    {
        throw new Exception("Cannot register a tenant while already in a tenant context.");
        //return Forbid(); // Registration should only be done as host
    }

    StartSubscriptionResultDto resultDto = await _multiTenancyAppService.RegisterAndSubscribeAsync(new SaasTenantCreateDto
    {
        Name = Input.TenantName,
        AdminEmailAddress = Input.Email,
        AdminPassword = Input.Password,
        EditionId = Input.EditionId,
        ActivationState = Volo.Saas.TenantActivationState.Passive
    });

    return LocalRedirectPreserveMethod("/Payment/GatewaySelection?paymentRequestId=" + resultDto.PaymentRequestId);
}

And here is my RegisterAndSubscribeAsync method:

public async Task<StartSubscriptionResultDto> RegisterAndSubscribeAsync(SaasTenantCreateDto input)
{
    if (input.EditionId == null || input.EditionId == Guid.Empty)
    {
        throw new UserFriendlyException("Please select a valid edition.");
    }

    // 1) Create tenant via domain layer (no host permission needed)
    var tenant = await _tenantManager.CreateAsync(input.Name, editionId: input.EditionId);

    tenant.SetActivationState(input.ActivationState); // keep passive until payment succeeds
    await _tenantRepository.InsertAsync(tenant, autoSave: true);

    // 2) Publish TenantCreatedEto to seed admin user (same as TenantAppService does)
    await _eventBus.PublishAsync(new TenantCreatedEto
    {
        Id = tenant.Id,
        Name = tenant.Name,
        Properties =
    {
        {"AdminEmail", input.AdminEmailAddress},
        {"AdminPassword", input.AdminPassword}
    }
    });

    // 3) Start subscription (creates PaymentRequest with TenantId/EditionId extra props)
    PaymentRequestWithDetailsDto paymentRequest = await _subscriptionAppService.CreateSubscriptionAsync(input.EditionId ?? Guid.Empty, tenant.Id);

    return new StartSubscriptionResultDto
    {
        TenantId = tenant.Id,
        PaymentRequestId = paymentRequest.Id,
    };
}

I have tried to set the callbackurl, prepaymenturl, and postpaymenturl in appsettings, but that doesn't seem to do anything (stripe keys redacted for security):

"PaymentWebOptions": {
  "RootUrl": "https://armadasoftware.io",
  "CallBackUrl": "https://armadasoftware.io/Payment/Stripe/PostPayment",
  "PaymentGatewayWebConfigurationDictionary": {
    "Stripe": {
      "PrePaymentUrl": "https://armadasoftware.io/Payment/Stripe/PrePayment",
      "PostPaymentUrl": "https://armadasoftware.io/Payment/Stripe/PostPayment"
    }
  }
},
"Payment": {
  "Stripe": {
    "PublishableKey": "",
    "SecretKey": "",
    "WebhookSecret": ""
  }
},

When I get this error, I go to Stripe Webhook logs, and I find this: So it is saying the URL is invalid, and the success URL is a relative URL, which seems problematic, but I cannot seem to find a configuration or anything in the documentation that allows me to set a success URL such that it overrides this. I tried setting the success url in the stripe section of appsettings, but that didn't work either. Please advise me on how to set this so it overrides whatever default URL is being sent to Stripe here.

Beautiful! I tried so many things but I didn't try wrapping it in quotes! Glad to see it was an easy fix.

Thanks

Also, my repo is a bit of a mess right now, but Armada-ABP-Pro is my current working branch I am trying to deploy.

I sent you an invite. I don't have it in there anymore, but I previously also tried to get the DbMigrator line working (something like this from the documentation):

- name: Run migrations
        run: dotnet run -- "${{ secrets.CONNECTION_STRING }}" # Set your connection string as a secret in your repository settings
        working-directory: ./src/yourapp.DbMigrator # Replace with your project name

and I wasn't able to get it to work. I just defaulted to deploying DbMigrator separately as a WebJob, and it works, but it would be much better to be able to migrate on deploy. Not sure if there is anything I need to look out for there. I can make a new ticket for that issue if necessary.

Thanks

Showing 11 to 20 of 43 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.1.0-preview. Updated on October 30, 2025, 06:33