public static void Main(string[] args) { string order_id = "dotnetaschdebitrecurtest12323"; string store_id = "monusqa002"; string api_token = "qatoken"; string amount = "1.00"; //ACHInfo Variables string sec = "ppd"; string cust_first_name = "Bob"; string cust_last_name = "Smith"; string cust_address1 = "3300 Bloor St W"; string cust_address2 = "4th floor west tower"; string cust_city = "Toronto"; string cust_state = "ON"; string cust_zip = "M1M1M1"; string routing_num = "490000018"; string account_num = "222222"; string check_num = "11"; string account_type = "checking"; string micr = "t071000013t742941347o128"; string dl_num = "CO-12312312"; string magstripe = "no"; string image_front = ""; string image_back = ""; string processing_country_code = "US"; bool status_check = false; ACHInfo achinfo = new ACHInfo(sec, cust_first_name, cust_last_name, cust_address1, cust_address2, cust_city, cust_state, cust_zip, routing_num, account_num, check_num, account_type, micr); achinfo.SetImgFront(image_front); achinfo.SetImgBack(image_back); achinfo.SetDlNum(dl_num); achinfo.SetMagstripe(magstripe); ACHDebit achdebit = new ACHDebit(); achdebit.SetOrderId(order_id); achdebit.SetAmount(amount); achdebit.SetAchInfo(achinfo); //************************OPTIONAL VARIABLES*************************** //Cust_id Variable string cust_id = "customer1"; achdebit.SetCustId(cust_id); //Recur Variables //hard coded values for testing string recur_unit = "month"; //valid values are (day,week,month) string start_now = "true"; //valid values are (true,false) string start_date = "2018/10/01"; string num_recurs = "12"; string period = "1"; string recur_amount = "1.01"; Recur recurInfo = new Recur(recur_unit, start_now, start_date, num_recurs, period, recur_amount); achdebit.SetRecurInfo(recurInfo); HttpsPostRequest mpgReq = new HttpsPostRequest(); mpgReq.SetProcCountryCode(processing_country_code); mpgReq.SetTestMode(true); //false or comment out this line for production transactions mpgReq.SetStoreId(store_id); mpgReq.SetApiToken(api_token); mpgReq.SetTransaction(achdebit); mpgReq.SetStatusCheck(status_check); mpgReq.Send(); try { Receipt receipt = mpgReq.GetReceipt(); Console.WriteLine("CardType = " + receipt.GetCardType()); Console.WriteLine("TransAmount = " + receipt.GetTransAmount()); Console.WriteLine("TxnNumber = " + receipt.GetTxnNumber()); Console.WriteLine("ReceiptId = " + receipt.GetReceiptId()); Console.WriteLine("TransType = " + receipt.GetTransType()); Console.WriteLine("ReferenceNum = " + receipt.GetReferenceNum()); Console.WriteLine("ResponseCode = " + receipt.GetResponseCode()); Console.WriteLine("Message = " + receipt.GetMessage()); Console.WriteLine("Complete = " + receipt.GetComplete()); Console.WriteLine("TransDate = " + receipt.GetTransDate()); Console.WriteLine("TransTime = " + receipt.GetTransTime()); Console.WriteLine("Ticket = " + receipt.GetTicket()); Console.WriteLine("TimedOut = " + receipt.GetTimedOut()); Console.ReadLine(); } catch (Exception e) { Console.WriteLine(e); } }
public static void Main(string[] args) { string order_id = "Test" + DateTime.Now.ToString("yyyyMMddhhmmss"); string store_id = "monusqa138"; string api_token = "qatoken"; //string status = "true"; string amount = "10.00"; //ACHInfo Variables string sec = "ppd"; string cust_first_name = "Bob"; string cust_last_name = "Smith"; string cust_address1 = "3300 Bloor St W"; string cust_address2 = "4th floor west tower"; string cust_city = "Toronto"; string cust_state = "ON"; string cust_zip = "M1M1M1"; string routing_num = "490000018"; string account_num = "222222"; string check_num = "11"; string account_type = "checking"; string micr = "t071000013t742941347o128"; string dl_num = "CO-12312312"; string magstripe = "no"; string image_front = ""; string image_back = ""; string convenience_fee = "2.00"; string processing_country_code = "US"; bool status_check = false; ACHInfo achinfo = new ACHInfo(sec, cust_first_name, cust_last_name, cust_address1, cust_address2, cust_city, cust_state, cust_zip, routing_num, account_num, check_num, account_type, micr); ConvFeeInfo convFeeInfo = new ConvFeeInfo(); convFeeInfo.SetConvenienceFee(convenience_fee); achinfo.SetImgFront(image_front); achinfo.SetImgBack(image_back); achinfo.SetDlNum(dl_num); achinfo.SetMagstripe(magstripe); ACHDebit achdebit = new ACHDebit(); achdebit.SetOrderId(order_id); achdebit.SetAmount(amount); achdebit.SetAchInfo(achinfo); achdebit.SetConvFeeInfo(convFeeInfo); //************************OPTIONAL VARIABLES*************************** //Cust_id Variable string cust_id = "customer1"; achdebit.SetCustId(cust_id); HttpsPostRequest mpgReq = new HttpsPostRequest(); mpgReq.SetProcCountryCode(processing_country_code); mpgReq.SetTestMode(true); //false or comment out this line for production transactions mpgReq.SetStoreId(store_id); mpgReq.SetApiToken(api_token); mpgReq.SetTransaction(achdebit); mpgReq.SetStatusCheck(status_check); mpgReq.Send(); /*Status Check Example * ACHHttpsPostRequest mpgReq = new ACHHttpsPostRequest(host, store_id, api_token, status, achdebit); */ /********************** REQUEST ************************/ try { Receipt receipt = mpgReq.GetReceipt(); Console.WriteLine("CardType = " + receipt.GetCardType()); Console.WriteLine("TransAmount = " + receipt.GetTransAmount()); Console.WriteLine("TxnNumber = " + receipt.GetTxnNumber()); Console.WriteLine("ReceiptId = " + receipt.GetReceiptId()); Console.WriteLine("TransType = " + receipt.GetTransType()); Console.WriteLine("ReferenceNum = " + receipt.GetReferenceNum()); Console.WriteLine("ResponseCode = " + receipt.GetResponseCode()); Console.WriteLine("Message = " + receipt.GetMessage()); Console.WriteLine("Complete = " + receipt.GetComplete()); Console.WriteLine("TransDate = " + receipt.GetTransDate()); Console.WriteLine("TransTime = " + receipt.GetTransTime()); Console.WriteLine("Ticket = " + receipt.GetTicket()); Console.WriteLine("TimedOut = " + receipt.GetTimedOut()); Console.WriteLine("CfSuccess = " + receipt.GetCfSuccess()); Console.WriteLine("CfStatus = " + receipt.GetCfStatus()); Console.WriteLine("FeeAmount = " + receipt.GetFeeAmount()); Console.WriteLine("FeeRate = " + receipt.GetFeeRate()); Console.WriteLine("FeeType = " + receipt.GetFeeType()); //Console.WriteLine("StatusCode = " + receipt.GetStatusCode()); //Console.WriteLine("StatusMessage = " + receipt.GetStatusMessage()); Console.ReadLine(); } catch (Exception e) { Console.WriteLine(e); } }
public static void Main(string[] args) { string order_id = "dotnetachdebitcustinfotest1"; string store_id = "monusqa002"; string api_token = "qatoken"; string amount = "1.00"; //ACHInfo Variables string sec = "ppd"; string cust_first_name = "Bob"; string cust_last_name = "Smith"; string cust_address1 = "3300 Bloor St W"; string cust_address2 = "4th floor west tower"; string cust_city = "Toronto"; string cust_state = "ON"; string cust_zip = "M1M1M1"; string routing_num = "490000018"; string account_num = "222222"; string check_num = "11"; string account_type = "checking"; string micr = "t071000013t742941347o127"; string dl_num = "CO-12312312"; string magstripe = "no"; string image_front = ""; string image_back = ""; string processing_country_code = "US"; bool status_check = false; ACHInfo achinfo = new ACHInfo(sec, cust_first_name, cust_last_name, cust_address1, cust_address2, cust_city, cust_state, cust_zip, routing_num, account_num, check_num, account_type, micr); achinfo.SetImgFront(image_front); achinfo.SetImgBack(image_back); achinfo.SetDlNum(dl_num); achinfo.SetMagstripe(magstripe); ACHDebit achdebit = new ACHDebit(); achdebit.SetOrderId(order_id); achdebit.SetAmount(amount); achdebit.SetAchInfo(achinfo); //************************OPTIONAL VARIABLES*************************** //Cust_id Variable string cust_id = "customer1"; achdebit.SetCustId(cust_id); //CustInfo Variables CustInfo custInfo = new CustInfo(); custInfo.SetEmail("*****@*****.**"); custInfo.SetInstructions("Make it fast!"); Hashtable b = new Hashtable(); b.Add("first_name", "Bob"); b.Add("last_name", "Smith"); b.Add("company_name", "Widget Company Inc."); b.Add("address", "111 Bolts Ave."); b.Add("city", "Toronto"); b.Add("province", "Ontario"); b.Add("postal_code", "M8T 1T8"); b.Add("country", "Canada"); b.Add("phone", "416-555-5555"); b.Add("fax", "416-555-5555"); b.Add("tax1", "123.45"); //federal tax b.Add("tax2", "12.34"); //prov tax b.Add("tax3", "15.45"); //luxury tax b.Add("shipping_cost", "456.23"); //shipping cost custInfo.SetBilling(b); /* OR you can pass the individual args. * custInfo.SetBilling( * "Bob", //first name * "Smith", //last name * "Widget Company Inc.", //company name * "111 Bolts Ave.", //address * "Toronto", //city * "Ontario", //province * "M8T 1T8", //postal code * "Canada", //country * "416-555-5555", //phone * "416-555-5555", //fax * "123.45", //federal tax * "12.34", //prov tax * "15.45", //luxury tax * "456.23" //shipping cost * ); */ Hashtable s = new Hashtable(); s.Add("first_name", "Bob"); s.Add("last_name", "Smith"); s.Add("company_name", "Widget Company Inc."); s.Add("address", "111 Bolts Ave."); s.Add("city", "Toronto"); s.Add("province", "Ontario"); s.Add("postal_code", "M8T 1T8"); s.Add("country", "Canada"); s.Add("phone", "416-555-5555"); s.Add("fax", "416-555-5555"); s.Add("tax1", "123.45"); //federal tax s.Add("tax2", "12.34"); //prov tax s.Add("tax3", "15.45"); //luxury tax s.Add("shipping_cost", "456.23"); //shipping cost custInfo.SetShipping(s); /* OR you can pass the individual args. * custInfo.SetShipping( * "Bob", //first name * "Smith", //last name * "Widget Company Inc.", //company name * "111 Bolts Ave.", //address * "Toronto", //city * "Ontario", //province * "M8T 1T8", //postal code * "Canada", //country * "416-555-5555", //phone * "416-555-5555", //fax * "123.45", //federal tax * "12.34", //prov tax * "15.45", //luxury tax * "456.23" //shipping cost * ); */ Hashtable i1 = new Hashtable(); i1.Add("name", "item1's name"); i1.Add("quantity", "5"); i1.Add("product_code", "item1's product code"); i1.Add("extended_amount", "1.01"); custInfo.SetItem(i1); /* OR you can pass the individual args. * custInfo.SetItem( * "item1's name", //name * "5", //quantity * "item1's product code", //product code * "1.01" //extended amount * ); */ Hashtable i2 = new Hashtable(); i2.Add("name", "item2's name"); i2.Add("quantity", "7"); i2.Add("product_code", "item2's product code"); i2.Add("extended_amount", "5.01"); custInfo.SetItem(i2); achdebit.SetCustInfo(custInfo); HttpsPostRequest mpgReq = new HttpsPostRequest(); mpgReq.SetProcCountryCode(processing_country_code); mpgReq.SetTestMode(true); //false or comment out this line for production transactions mpgReq.SetStoreId(store_id); mpgReq.SetApiToken(api_token); mpgReq.SetTransaction(achdebit); mpgReq.SetStatusCheck(status_check); mpgReq.Send(); try { Receipt receipt = mpgReq.GetReceipt(); Console.WriteLine("CardType = " + receipt.GetCardType()); Console.WriteLine("TransAmount = " + receipt.GetTransAmount()); Console.WriteLine("TxnNumber = " + receipt.GetTxnNumber()); Console.WriteLine("ReceiptId = " + receipt.GetReceiptId()); Console.WriteLine("TransType = " + receipt.GetTransType()); Console.WriteLine("ReferenceNum = " + receipt.GetReferenceNum()); Console.WriteLine("ResponseCode = " + receipt.GetResponseCode()); Console.WriteLine("Message = " + receipt.GetMessage()); Console.WriteLine("Complete = " + receipt.GetComplete()); Console.WriteLine("TransDate = " + receipt.GetTransDate()); Console.WriteLine("TransTime = " + receipt.GetTransTime()); Console.WriteLine("Ticket = " + receipt.GetTicket()); Console.WriteLine("TimedOut = " + receipt.GetTimedOut()); Console.ReadLine(); } catch (Exception e) { Console.WriteLine(e); } }
public static void Main(string[] args) { string order_id = "Test" + DateTime.Now.ToString("yyyyMMddhhmmss"); string store_id = "monusqa002"; string api_token = "qatoken"; string amount = "1.00"; //ACHInfo Variables string sec = "ppd"; string cust_first_name = "Christian"; string cust_last_name = "M"; string cust_address1 = "3300 Bloor St W"; string cust_address2 = "4th floor west tower"; string cust_city = "Toronto"; string cust_state = "ON"; string cust_zip = "M1M1M1"; string routing_num = "490000018"; string account_num = "222222"; string check_num = "11"; string account_type = "checking"; string micr = "t071000013t742941347o129"; string dl_num = "CO-12312312"; string magstripe = "no"; string image_front = "SUkqAG4AAABUMDcxMDAwMDEzVDc0Mjk0MTM0N0E5OTkwAE1hZ1RlaywgSW5jLgAATUlDUkltYWdlIFJTMjMyIChBMDM3Nkw0KQBWZXJzaW9uIE1JMS4wNi4yMk0AAMgAAAABAAAAyAAAAAEAAAASAP4AAwABAAAAAAAAAAABAwABAAAAuAQAAAEBAwABAAAAIAIAAAMBAwABAAAABAAAAAYBAwABAAAAAAAAAAoBAwABAAAAAQAAAA4BAgAaAAAACAAAAA8BAgANAAAAIgAAABABAgAaAAAAMAAAABEBBAABAAAATAEAABIBAwABAAAAAQAAABYBAwABAAAAIAIAABcBBAABAAAABBkAABoBBQABAAAAXgAAABsBBQABAAAAZgAAACUBBAABAAAAAAAAACgBAwABAAAAAgAAADEBAgATAAAASgAAAAAAAADyzmjrhUtcm5jlktYIh9iOwRBvsNMgrIbcwCIOFTTQhpyuZxkscF8kGzIRQey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kgqjmBn0JDmsijnkoIxxERERERESGSGwchlKrRXMzEREREt6ZPHZTnM3GGTswzebzmcIjmR8wBguGoYjnFIRERERERERERGEizVHhDQUflmEiglJsLaBEeOcUg4xH//OwyKA5KjOoU6CnQOQw5rM1hDIpDlBlWFNAXJzKsyMEOlUJkMPhBggaDCa2RAqa+umgyDBCLA5QC/VdU1v1/9P7KcaeTguaA/mo75dHcubRdOVD5GPyNuY/wf1/TncfQf0E8yNB6DbvwQP/7lXcvty6ZqdOEHrs3Q/10/h80Pr3/a+nP5i6feY+ZG//////f//v/3/117f/pr////////X/v+vj/7+//+0P//79f//vXx/f//qh9fr8a+vr//66rr/6eC4XW/1f/v6+/gv//+awuEsqwsflOFwT/tVW/6+v+//w+F/8PCC8PHHr/+En//6DfhcE+negvH477u8JEJ9/u90Qox35wpjHOEiFEXOEGrcgYynHf////+v7X/3/93Igv54tf/v//PFxXx/H///X////9Pv//1//3/69fr/7+H//3f79/33/6+uVA/IgtSMH76r8e1+11tJtdQwve/98R//x/FRxx5IBx/kKI6kME//Xte7TTC///X/4ZeI4tphewmmmna3qqpr/9iKiIiIiIiGhEREREafaiItAyKb1CP//8tQRwiLZ3IOOXZMcm5Mc7nwhXPBbludzjl2THJwQg5CQScmOdyEU0d0EJ3M4gi+juJTiU4+dzY0CBCCBC4giPo74KVYIIS7aCBOCBCkRx4eCI5ghQxvEOGRz7a8UmNMKnFMYYwloLh3pKCY1Y4gi704iWOOCI4EdUGwyOMvzw9E3hHHBQy7ljhl/hSrO+VhQ6TMMuyOsRKgRFCxBAhBEfhxEqBCI5xTEER/qI2IRHP1ERERERFhCIie2EIqIj6+uvr6gAwAYAMAA=="; string image_back = "SUkqAGoAAAA/Pz8wPz8/Pz8/MD8/Pz8/Pz8/Pz80Pz8/MD8ATWFnVGVrLCBJbmMuAABNSUNSSW1hZ2UgUlMyMzIgKCBBMDRXNFc1KQAATUkxLjA3LjI0TQAAyAAAAAEAAADIAAAAAQAAABIA/gADAAEAAAAAAAA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0cxCKiIl0aM/p7iNSsxcNQxF44y7I JfvL4whG0RXKHPYIREaCJfOmR8wRHBoJCCBCGIQlCxsSPggrI4QECGdpluZgoBAqTaP56NOxI YgRnmIjhMEKBAh5TUfMBy8R0InMHCCMbDhl8jhriIiIjhzDlDnsq2ECxBCIjkK1Q6pi8xWYBcj5vHdoRBiIjiJ2sLD//////9f////3/ABABAA=="; string processing_country_code = "US"; bool status_check = false; ACHInfo achinfo = new ACHInfo(sec, cust_first_name, cust_last_name, cust_address1, cust_address2, cust_city, cust_state, cust_zip, routing_num, account_num, check_num, account_type, micr); achinfo.SetImgFront(image_front); achinfo.SetImgBack(image_back); achinfo.SetDlNum(dl_num); achinfo.SetMagstripe(magstripe); ACHCredit achcredit = new ACHCredit(); achcredit.SetOrderId(order_id); achcredit.SetAmount(amount); achcredit.SetAchInfo(achinfo); //************************OPTIONAL VARIABLES*************************** //Cust_id Variable string cust_id = "customer1"; achcredit.SetCustId(cust_id); HttpsPostRequest mpgReq = new HttpsPostRequest(); mpgReq.SetProcCountryCode(processing_country_code); mpgReq.SetTestMode(true); //false or comment out this line for production transactions mpgReq.SetStoreId(store_id); mpgReq.SetApiToken(api_token); mpgReq.SetTransaction(achcredit); mpgReq.SetStatusCheck(status_check); mpgReq.Send(); /*Status Check Example * ACHHttpsPostRequest mpgReq = new ACHHttpsPostRequest(host, store_id, api_token, status, achcredit); */ /********************** REQUEST ************************/ try { Receipt receipt = mpgReq.GetReceipt(); Console.WriteLine("CardType = " + receipt.GetCardType()); Console.WriteLine("TransAmount = " + receipt.GetTransAmount()); Console.WriteLine("TxnNumber = " + receipt.GetTxnNumber()); Console.WriteLine("ReceiptId = " + receipt.GetReceiptId()); Console.WriteLine("TransType = " + receipt.GetTransType()); Console.WriteLine("ReferenceNum = " + receipt.GetReferenceNum()); Console.WriteLine("ResponseCode = " + receipt.GetResponseCode()); Console.WriteLine("Message = " + receipt.GetMessage()); Console.WriteLine("Complete = " + receipt.GetComplete()); Console.WriteLine("TransDate = " + receipt.GetTransDate()); Console.WriteLine("TransTime = " + receipt.GetTransTime()); Console.WriteLine("Ticket = " + receipt.GetTicket()); Console.WriteLine("TimedOut = " + receipt.GetTimedOut()); //Console.WriteLine("StatusCode = " + receipt.GetStatusCode()); //Console.WriteLine("StatusMessage = " + receipt.GetStatusMessage()); Console.ReadLine(); } catch (Exception e) { Console.WriteLine(e); } }