Hi,
please make sure it is the root folder, not the wwwroot folder.
Hi,
you can check the document https://abp.io/docs/latest/deployment/configuring-openiddict
Hi,
I have provided the simple code here
and i see there is an error message: Antiforgery token validation failed. The required antiforgery request token was not provided in either form field "__RequestVerificationToken" or header value "RequestVerificationToken"
.
you can add __RequestVerificationToken
to the form : https://learn.microsoft.com/en-us/aspnet/core/blazor/forms/?view=aspnetcore-8.0#input-components-and-forms
<form method="post" data-ajaxForm="false" action="/Payment/GatewaySelection" id="Form">
<AntiforgeryToken />
</form>
Hi,
you need to check your csproj file. It looks like your project file is incorrect
Hi,
here is the document https://abp.io/docs/latest/solution-templates/microservice/adding-new-microservices
Redirection of the gateway selection page has to be a POST request. If you implement it as a GET request, you will get an error. You can use LocalRedirectPreserveMethod to keep the method as POST in the redirected request.
https://abp.io/docs/latest/modules/payment#creating-one-time-payment
You may consider using form
to redirect, for example:
<form method="post" data-ajaxForm="false" action="/Payment/GatewaySelection" id="Form">
</form>
.....
await JSRuntime.InvokeVoidAsync("eval", "document.getElementById('Form').submit()");
HI,
could you share a minimum reproducible project with me ? i will check ,it
shiwei.liang@volosoft.com
Hi,
Sorry, i misunderstood。
Could you share your OnApplicationInitialization
method code