public TransitDebitTests() { var acceptorConfig = new AcceptorConfig { /* The following are the default values for the AcceptorConfig */ //CardDataInputCapability = CardDataInputCapability.MagStripe_KeyEntry, //OperatingEnvironment = OperatingEnvironment.OnPremises_CardAcceptor_Attended, //CardHolderAuthenticationCapability = CardHolderAuthenticationCapability.None, //TerminalOutputCapability = TerminalOutputCapability.Unknown, //PinCaptureCapability = PinCaptureCapability.Unknown, //CardCaptureCapability = false, //CardHolderAuthenticationEntity = CardHolderAuthenticationEntity.NotAuthenticated, //CardDataOutputCapability = CardDataOutputCapability.None }; //ServicesContainer.ConfigureService(new TransitConfig { // AcceptorConfig = acceptorConfig, // DeveloperId = "003226G001", // DeviceId = "88700000322601", // MerchantId = "887000003226", // TransactionKey = "H1O8QTS2JVA9OFMQ3FGEH6D5E28X1KS9" //}); track = new DebitTrackData { Value = "4355567063338=2012101HJNw/ewskBgnZqkL", PinBlock = "62968D2481D231E1A504010024A00014", EncryptionData = EncryptionData.Version2("/wECAQEEAoFGAgEH4gcOTDT6jRZwb3NAc2VjdXJlZXhjaGFuZ2UubmV0m+/d4SO9TEshhRGUUQzVBrBvP/Os1qFx+6zdQp1ejjUCoDmzoUMbil9UG73zBxxTOy25f3Px0p8joyCh8PEWhADz1BkROJT3q6JnocQE49yYBHuFK0obm5kqUcYPfTY09vPOpmN+wp45gJY9PhkJF5XvPsMlcxX4/JhtCshegz4AYrcU/sFnI+nDwhy295BdOkVN1rn00jwCbRcE900kj3UsFfyc", "2") }; }
public void ReadyLinkLoad() { track = new DebitTrackData { Value = ";4110651122223331=21121010000012345678?" }; Transaction response = track.AddValue(50m) .WithCurrency("USD") .Execute(); Assert.IsNotNull(response); // check message data PriorMessageInformation pmi = response.MessageInformation; Assert.IsNotNull(pmi); Assert.AreEqual("1200", pmi.MessageTransactionIndicator); Assert.AreEqual("600008", pmi.ProcessingCode); Assert.AreEqual("200", pmi.FunctionCode); // check response Assert.AreEqual("000", response.ResponseCode); System.Diagnostics.Debug.WriteLine(response.HostResponseDate); System.Diagnostics.Debug.WriteLine(response.SystemTraceAuditNumber); }
public void debitSaleWithNewCryptoURL() { ServicesContainer.ConfigureService(new GatewayConfig { SecretApiKey = "skapi_cert_MaePAQBr-1QAqjfckFC8FTbRTT120bVQUlfVOjgCBw", ServiceUrl = "https://cert.api2-c.heartlandportico.com" }); track = new DebitTrackData { Value = "<E1050711%B4012001000000016^VI TEST CREDIT^251200000000000000000000?|LO04K0WFOmdkDz0um+GwUkILL8ZZOP6Zc4rCpZ9+kg2T3JBT4AEOilWTI|+++++++Dbbn04ekG|11;4012001000000016=25120000000000000000?|1u2F/aEhbdoPixyAPGyIDv3gBfF|+++++++Dbbn04ekG|00|||/wECAQECAoFGAgEH2wYcShV78RZwb3NAc2VjdXJlZXhjaGFuZ2UubmV0PX50qfj4dt0lu9oFBESQQNkpoxEVpCW3ZKmoIV3T93zphPS3XKP4+DiVlM8VIOOmAuRrpzxNi0TN/DWXWSjUC8m/PI2dACGdl/hVJ/imfqIs68wYDnp8j0ZfgvM26MlnDbTVRrSx68Nzj2QAgpBCHcaBb/FZm9T7pfMr2Mlh2YcAt6gGG1i2bJgiEJn8IiSDX5M2ybzqRT86PCbKle/XCTwFFe1X|>", PinBlock = "32539F50C245A6A93D123412324000AA", EncryptionData = new EncryptionData { Version = "01" } }; var response = track.Charge(17.01m) .WithCurrency("USD") .WithAllowDuplicates(true) .Execute(); Assert.IsNotNull(response); Assert.AreEqual("00", response.ResponseCode, response.ResponseMessage); }
public static DebitTrackData VisaReadyLinkSwipe(EntryMethod entryMethod = EntryMethod.Swipe) { DebitTrackData rvalue = new DebitTrackData { Value = ";4110651122223331=21121010000012345678?", EntryMethod = entryMethod }; return(rvalue); }
public DebitServiceTests() { service = new DebitService(new PorticoConfig { SecretApiKey = "skapi_cert_MaePAQBr-1QAqjfckFC8FTbRTT120bVQUlfVOjgCBw" }); card = new DebitTrackData { Value = "<E1050711%B4012001000000016^VI TEST CREDIT^251200000000000000000000?|LO04K0WFOmdkDz0um+GwUkILL8ZZOP6Zc4rCpZ9+kg2T3JBT4AEOilWTI|+++++++Dbbn04ekG|11;4012001000000016=25120000000000000000?|1u2F/aEhbdoPixyAPGyIDv3gBfF|+++++++Dbbn04ekG|00|||/wECAQECAoFGAgEH2wYcShV78RZwb3NAc2VjdXJlZXhjaGFuZ2UubmV0PX50qfj4dt0lu9oFBESQQNkpoxEVpCW3ZKmoIV3T93zphPS3XKP4+DiVlM8VIOOmAuRrpzxNi0TN/DWXWSjUC8m/PI2dACGdl/hVJ/imfqIs68wYDnp8j0ZfgvM26MlnDbTVRrSx68Nzj2QAgpBCHcaBb/FZm9T7pfMr2Mlh2YcAt6gGG1i2bJgiEJn8IiSDX5M2ybzqRT86PCbKle/XCTwFFe1X|>", PinBlock = "32539F50C245A6A93D123412324000AA", EncryptionData = EncryptionData.Version1() }; }
public void DebitSaleSwipe() { var track = new DebitTrackData { Value = "%B4012002000060016^VI TEST CREDIT^251210118039000000000396?;4012002000060016=25121011803939600000?", PinBlock = "32539F50C245A6A93D123412324000AA", EntryMethod = EntryMethod.Swipe, }; var response = track.Charge(17.01m) .WithCurrency("USD") .WithAllowDuplicates(true) .Execute(); Assert.IsNotNull(response); Assert.AreEqual(SUCCESS, response?.ResponseCode); Assert.AreEqual(GetMapping(TransactionStatus.Captured), response?.ResponseMessage); }
public void Init() { ServicesContainer.ConfigureService(new GatewayConfig { SecretApiKey = "skapi_cert_MaePAQBr-1QAqjfckFC8FTbRTT120bVQUlfVOjgCBw", ServiceUrl = "https://cert.api2.heartlandportico.com", OpenPathApiKey = "fteaWC5MYeVKdZ2EaQASDDgCtAS4Fh2zrzW4Yyds", OpenPathApiUrl = "http://localhost:35808/v1/globalpayments" }); track = new DebitTrackData { Value = "<E1050711%B4012001000000016^VI TEST CREDIT^251200000000000000000000?|LO04K0WFOmdkDz0um+GwUkILL8ZZOP6Zc4rCpZ9+kg2T3JBT4AEOilWTI|+++++++Dbbn04ekG|11;4012001000000016=25120000000000000000?|1u2F/aEhbdoPixyAPGyIDv3gBfF|+++++++Dbbn04ekG|00|||/wECAQECAoFGAgEH2wYcShV78RZwb3NAc2VjdXJlZXhjaGFuZ2UubmV0PX50qfj4dt0lu9oFBESQQNkpoxEVpCW3ZKmoIV3T93zphPS3XKP4+DiVlM8VIOOmAuRrpzxNi0TN/DWXWSjUC8m/PI2dACGdl/hVJ/imfqIs68wYDnp8j0ZfgvM26MlnDbTVRrSx68Nzj2QAgpBCHcaBb/FZm9T7pfMr2Mlh2YcAt6gGG1i2bJgiEJn8IiSDX5M2ybzqRT86PCbKle/XCTwFFe1X|>", PinBlock = "32539F50C245A6A93D123412324000AA", EncryptionData = new EncryptionData { Version = "01" } }; }
public void DebitSaleContactlessChip_NewDebitTrackDataDetails() { var debitTrack = new DebitTrackData { Value = ";4024720012345671=18125025432198712345?", PinBlock = "AFEC374574FC90623D010000116001EE", EntryMethod = EntryMethod.Proximity }; const string tag = "82021C008407A0000002771010950580000000009A031709289C01005F280201245F2A0201245F3401019F02060000000010009F03060000000000009F080200019F090200019F100706010A03A420009F1A0201249F26089CC473F4A4CE18D39F2701809F3303E0F8C89F34030100029F3501229F360200639F370435EFED379F410400000019"; var response = debitTrack.Charge(amount) .WithCurrency(currency) .WithTagData(tag) .Execute(); AssertTransactionResponse(response, TransactionStatus.Captured); Assert.AreEqual("DEBIT", response.CardType); }
private Transaction DebitSale(double amount) { DebitTrackData track = TestCards.AsDebit(TestCards.VisaSwipe(), "32539F50C245A6A93D123412324000AA"); AuthorizationBuilder builder = track.Charge(new decimal(amount)) .WithCurrency("USD"); if (configName.Equals("NoBatch")) { builder.WithBatchNumber(batchProvider.GetBatchNumber(), batchProvider.GetSequenceNumber()); } Transaction response = builder.Execute(configName); Assert.IsNotNull(response); Assert.AreEqual("000", response.ResponseCode); return(response); }
public void Test_Indoor_Discover_E2E_50() { DebitTrackData track = new DebitTrackData { Value = ";6510000000000018=23122011000010600000?", PinBlock = "62968D2481D231E1A504010024A00014" }; Transaction response = track.Charge(79m) .WithCurrency("USD") .WithTagData("5F280208409F080200024F07A0000001523010500A4D617374657243617264820238008407A00000015230108E0A00000000000000001F00950500008080009A031901099B02E8009C01405F24032212315F25030401015F2A0208405F300202015F3401009F01060000000000019F02060000000006009F03060000000000009F0607A00000015230109F0702FF009F090200029F0D05B8508000009F0E0500000000009F0F05B8708098009F10080105A000030000009F120A4D6173746572436172649F160F3132333435363738393031323334359F1A0208409F1C0831313232333334349F1E0831323334353637389F21030710109F26080631450565A30B759F2701809F330360F0C89F34033F00019F3501219F360200049F3704C6B1A04F9F3901059F4005F000A0B0019F4104000000869F4C0865C862608A23945A9F4E0D54657374204D65726368616E74") .Execute(); Assert.IsNotNull(response); System.Diagnostics.Debug.WriteLine(response.HostResponseDate); System.Diagnostics.Debug.WriteLine(response.SystemTraceAuditNumber); Assert.AreEqual("000", response.ResponseCode); }
public void Init() { ServicesContainer.ConfigureService(new PorticoConfig { LicenseId = 124964, SiteId = 124992, DeviceId = 145, Username = "******", Password = "******" }); track = new DebitTrackData { Value = ";4024720012345671=18125025432198712345?", EntryMethod = EntryMethod.Proximity, PinBlock = "AFEC374574FC90623D010000116001EE" }; tagData = "82021C008407A0000002771010950580000000009A031709289C01005F280201245F2A0201245F3401019F02060000000010009F03060000000000009F080200019F090200019F100706010A03A420009F1A0201249F26089CC473F4A4CE18D39F2701809F3303E0F8C89F34030100029F3501229F360200639F370435EFED379F410400000019"; }
public void DebitSaleSwipeEncrypted() { var track = new DebitTrackData { Value = "<E1050711%B4012001000000016^VI TEST CREDIT^251200000000000000000000?|LO04K0WFOmdkDz0um+GwUkILL8ZZOP6Zc4rCpZ9+kg2T3JBT4AEOilWTI|+++++++Dbbn04ekG|11;4012001000000016=25120000000000000000?|1u2F/aEhbdoPixyAPGyIDv3gBfF|+++++++Dbbn04ekG|00|||/wECAQECAoFGAgEH2wYcShV78RZwb3NAc2VjdXJlZXhjaGFuZ2UubmV0PX50qfj4dt0lu9oFBESQQNkpoxEVpCW3ZKmoIV3T93zphPS3XKP4+DiVlM8VIOOmAuRrpzxNi0TN/DWXWSjUC8m/PI2dACGdl/hVJ/imfqIs68wYDnp8j0ZfgvM26MlnDbTVRrSx68Nzj2QAgpBCHcaBb/FZm9T7pfMr2Mlh2YcAt6gGG1i2bJgiEJn8IiSDX5M2ybzqRT86PCbKle/XCTwFFe1X|>", PinBlock = "32539F50C245A6A93D123412324000AA", EntryMethod = EntryMethod.Swipe, EncryptionData = new EncryptionData { Version = "01" } }; var response = track.Charge(17.01m) .WithCurrency("USD") .WithAllowDuplicates(true) .Execute(); Assert.IsNotNull(response); Assert.AreEqual(SUCCESS, response?.ResponseCode); Assert.AreEqual(GetMapping(TransactionStatus.Captured), response?.ResponseMessage); }
public void DebitSaleContactlessChip() { var track = new DebitTrackData { Value = ";4024720012345671=18125025432198712345?", EntryMethod = EntryMethod.Proximity, PinBlock = "AFEC374574FC90623D010000116001EE" }; string tagData = "82021C008407A0000002771010950580000000009A031709289C01005F280201245F2A0201245F3401019F02060000000010009F03060000000000009F080200019F090200019F100706010A03A420009F1A0201249F26089CC473F4A4CE18D39F2701809F3303E0F8C89F34030100029F3501229F360200639F370435EFED379F410400000019"; var response = track.Charge(25.95m) .WithCurrency("USD") .WithAllowDuplicates(true) .WithTagData(tagData) .Execute(); Assert.IsNotNull(response); Assert.AreEqual(SUCCESS, response?.ResponseCode); Assert.AreEqual(GetMapping(TransactionStatus.Captured), response?.ResponseMessage); }
public void CloseBatch_ContactlessTransaction() { var debitCard = new DebitTrackData { Value = ";4024720012345671=18125025432198712345?", EntryMethod = EntryMethod.Proximity, PinBlock = "AFEC374574FC90623D010000116001EE" }; var transaction = debitCard.Charge(1.99m) .WithCurrency(CURRENCY) .WithTagData(TAG_DATA) .Execute(); AssertTransactionResponse(transaction, TransactionStatus.Captured); //TODO - remove when api fix polling issue Thread.Sleep(1000); var batchSummary = BatchService.CloseBatch(transaction.BatchSummary.BatchReference); AssertBatchCloseResponse(batchSummary, 1.99m); }
public void CloseBatch_Reverse_DebitTrackData() { var debitCard = new DebitTrackData { Value = "%B4012002000060016^VI TEST CREDIT^251210118039000000000396?;4012002000060016=25121011803939600000?", PinBlock = "32539F50C245A6A93D123412324000AA", EntryMethod = EntryMethod.Swipe, }; var transaction = debitCard.Authorize(1.99m) .WithCurrency(CURRENCY) .Execute(); AssertTransactionResponse(transaction, TransactionStatus.Preauthorized); var reverseTransaction = transaction.Reverse() .WithCurrency(CURRENCY) .Execute(); AssertTransactionResponse(reverseTransaction, TransactionStatus.Reversed); //TODO - remove when api fix polling issue Thread.Sleep(1000); var exceptionCaught = false; try { BatchService.CloseBatch(transaction.BatchSummary.BatchReference); } catch (GatewayException ex) { exceptionCaught = true; Assert.AreEqual("MANDATORY_DATA_MISSING", ex.ResponseCode); Assert.AreEqual("40223", ex.ResponseMessage); Assert.AreEqual("Status Code: BadRequest - Request expects the batch_id", ex.Message); } finally { Assert.IsTrue(exceptionCaught); } }
public void CloseBatch_DebitTrackData() { var debitCard = new DebitTrackData { Value = "%B4012002000060016^VI TEST CREDIT^251210118039000000000396?;4012002000060016=25121011803939600000?", PinBlock = "32539F50C245A6A93D123412324000AA", EntryMethod = EntryMethod.Swipe, }; var transaction = debitCard.Charge(1.99m) .WithCurrency(CURRENCY) .Execute(); AssertTransactionResponse(transaction, TransactionStatus.Captured); //TODO - remove when api fix polling issue Thread.Sleep(1000); var batchSummary = BatchService.CloseBatch(transaction.BatchSummary.BatchReference); AssertBatchCloseResponse(batchSummary, 1.99m); }
public NWSDebitTests() { Address address = new Address { Name = "My STORE", StreetAddress1 = "1 MY STREET", City = "MYTOWN", PostalCode = "90210", State = "KY", Country = "USA" }; AcceptorConfig acceptorConfig = new AcceptorConfig { Address = address, // data code values CardDataInputCapability = CardDataInputCapability.ContactlessEmv_ContactEmv_MagStripe_KeyEntry, TerminalOutputCapability = TerminalOutputCapability.Printing_Display, CardHolderAuthenticationCapability = CardHolderAuthenticationCapability.PIN, //CardHolderAuthenticationEntity = CardHolderAuthenticationEntity.AuthorizingAgent, //OperatingEnvironment = OperatingEnvironment.OnPremises_CardAcceptor_Unattended, // hardware software config values HardwareLevel = "34", SoftwareLevel = "21205710", // pos configuration values SupportsPartialApproval = true, SupportsShutOffAmount = true, SupportsReturnBalance = true, SupportsDiscoverNetworkReferenceId = true, SupportsAvsCnvVoidReferrals = true }; // gateway config NetworkGatewayConfig config = new NetworkGatewayConfig(NetworkGatewayType.NWS) { ServiceUrl = "test.txns-c.secureexchange.net", PrimaryPort = 15031, SecondaryEndpoint = "test.txns-e.secureexchange.net", SecondaryPort = 15031, CompanyId = "SPSA", TerminalId = "NWSDOTNET01", UniqueDeviceId = "0001", AcceptorConfig = acceptorConfig, EnableLogging = true, StanProvider = StanGenerator.GetInstance(), BatchProvider = BatchProvider.GetInstance() }; ServicesContainer.ConfigureService(config); // with merchant type config.MerchantType = "5542"; ServicesContainer.ConfigureService(config, "ICR"); // forced timeout config.ForceGatewayTimeout = true; ServicesContainer.ConfigureService(config, "timeout"); // debit card track = new DebitTrackData { Value = "4355567063338=2012101HJNw/ewskBgnZqkL", PinBlock = "62968D2481D231E1A504010024A00014", EncryptionData = EncryptionData.Version2("/wECAQEEAoFGAgEH4gcOTDT6jRZwb3NAc2VjdXJlZXhjaGFuZ2UubmV0m+/d4SO9TEshhRGUUQzVBrBvP/Os1qFx+6zdQp1ejjUCoDmzoUMbil9UG73zBxxTOy25f3Px0p8joyCh8PEWhADz1BkROJT3q6JnocQE49yYBHuFK0obm5kqUcYPfTY09vPOpmN+wp45gJY9PhkJF5XvPsMlcxX4/JhtCshegz4AYrcU/sFnI+nDwhy295BdOkVN1rn00jwCbRcE900kj3UsFfyc", "2") }; }
public NWSCreditTests() { Address address = new Address { Name = "My STORE", StreetAddress1 = "1 MY STREET", City = "MYTOWN", PostalCode = "90210", State = "KY", Country = "USA" }; AcceptorConfig acceptorConfig = new AcceptorConfig { Address = address, // data code values CardDataInputCapability = CardDataInputCapability.ContactlessEmv_ContactEmv_MagStripe_KeyEntry, // Inside //CardDataInputCapability = CardDataInputCapability.ContactlessEmv_ContactEmv_MagStripe, // Outside CardHolderAuthenticationCapability = CardHolderAuthenticationCapability.PIN, CardHolderAuthenticationEntity = CardHolderAuthenticationEntity.ByMerchant, TerminalOutputCapability = TerminalOutputCapability.Printing_Display, //OperatingEnvironment = OperatingEnvironment.OnPremises_CardAcceptor_Unattended, // // hardware software config values HardwareLevel = "34", SoftwareLevel = "21205710", // pos configuration values SupportsPartialApproval = false, SupportsShutOffAmount = true, SupportsReturnBalance = true, SupportsDiscoverNetworkReferenceId = true, SupportsAvsCnvVoidReferrals = true, SupportsEmvPin = true, // DE 43-34 Message Data EchoSettlementData = true }; // gateway config NetworkGatewayConfig config = new NetworkGatewayConfig(NetworkGatewayType.NWS) { ServiceUrl = "test.txns-c.secureexchange.net", PrimaryPort = 15031, SecondaryEndpoint = "test.txns-e.secureexchange.net", SecondaryPort = 15031, CompanyId = "SPSA", TerminalId = "NWSDOTNET01", UniqueDeviceId = "0001", AcceptorConfig = acceptorConfig, EnableLogging = true, StanProvider = StanGenerator.GetInstance(), BatchProvider = BatchProvider.GetInstance() }; ServicesContainer.ConfigureService(config); // with merchant type config.MerchantType = "5542"; ServicesContainer.ConfigureService(config, "ICR"); // VISA card = TestCards.VisaManual(true, true); track = TestCards.VisaSwipe(); // VISA CORPORATE //card = TestCards.VisaCorporateManual(true, true); //track = TestCards.VisaCorporateSwipe(); // VISA PURCHASING //card = TestCards.VisaPurchasingManual(true, true); //track = TestCards.VisaPurchasingSwipe(); // MASTERCARD //card = TestCards.MasterCardManual(true, true); //track = TestCards.MasterCardSwipe(); // MASTERCARD PURCHASING //card = TestCards.MasterCardPurchasingManual(true, true); //track = TestCards.MasterCardPurchasingSwipe(); // MASTERCARD 2 //card = TestCards.MasterCard2Manual(true, true); //track = TestCards.MasterCard2Swipe(); // AMEX //card = TestCards.AmexManual(true, true); //track = TestCards.AmexSwipe(); // DISCOVER //card = TestCards.DiscoverManual(true, true); //track = TestCards.DiscoverSwipe(); //Visa ReadyLink //readylinkCard = TestCards.VisaReadyLinkManual(true, true); readylinkTrack = TestCards.VisaReadyLinkSwipe(); }
public NWSEncryptionTests() { Address address = new Address(); address.Name = "My STORE"; address.StreetAddress1 = "1 MY STREET"; address.City = "MYTOWN"; address.PostalCode = "90210"; address.State = "KY"; address.Country = "USA"; AcceptorConfig acceptorConfig = new AcceptorConfig(); acceptorConfig.Address = address; // data code values acceptorConfig.CardDataInputCapability = CardDataInputCapability.ContactlessEmv_ContactEmv_MagStripe_KeyEntry; acceptorConfig.TerminalOutputCapability = TerminalOutputCapability.Printing_Display; // hardware software config values acceptorConfig.HardwareLevel = "34"; acceptorConfig.SoftwareLevel = "21205710"; // pos configuration values acceptorConfig.SupportsPartialApproval = true; acceptorConfig.SupportsShutOffAmount = true; acceptorConfig.SupportsReturnBalance = true; acceptorConfig.SupportsDiscoverNetworkReferenceId = true; acceptorConfig.SupportsAvsCnvVoidReferrals = true; acceptorConfig.SupportedEncryptionType = EncryptionType.TEP2; // gateway config NetworkGatewayConfig config = new NetworkGatewayConfig(NetworkGatewayType.NWS); config.ServiceUrl = "test.txns-c.secureexchange.net"; config.PrimaryPort = 15031; config.SecondaryEndpoint = "test.txns-e.secureexchange.net"; config.SecondaryPort = 15031; config.CompanyId = "SPSA"; config.TerminalId = "NWSDOTNET01"; config.AcceptorConfig = acceptorConfig; config.EnableLogging = true; config.StanProvider = StanGenerator.GetInstance(); config.BatchProvider = BatchProvider.GetInstance(); ServicesContainer.ConfigureService(config); // AMEX //card = TestCards.AmexManualEncrypted(); ////cardWithCvn = TestCards.AmexManualEncrypted(); ////cardWithCvn.Cvn = "9072488"; //track = TestCards.AmexSwipeEncrypted(); // DISCOVER card = TestCards.DiscoverManualEncrypted(); //cardWithCvn = TestCards.DiscoverManualEncrypted(); //cardWithCvn.Cvn = "703"; track = TestCards.DiscoverSwipeEncryptedV2(); // MASTERCARD //card = TestCards.MasterCardManualEncrypted(); ////cardWithCvn = TestCards.MasterCardManualEncrypted(); ////cardWithCvn.Cvn = "7803754"; //track = TestCards.MasterCardSwipeEncryptedV2(); // VISA //card = TestCards.VisaManualEncrypted(true, true); ////cardWithCvn = TestCards.VisaManualEncrypted(); ////cardWithCvn.Cvn = "7803754"; //track = TestCards.VisaSwipeEncryptedV2(); // DEBIT debit = new DebitTrackData(); debit.Value = ";6090001234567891=2112120000000000001?"; debit.PinBlock = "62968D2481D231E1A504010024A00014"; debit.EncryptionData = EncryptionData.Version2("/wECAQEEAoFGAgEH4gcOTDT6jRZwb3NAc2VjdXJlZXhjaGFuZ2UubmV0m+/d4SO9TEshhRGUUQzVBrBvP/Os1qFx+6zdQp1ejjUCoDmzoUMbil9UG73zBxxTOy25f3Px0p8joyCh8PEWhADz1BkROJT3q6JnocQE49yYBHuFK0obm5kqUcYPfTY09vPOpmN+wp45gJY9PhkJF5XvPsMlcxX4/JhtCshegz4AYrcU/sFnI+nDwhy295BdOkVN1rn00jwCbRcE900kj3UsFfyc", "2"); }