Пример #1
0
        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));
        }
Пример #2
0
 public static Task <PaymentManagerEndPaymentResponse> EndPaymentAsync(this IPaymentManager Manager, IDictionary <string, string> request, string paymentCode)
 {
     return(Manager.EndPaymentAsync(request, paymentCode, CancellationToken.None));
 }
Пример #3
0
        public static Task <PaymentManagerEndPaymentResponse> EndPaymentAsync(this IPaymentManager Manager, System.Web.HttpRequest request, string paymentCode)
        {
            var req = new HttpRequestWrapper(request);

            return(Manager.EndPaymentAsync(req, paymentCode));
        }