Error while building new payment plugin

Monday, November 25, 2024 6:50:28 PM
  • Posted: Saturday, April 6, 2019 8:42 AM
  • 11
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)
0
  • Posted: Monday, April 8, 2019 11:25 AM
  • 953
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.
Best regards,
Patryk

GrandNode Team
0
back to top
Filters