public string CreateTokenCustomer(VMCreateCustomer customer) { var client = new managedCreditCardPaymentTestSoapClient(); return client.CreateCustomer(GetEwayHeader(), customer.Title, customer.FirstName, customer.LastName, "", "", "", "", "", "au", customer.Email, "", "", "", "", "", "", "", customer.CCNumber, customer.CCNameOnCard, customer.CCExpiryMonth, customer.CCExpiryYear); }
public string BillCustomer(VMBillCustomer customer) { var client = new managedCreditCardPaymentTestSoapClient(); return client.ProcessPayment(GetEwayHeader(), customer.CustomerID, customer.Amount, customer.InvoiceReference, customer.InvoiceDescription).ewayTrxnStatus; }