Hi, I am getting this error while building a payment plugin ------
An error occurred while starting the application.
RouteCreationException: The constraint entry 'Length' - '1' on the route 'Plugins/PaymentPayU/Configure' must have a string value or be of a type which implements 'Microsoft.AspNetCore.Routing.IRouteConstraint'.
Microsoft.AspNetCore.Routing.RouteConstraintBuilder.AddConstraint(string key, object value)
RouteCreationException: An error occurred while creating the route with name 'Plugin.Payments.PayU.Configure' and template 'Plugins/PaymentPayU/Configure'.
Microsoft.AspNetCore.Routing.RouteBase..ctor(string template, string name, IInlineConstraintResolver constraintResolver, RouteValueDictionary defaults, IDictionary<string, object> constraints, RouteValueDictionary dataTokens)
RouteCreationException: The constraint entry 'Length' - '1' on the route 'Plugins/PaymentPayU/Configure' must have a string value or be of a type which implements 'Microsoft.AspNetCore.Routing.IRouteConstraint'.
Microsoft.AspNetCore.Routing.RouteConstraintBuilder.AddConstraint(string key, object value)
Microsoft.AspNetCore.Routing.RouteBase.GetConstraints(IInlineConstraintResolver inlineConstraintResolver, RouteTemplate parsedTemplate, IDictionary<string, object> constraints)
Microsoft.AspNetCore.Routing.RouteBase..ctor(string template, string name, IInlineConstraintResolver constraintResolver, RouteValueDictionary defaults, IDictionary<string, object> constraints, RouteValueDictionary dataTokens)
Show raw exception details
Microsoft.AspNetCore.Routing.RouteCreationException: The constraint entry 'Length' - '1' on the route 'Plugins/PaymentPayU/Configure' must have a string value or be of a type which implements 'Microsoft.AspNetCore.Routing.IRouteConstraint'.
at Microsoft.AspNetCore.Routing.RouteConstraintBuilder.AddConstraint(String key, Object value)
at Microsoft.AspNetCore.Routing.RouteBase.GetConstraints(IInlineConstraintResolver inlineConstraintResolver, RouteTemplate parsedTemplate, IDictionary`2 constraints)
at Microsoft.AspNetCore.Routing.RouteBase..ctor(String template, String name, IInlineConstraintResolver constraintResolver, RouteValueDictionary defaults, IDictionary`2 constraints, RouteValueDictionary dataTokens)
Error while building new payment plugin
Saturday, December 28, 2024 12:08:39 PM
Hi,
It's not a plugin available out of the box in GrandNode. If you want to have a developer support for third party plugins, you can always use it here.
It's not a plugin available out of the box in GrandNode. If you want to have a developer support for third party plugins, you can always use it here.
Best regards,
Patryk
GrandNode Team
Patryk
GrandNode Team
0