protected void lbNewCard_Click(object sender, EventArgs e) { string merchantId = ConfigurationManager.AppSettings["MerchantID"]; string account = ConfigurationManager.AppSettings["Account"]; string sharedSecret = ConfigurationManager.AppSettings["SharedSecret"]; Merchant merchant = new Merchant(merchantId, account, sharedSecret); Order order = new Order("123123wdfsdf", "GBP", 00); CreditCard card = new CreditCard("MC", "5425232820001308", "0118", "Phil McCracken", "123", 1); Address address = new Address("", "", "", "", "", "", "", ""); PhoneNumbers numbers = new PhoneNumbers("", "", "", ""); Payer payer = new Payer("Business", "test", "", "First", "Second", "", address, numbers, "", new ArrayList()); string timestamp = Common.GenerateTimestamp(); string cardRef = "card1"; RealVaultTransactionResponse resp = RealVault.CardNew(timestamp, cardRef, merchant, order, card, payer); lblErrorCode.Text = resp.ResultCode.ToString(); lblResult.Text = resp.Message; }