diff --git a/src/Presentation/Nop.Web/Controllers/OrderController.cs b/src/Presentation/Nop.Web/Controllers/OrderController.cs index d28323afd49..492ac03d7a3 100644 --- a/src/Presentation/Nop.Web/Controllers/OrderController.cs +++ b/src/Presentation/Nop.Web/Controllers/OrderController.cs @@ -239,7 +239,7 @@ public virtual async Task RePostPayment(int orderId) if (_webHelper.IsRequestBeingRedirected || _webHelper.IsPostBeingDone) { //redirection or POST has been done in PostProcessPayment - return Content("Redirected"); + return new EmptyResult(); } //if no redirection has been done (to a third-party payment page)