private static PaymentCollection PopulateOrderPayments(MobilePghOrderRequestViewModel request, decimal amount)
        {
            if (request == null)
            {
                return(null);
            }
            var payment = OrderProvider.GetBasePayment("CreditCard");

            payment.Amount = amount;
            return(new PaymentCollection
            {
                payment
            });
        }
Beispiel #2
0
 protected Payment GetBasePaymentInfo()
 {
     return(OrderProvider.GetBasePayment((null != TabControl as RadioButtonList)
         ? (TabControl as RadioButtonList).SelectedItem.Text
         : string.Empty));
 }