Hi,
Sorry, I realize that it is impossible to replace the PrePaymentModel
, you can try this:
[ExposeServices(typeof(IPaymentRequestAppService))]
public class MyPaymentRequestAppService : PaymentRequestAppService
{
private readonly UrlHelper _urlHelper;
public MyPaymentRequestAppService(
IPaymentRequestRepository paymentRequestRepository,
PaymentGatewayResolver paymentMethodResolver,
IDistributedEventBus distributedEventBus, UrlHelper urlHelper)
: base(paymentRequestRepository, paymentMethodResolver, distributedEventBus)
{
_urlHelper = urlHelper;
}
public override Task<PaymentRequestStartResultDto> StartAsync(string gateway, PaymentRequestStartDto inputDto)
{
inputDto.CancelUrl = _urlHelper.ReplaceTenantPlaceholder(inputDto.CancelUrl);
inputDto.ReturnUrl = _urlHelper.ReplaceTenantPlaceholder(inputDto.ReturnUrl);
return base.StartAsync(gateway, inputDto);
}
}
Hi,
You can try:
using StripeOptions = Volo.Payment.Stripe.StripeOptions;
Hi,
Will it work if you try this?
[ExposeServices(typeof(PrePaymentModel))]
public class MyPrePaymentModel: PrePaymentModel
{
public override async Task OnPostAsync()
{
StartResult = await PaymentRequestAppService.StartAsync(StripeConsts.GatewayName, new PaymentRequestStartDto
{
ReturnUrl = UrlHelper.ReplaceTenantPlaceholder(PaymentWebOptions.RootUrl.RemovePostFix("/") + StripeConsts.PostPaymentUrl +
"?SessionId={CHECKOUT_SESSION_ID}"),
CancelUrl = UrlHelper.ReplaceTenantPlaceholder(PaymentWebOptions.RootUrl),
PaymentRequestId = PaymentRequestId
});
PublishableKey = StartResult.ExtraProperties[StripeConsts.ParameterNames.PublishableKey].ToString();
SessionId = StartResult.ExtraProperties[StripeConsts.ParameterNames.SessionId].ToString();
}
}
Hi,
I'm checking
Hi,
May I ask which UI are you using?
Could you provide the full steps or share a project to reproduce the problem? I will try to help you. thanks for your time. my email is shiwei.liang@volosoft.com
I will check it
Hi,
I imagine there would need to be one of these per each (light, dark, dim)?
Yes, just like LeptonxTheme did:
The customization in ThemeBuilder needs to be precisely done so that the resulting Kendo UI elements blend seamlessly into the LeptonX environment.
I'm not a UI expert, I can't give you any more advice.
After generating the customized theme package, it has to be integrated into our existing project architecture that utilizes abp.io. This includes resolving any conflicts and ensuring that the custom theme does not break or interfere with existing styles or functionalities.
May I ask what UI are you using? I will help you integrate the theme into the ABP project.
Hi,
Because there are many versions and changes from 7.0.3 to 7.4.0, I'm not sure what caused the problem.
Could you share a project to reproduce the problem with me? my email is shiwei.liang@volosoft.com
I believe this can help you quickly to resolve the problem.
Hi,
Could you provide the full steps to reproduce the problem? I will check it. thanks