public JsonResult ChargeSubmit(decimal amount) { string webRoot = Request.Url.Scheme + "://" + HttpContext.Request.Url.Host + (HttpContext.Request.Url.Port == 80 ? "" : (":" + HttpContext.Request.Url.Port.ToString())); var model = BillingApplication.PaymentList(CurrentSellerManager.ShopId, amount, webRoot); return(Json(model.models)); }
public JsonResult ChargeSubmit(decimal amount) { string webRoot = CurrentUrlHelper.CurrentUrlNoPort(); var model = BillingApplication.PaymentList(CurrentSellerManager.ShopId, amount, webRoot); return(Json(model.models)); }