hi
There is no https://localhost:44326/Abp/ApplicationLocalizationScript?cultureName=en
request in your website.
Do you have a custom layout file?
https://github.com/abpframework/abp/blob/dev/modules/basic-theme/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Themes/Basic/Layouts/Application.cshtml#L87-L89
Thanks.
hi
This seems related to the Chrome & angular-oauth2-oidc
https://github.com/manfredsteyer/angular-oauth2-oidc/issues/728#issuecomment-1914817242
Can you try to set disableOAuth2StateCheck
to true
?
https://manfredsteyer.github.io/angular-oauth2-oidc/docs/classes/LoginOptions.html#disableOAuth2StateCheck
Thanks.
hi
Can you share your test project?
liming.ma@volosoft.com
Thanks.
hi
I will check it and provide a solution.
Thanks
Can you add a new JsonConverter
to your caller project?
services.Configure<AbpSystemTextJsonSerializerOptions>(options =>
{
options.JsonSerializerOptions.Converters.Add(new PaymentRequestProductExtraParameterConfigurationJsonConverter());
});
using System;
using System.Text.Json;
using System.Text.Json.Serialization;
using Volo.Payment;
public class PaymentRequestProductExtraParameterConfigurationJsonConverter : JsonConverter<IPaymentRequestProductExtraParameterConfiguration>
{
private const string TypeDiscriminator = "$type";
public override IPaymentRequestProductExtraParameterConfiguration Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
{
using var jsonDoc = JsonDocument.ParseValue(ref reader);
var root = jsonDoc.RootElement;
if (!root.TryGetProperty(TypeDiscriminator, out var typeProp))
{
throw new JsonException($"Missing discriminator field '{TypeDiscriminator}'.");
}
var typeName = typeProp.GetString();
if (typeName.IsNullOrWhiteSpace())
{
throw new JsonException($"Missing type name in discriminator field '{TypeDiscriminator}'.");
}
var actualType = Type.GetType(typeName);
if (actualType == null)
{
throw new JsonException($"Unable to find type: {typeName}");
}
var json = root.GetRawText();
return (IPaymentRequestProductExtraParameterConfiguration)JsonSerializer.Deserialize(json, actualType, options);
}
public override void Write(Utf8JsonWriter writer, IPaymentRequestProductExtraParameterConfiguration value, JsonSerializerOptions options)
{
var type = value.GetType();
var json = JsonSerializer.SerializeToElement(value, type, options);
writer.WriteStartObject();
writer.WriteString(TypeDiscriminator, type.AssemblyQualifiedName);
foreach (var prop in json.EnumerateObject())
{
prop.WriteTo(writer);
}
writer.WriteEndObject();
}
}
hi
Can you share full error logs and exceptions?
Also what is the code of ZendaPaymentRequestProductExtraParameterConfiguration
class.
liming.ma@volosoft.com
Thanks
hi
Can you share the HAR of all HTTP requests and responses?
https://abp.io/support/questions/8622/How-to-enable-Debug-logs-for-troubleshoot-problems#answer-3a1a1c4b-691e-3403-98b9-5f23fa024759
liming.ma@volosoft.com
Thanks.