Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 年 前
hi
I write payment plugin and when using in LocalHost its work fine .but when put on host my plugin doesn't Redirect From My site to third-party payment gateway and show pop up this error :
'Error executing child request for handler 'System.Web.MVC.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'
6 年 前
check your model classes

SampleClass : BaseNopModel

and use

  public void PostProcessPayment(PostProcessPaymentRequest postProcessPaymentRequest)
  {    
    _httpContext.Response.Redirect(urlToRedirect);
  }


i took same problem
6 年 前
edgmms wrote:
check your model classes

SampleClass : BaseNopModel

and use

  public void PostProcessPayment(PostProcessPaymentRequest postProcessPaymentRequest)
  {    
    _httpContext.Response.Redirect(urlToRedirect);
  }


i took same problem


I don't know when will be PostProseccPayment will be invoked?

My PostProseccPayment is This:

    public void PostProcessPayment(PostProcessPaymentRequest postProcessPaymentRequest)
        {
            var model = CreateDigitModel(postProcessPaymentRequest);
            var sign = DigitalSigniture(model);
            _httpContext.Response.Redirect("https://pep.shaparak.ir/gateway.aspx?" + sign);
        }
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.