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'
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.