Upgraded from v430.
Example plugin:
PayPalStandard
Controller
Nop.Plugin.Payments.PayPalStandard.Controllers.PaymentPayPalStandardController.
Issue:
routings work only if English is enabled, if English is disabled this results in "Page not found"
Example routings
RedirectToRoute( "ShoppingCart" );
RedirectToRoute( "OrderDetails", new { orderId = order.Id } );
etc.
Reproduce:
- Disable English and use other language, in my case it is NL
- Check out with PayPalStandard
- Cancel payment calls this url
http://localhost:65283/Plugins/PaymentPayPalStandard/CancelOrder
- RedirectToRoute( "OrderDetails", new { orderId = order.Id } ); is called
- context.HttpContext.Request.Path = "/en/orderdetails/123456" (en is default in GetLanguageRoutePattern() )
- url rewitten to "/nl/en/orderdetails/133169"
- url rewritten to "/page-not-found"
- url rewritten to "/nl/page-not-found"
Greetings,
Mo