private static void StartPaymentMethod(IndividualOrderCollection indOrders, Order order)
        {
            PaymentMethod pm = PaymentMethodManager.GetPaymentMethodByID(order.PaymentMethodID);

            if (pm.ClassName.Equals("Nop.Payment.WebPay.WebPayPaymentProcessor, Nop.Payment.WebPay"))
            {
                var webPayMethod = new Nop.Payment.WebPay.WebPayPaymentProcessor();
                webPayMethod.PostProcessPayment(order, indOrders);
            }
            else if (pm.ClassName.Equals("Nop.Payment.Assist.AssistPaymentProcessor, Nop.Payment.Assist"))
            {
                var assistPaymentProcessor = new Nop.Payment.Assist.AssistPaymentProcessor();
                assistPaymentProcessor.PostProcessPayment(order, indOrders, NopContext.Current.User);
            }
            else
            {
                PaymentManager.PostProcessPayment(order);
            }
        }
 private static void StartPaymentMethod(IndividualOrderCollection indOrders, Order order)
 {
     PaymentMethod pm = PaymentMethodManager.GetPaymentMethodByID(order.PaymentMethodID);
     if (pm.ClassName.Equals("Nop.Payment.WebPay.WebPayPaymentProcessor, Nop.Payment.WebPay"))
     {
         var webPayMethod = new Nop.Payment.WebPay.WebPayPaymentProcessor();
         webPayMethod.PostProcessPayment(order, indOrders);
     }
     else if (pm.ClassName.Equals("Nop.Payment.Assist.AssistPaymentProcessor, Nop.Payment.Assist"))
     {
         var assistPaymentProcessor = new Nop.Payment.Assist.AssistPaymentProcessor();
         assistPaymentProcessor.PostProcessPayment(order, indOrders, NopContext.Current.User);
     }
     else
     {
         PaymentManager.PostProcessPayment(order);
     }
 }