Skip to content

Commit

Permalink
#7314 Fixed possible eroor with "Headers are read-only" on RePostPaym…
Browse files Browse the repository at this point in the history
…ent method
  • Loading branch information
skoshelev committed Aug 23, 2024
1 parent 2f5a528 commit 536e1d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Presentation/Nop.Web/Controllers/OrderController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public virtual async Task<IActionResult> 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)
Expand Down

0 comments on commit 536e1d0

Please sign in to comment.