Exemplo n.º 1
0
        public bool ProcessProviderPayType(string merchantId, string cardNumber, string expiration,
                                           decimal amount)
        {
            var provider = new StwipeProvider(merchantId);

            return(provider.Pay(cardNumber, expiration, amount));
        }
Exemplo n.º 2
0
 private static void MakeAPayment(StwipeProvider provider) //second change
 {
     provider.Pay("WERWERWER", "23", 200);                 //third change
 }