public static void Main() { string accountID = "MERCHANT'S ACCOUNT ID HERE"; string secretKey = "MERCHANT'S SECRET KEY HERE"; string mode = "TEST"; // Merchant's Account ID // Merchant's Secret Key // Transaction Mode: TEST (can also be LIVE) BluePayPayment_BP10Emu payment = new BluePayPayment_BP10Emu( accountID, secretKey, mode); // Card Number: 4111111111111111 // Card Expire: 12/15 // Card CVV2: 123 payment.setCCInformation( "4111111111111111", "1215", "123"); // First Name: Bob // Last Name: Tester // Address1: 123 Test St. // Address2: Apt #500 // City: Testville // State: IL // Zip: 54321 // Country: USA payment.setCustomerInformation( "Bob", "Tester", "123 Test St.", "Apt #500", "Testville", "IL", "54321", "USA"); // Phone #: 123-123-1234 payment.setPhone("1231231234"); // Email Address: [email protected] payment.setEmail("*****@*****.**"); // Custom ID1: 12345 payment.setCustomID1("12345"); // Custom ID2: 09866 payment.setCustomID2("09866"); // Invoice ID: 50000 payment.setInvoiceID("500000"); // Order ID: 10023145 payment.setOrderID("10023145"); // Tip Amount: $6.00 payment.setAmountTip("6.00"); // Tax Amount: $3.50 payment.setAmountTax("3.50"); // Food Amount: $3.11 payment.setAmountFood("3.11"); // Miscellaneous Amount: $5.00 payment.setAmountMisc("5.00"); // Sale Amount: $15.00 payment.sale("15.00"); payment.Process(); // Outputs response from BluePay gateway Console.Write("Transaction ID: " + payment.getTransID() + Environment.NewLine); Console.Write("Message: " + payment.getMessage() + Environment.NewLine); Console.Write("Status: " + payment.getStatus() + Environment.NewLine); Console.Write("AVS Result: " + payment.getAVS() + Environment.NewLine); Console.Write("CVV2 Result: " + payment.getCVV2() + Environment.NewLine); Console.Write("Masked Payment Account: " + payment.getMaskedPaymentAccount() + Environment.NewLine); Console.Write("Card Type: " + payment.getCardType() + Environment.NewLine); Console.Write("Authorization Code: " + payment.getAuthCode() + Environment.NewLine); }