That worked! Thanks for your help!
When I call that function, nothing happens, and I get these errors in the browser console:
If I click the appearance modes in the toolbar settings, it still functions correctly, and there are no errors. I'm not sure why it is looking for 'undefined' css files. Do you know what might be causing this?
Thank you for providing some instructions on the source code. I was able to download it and have overridden _Sidebar.cshtml successfully.
Regarding the appearance switching, it is this section here:
What I want to do is create a rocker/toggle like this:
that toggles between light and dark mode. But to do that, it seems like I would need to call some function that changes the mode, but I cannot find it. Is there a way to programmatically access the appearance switcher?
I want to change the design a bit on LeptonX since the way it is setup now doesn't suit my use-case. What I am trying to do is to add a light/dark mode toggle and a logout button the footer area of the sidebar and then completely remove the toolbar. I have been able to remove the toolbar successfully, but the other tasks have proven more difficult.
Any help with this? I can start throwing things at the wall and see what sticks, but it would be really helpful to get some guidance on this, especially since I used a support ticket to ask this question. I'm still not sure if I will need to overwrite the SubscriptionCreatedHandler.cs file and it seems like I will need to get a copy from someone to be able to do that.
Please help. Thanks.
Charlie
Hi, hoping to have those questions above answered. I feel like I need a bit more context regarding how ABP handles changing editions, since it will require prorated payment with Stripe. To reiterate, can I simply create a new subscription for the tenant (and have it overwrite the existing subscription), or do I need to somehow trigger a subscription change (with payment proration) with Stripe before changing the edition entity for the tenant?
Any help on this would be greatly appreciated.
Charlie
Thanks for looking into this.
A few questions:
So based on the AI reply, it sounds like I may still be able to use ISubscriptionAppService.CreateSubscriptionAsync to change subscription, but perhaps only from host, not tenant? It also seems to indicate I could create a payment intent through _paymentRequestAppService.CreateAsync, but how does that fit into subscriptions? I would think if I wanted to maintain the subscription renewal and other supported aspects, I would need to go through the subscription app service.
Related to this: I don't see a method in ISubscriptionAppService which allows for the deletion/cancellation of a subscription. I will also need something to this effect since I will need to allow users to cancel in a self-service portal.
Hi, I need to create a self-service upgrade/downgrade edition page. I need help understanding how this works, since I couldn't find any publicly available documentation on this. I presume there is already a system in place to accommodate this, since when upgrading, the charge would need to be prorated. But I'm guessing that these systems are probably tied in to manual edition changing by an admin.
In my self-service registration page, I use _subscriptionAppService.CreateSubscriptionAsync() to create the payment request and then direct the user to the Stripe page to process the payment and start the subscription. I also already have the source code from the StripePaymentGateway so I can make modifications there if necessary to get this working.
I wanted to see if there was a streamlined way of doing this. I could probably find a way to do it by directly modifying the payment gateway code and directly interface with Stripe, but my concern is that I may inadvertently bypass something in the Payment module which could cause additional problems, and I am also concerned I could miss something and cause an issue with the charge amount, subscription renewal date (since that is abstracted and I cannot access it afaik), etc.
If there is some endpoint I could access that would help with this, that would be greatly appreciated.