Beispiel #1
0
        public bool ProcessProviderPayType(string merchantId, string cardNumber, string expiration,
                                           decimal amount)
        {
            var provider = new StwipeProvider(merchantId);

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