public static Task <PaymentManagerEndPaymentResponse> EndPaymentAsync(this IPaymentManager Manager, System.Web.HttpRequestBase request, string paymentCode) { var data = request.ToDictionary(RequestRead.QueryAndForm); data.Add("HttpMethod", request.HttpMethod); data.Add("Url", request.Url.AbsoluteUri); return(Manager.EndPaymentAsync(data, paymentCode, CancellationToken.None)); }
public static Task <PaymentManagerEndPaymentResponse> EndPaymentAsync(this IPaymentManager Manager, IDictionary <string, string> request, string paymentCode) { return(Manager.EndPaymentAsync(request, paymentCode, CancellationToken.None)); }
public static Task <PaymentManagerEndPaymentResponse> EndPaymentAsync(this IPaymentManager Manager, System.Web.HttpRequest request, string paymentCode) { var req = new HttpRequestWrapper(request); return(Manager.EndPaymentAsync(req, paymentCode)); }