private TransactionResponse PayWithCreditCard(IGateway gateway, int?peopleId, Transaction transaction) { return(gateway.PayWithCreditCard(peopleId ?? 0, AmtToPay ?? 0, CreditCard, DbUtil.NormalizeExpires(Expires).ToString2("MMyy"), Description, transaction.Id, CVV, Email, First, Last, Address, Address2, City, State, Country, Zip, Phone)); }
private static TransactionResponse PayWithCreditCard(IGateway gateway, PaymentForm paymentForm, int?peopleId, Transaction transaction) { return(gateway.PayWithCreditCard(peopleId ?? 0, paymentForm.AmtToPay ?? 0, paymentForm.CreditCard, DbUtil.NormalizeExpires(paymentForm.Expires).ToString2("MMyy"), paymentForm.Description, transaction.Id, paymentForm.CVV, paymentForm.Email, paymentForm.First, paymentForm.Last, paymentForm.Address, paymentForm.Address2, paymentForm.City, paymentForm.State, paymentForm.Country, paymentForm.Zip, paymentForm.Phone)); }
private TransactionResponse PayWithCreditCard(IGateway gateway, int? peopleId, Transaction transaction) { return gateway.PayWithCreditCard(peopleId ?? 0, AmtToPay ?? 0, CreditCard, DbUtil.NormalizeExpires(Expires).ToString2("MMyy"), Description, transaction.Id, CVV, Email, First, Last, Address, Address2, City, State, Country, Zip, Phone); }