<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Response is Null c# in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/56380#M31176</link>
    <description>&lt;P&gt;Okay, so I tried this on the SDK and the online api 'try it' sections... i changed the&amp;nbsp;cardCode = "xxx" and i get a response. however on what im trying to implement i get a null for the response. I have attached parts of my code and the parameters im passing...I am only trying to authorize a transaction.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parameters-&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;String ApiLoginID = WebServices.getPreference("authorizenetLoginId");&lt;BR /&gt;String ApiTransactionKey =WebServices.getPreference("authorizenetTransKey");&lt;BR /&gt;string cc = "4111111111111111";&lt;BR /&gt;string expm = "11";&lt;BR /&gt;string expy = "16";&lt;BR /&gt;string cvv2 = "xxxx";&lt;BR /&gt;string order = "Towels";&lt;BR /&gt;decimal amount = Decimal.Parse("12345.65789");&lt;BR /&gt;string summary = string.Concat(order,"-",amount);&lt;BR /&gt;string name = "doggy dog cat";&lt;BR /&gt;string addr1 = "Testaddr1";&lt;BR /&gt;string addr2 = "Testaddr2";&lt;BR /&gt;string city = "Testcity";&lt;BR /&gt;string state = "teststate";&lt;BR /&gt;string zip = "testzip";&lt;BR /&gt;string country = "testCountry";&lt;BR /&gt;string email = "Test@email.com";&lt;BR /&gt;string phone = "1111117777";&lt;BR /&gt;string shipaddr1 = "TestShipaddr1";&lt;BR /&gt;string shipaddr2 = "TestShipaddr1";&lt;BR /&gt;string shipcity = "Testshipcity";&lt;BR /&gt;string shipstate = "testshipstate";&lt;BR /&gt;string shipzip = "testzipship";&lt;BR /&gt;string shipcountry = "testcountryship";&lt;BR /&gt;AuthorizeNetHelper.AuthorizeTransaction(ApiLoginID, ApiTransactionKey, cc,expm,expy,cvv2,order,amount,summary,name,addr1,addr2,city,state,zip,country,email,phone,shipaddr1,shipaddr2,shipcity,shipstate,shipzip,shipcountry);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;authorizeNet response-&lt;/P&gt;&lt;P&gt;public static ANetApiResponse AuthorizeTransaction(String ApiLoginID, String ApiTransactionKey, string cc, string expm, string expy, string cvv2, string order, decimal amount, string summary, string name, string addr1, string addr2, string city, string state, string zip, string country, string email, string phone, string shipaddr1, string shipaddr2, string shipcity, string shipstate, string shipzip, string shipcountry)&lt;BR /&gt;{&lt;BR /&gt;ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.RunEnvironment = AuthorizeNet.Environment.SANDBOX;&lt;/P&gt;&lt;P&gt;// define the merchant information (authentication / transaction id)&lt;BR /&gt;ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.MerchantAuthentication = new merchantAuthenticationType()&lt;BR /&gt;{&lt;BR /&gt;name = ApiLoginID,&lt;BR /&gt;ItemElementName = ItemChoiceType.transactionKey,&lt;BR /&gt;Item = ApiTransactionKey,&lt;BR /&gt;};&lt;BR /&gt;// Credit Card information to be used for transaction&lt;BR /&gt;var cCard = new creditCardType&lt;BR /&gt;{&lt;BR /&gt;cardNumber = cc,&lt;BR /&gt;expirationDate = string.Concat(expm, expy),&lt;BR /&gt;cardCode = cvv2&lt;BR /&gt;};&lt;BR /&gt;//Billing Information to be used for transaction&lt;BR /&gt;var billingAddress = new customerAddressType&lt;BR /&gt;{&lt;BR /&gt;//not sure what to do about fName and lName, we only have "name" in DB, if we leave the name as firstName,&lt;BR /&gt;//6It could work but possible problems in finding by name?&lt;BR /&gt;firstName = name,&lt;BR /&gt;//lastName = "Doe",&lt;BR /&gt;address = addr1,&lt;BR /&gt;//address2?????&lt;BR /&gt;city = city,&lt;BR /&gt;state = state,&lt;BR /&gt;zip = zip,&lt;BR /&gt;email = email,&lt;BR /&gt;phoneNumber = phone,&lt;BR /&gt;country = country&lt;BR /&gt;};&lt;BR /&gt;//Shipping Information to be used for transaction&lt;BR /&gt;var shippingAddress = new nameAndAddressType&lt;BR /&gt;{&lt;BR /&gt;firstName = name,&lt;BR /&gt;address = shipaddr1,&lt;BR /&gt;//Shipaddress2&lt;BR /&gt;city = shipcity,&lt;BR /&gt;state = shipstate,&lt;BR /&gt;zip = shipzip,&lt;BR /&gt;country = shipcountry&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;//Order Information for the order&lt;BR /&gt;var orderInfo = new orderType&lt;BR /&gt;{&lt;BR /&gt;invoiceNumber = order,&lt;BR /&gt;description = summary&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;//standard api call to retrieve response&lt;BR /&gt;var paymentType = new paymentType&lt;BR /&gt;{&lt;BR /&gt;Item = cCard&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;// // Add line Items&lt;BR /&gt;// //var lineItems = new lineItemType[2];&lt;BR /&gt;// //lineItems[0] = new lineItemType { itemId = "1", name = "t-shirt", quantity = 2, unitPrice = new Decimal(15.00) };&lt;BR /&gt;// //lineItems[1] = new lineItemType { itemId = "2", name = "snowboard", quantity = 1, unitPrice = new Decimal(450.00) };&lt;/P&gt;&lt;P&gt;//Build the Transaction&lt;BR /&gt;var transaction = new transactionRequestType&lt;BR /&gt;{&lt;BR /&gt;transactionType = transactionTypeEnum.authOnlyTransaction.ToString(), // Authorize amount on the card&lt;BR /&gt;amount = amount,&lt;BR /&gt;billTo = billingAddress,&lt;BR /&gt;order = orderInfo,&lt;BR /&gt;payment = paymentType,&lt;BR /&gt;shipTo = shippingAddress&lt;/P&gt;&lt;P&gt;};&lt;BR /&gt;//Make the transaction Request&lt;BR /&gt;var request = new createTransactionRequest { transactionRequest = transaction };&lt;/P&gt;&lt;P&gt;// instantiate the contoller that will call the service&lt;BR /&gt;var controller = new createTransactionController(request);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;controller.Execute();&lt;BR /&gt;// get the response from the service (errors contained if any)&lt;BR /&gt;var response = controller.GetApiResponse();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Dec 2016 13:24:24 GMT</pubDate>
    <dc:creator>muddywaters</dc:creator>
    <dc:date>2016-12-09T13:24:24Z</dc:date>
    <item>
      <title>Response is Null c#</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/56380#M31176</link>
      <description>&lt;P&gt;Okay, so I tried this on the SDK and the online api 'try it' sections... i changed the&amp;nbsp;cardCode = "xxx" and i get a response. however on what im trying to implement i get a null for the response. I have attached parts of my code and the parameters im passing...I am only trying to authorize a transaction.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parameters-&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;String ApiLoginID = WebServices.getPreference("authorizenetLoginId");&lt;BR /&gt;String ApiTransactionKey =WebServices.getPreference("authorizenetTransKey");&lt;BR /&gt;string cc = "4111111111111111";&lt;BR /&gt;string expm = "11";&lt;BR /&gt;string expy = "16";&lt;BR /&gt;string cvv2 = "xxxx";&lt;BR /&gt;string order = "Towels";&lt;BR /&gt;decimal amount = Decimal.Parse("12345.65789");&lt;BR /&gt;string summary = string.Concat(order,"-",amount);&lt;BR /&gt;string name = "doggy dog cat";&lt;BR /&gt;string addr1 = "Testaddr1";&lt;BR /&gt;string addr2 = "Testaddr2";&lt;BR /&gt;string city = "Testcity";&lt;BR /&gt;string state = "teststate";&lt;BR /&gt;string zip = "testzip";&lt;BR /&gt;string country = "testCountry";&lt;BR /&gt;string email = "Test@email.com";&lt;BR /&gt;string phone = "1111117777";&lt;BR /&gt;string shipaddr1 = "TestShipaddr1";&lt;BR /&gt;string shipaddr2 = "TestShipaddr1";&lt;BR /&gt;string shipcity = "Testshipcity";&lt;BR /&gt;string shipstate = "testshipstate";&lt;BR /&gt;string shipzip = "testzipship";&lt;BR /&gt;string shipcountry = "testcountryship";&lt;BR /&gt;AuthorizeNetHelper.AuthorizeTransaction(ApiLoginID, ApiTransactionKey, cc,expm,expy,cvv2,order,amount,summary,name,addr1,addr2,city,state,zip,country,email,phone,shipaddr1,shipaddr2,shipcity,shipstate,shipzip,shipcountry);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;authorizeNet response-&lt;/P&gt;&lt;P&gt;public static ANetApiResponse AuthorizeTransaction(String ApiLoginID, String ApiTransactionKey, string cc, string expm, string expy, string cvv2, string order, decimal amount, string summary, string name, string addr1, string addr2, string city, string state, string zip, string country, string email, string phone, string shipaddr1, string shipaddr2, string shipcity, string shipstate, string shipzip, string shipcountry)&lt;BR /&gt;{&lt;BR /&gt;ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.RunEnvironment = AuthorizeNet.Environment.SANDBOX;&lt;/P&gt;&lt;P&gt;// define the merchant information (authentication / transaction id)&lt;BR /&gt;ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.MerchantAuthentication = new merchantAuthenticationType()&lt;BR /&gt;{&lt;BR /&gt;name = ApiLoginID,&lt;BR /&gt;ItemElementName = ItemChoiceType.transactionKey,&lt;BR /&gt;Item = ApiTransactionKey,&lt;BR /&gt;};&lt;BR /&gt;// Credit Card information to be used for transaction&lt;BR /&gt;var cCard = new creditCardType&lt;BR /&gt;{&lt;BR /&gt;cardNumber = cc,&lt;BR /&gt;expirationDate = string.Concat(expm, expy),&lt;BR /&gt;cardCode = cvv2&lt;BR /&gt;};&lt;BR /&gt;//Billing Information to be used for transaction&lt;BR /&gt;var billingAddress = new customerAddressType&lt;BR /&gt;{&lt;BR /&gt;//not sure what to do about fName and lName, we only have "name" in DB, if we leave the name as firstName,&lt;BR /&gt;//6It could work but possible problems in finding by name?&lt;BR /&gt;firstName = name,&lt;BR /&gt;//lastName = "Doe",&lt;BR /&gt;address = addr1,&lt;BR /&gt;//address2?????&lt;BR /&gt;city = city,&lt;BR /&gt;state = state,&lt;BR /&gt;zip = zip,&lt;BR /&gt;email = email,&lt;BR /&gt;phoneNumber = phone,&lt;BR /&gt;country = country&lt;BR /&gt;};&lt;BR /&gt;//Shipping Information to be used for transaction&lt;BR /&gt;var shippingAddress = new nameAndAddressType&lt;BR /&gt;{&lt;BR /&gt;firstName = name,&lt;BR /&gt;address = shipaddr1,&lt;BR /&gt;//Shipaddress2&lt;BR /&gt;city = shipcity,&lt;BR /&gt;state = shipstate,&lt;BR /&gt;zip = shipzip,&lt;BR /&gt;country = shipcountry&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;//Order Information for the order&lt;BR /&gt;var orderInfo = new orderType&lt;BR /&gt;{&lt;BR /&gt;invoiceNumber = order,&lt;BR /&gt;description = summary&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;//standard api call to retrieve response&lt;BR /&gt;var paymentType = new paymentType&lt;BR /&gt;{&lt;BR /&gt;Item = cCard&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;// // Add line Items&lt;BR /&gt;// //var lineItems = new lineItemType[2];&lt;BR /&gt;// //lineItems[0] = new lineItemType { itemId = "1", name = "t-shirt", quantity = 2, unitPrice = new Decimal(15.00) };&lt;BR /&gt;// //lineItems[1] = new lineItemType { itemId = "2", name = "snowboard", quantity = 1, unitPrice = new Decimal(450.00) };&lt;/P&gt;&lt;P&gt;//Build the Transaction&lt;BR /&gt;var transaction = new transactionRequestType&lt;BR /&gt;{&lt;BR /&gt;transactionType = transactionTypeEnum.authOnlyTransaction.ToString(), // Authorize amount on the card&lt;BR /&gt;amount = amount,&lt;BR /&gt;billTo = billingAddress,&lt;BR /&gt;order = orderInfo,&lt;BR /&gt;payment = paymentType,&lt;BR /&gt;shipTo = shippingAddress&lt;/P&gt;&lt;P&gt;};&lt;BR /&gt;//Make the transaction Request&lt;BR /&gt;var request = new createTransactionRequest { transactionRequest = transaction };&lt;/P&gt;&lt;P&gt;// instantiate the contoller that will call the service&lt;BR /&gt;var controller = new createTransactionController(request);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;controller.Execute();&lt;BR /&gt;// get the response from the service (errors contained if any)&lt;BR /&gt;var response = controller.GetApiResponse();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 13:24:24 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/56380#M31176</guid>
      <dc:creator>muddywaters</dc:creator>
      <dc:date>2016-12-09T13:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Response is Null c#</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/56386#M31182</link>
      <description>&lt;P&gt;guess no one knows? :'(&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 19:54:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/56386#M31182</guid>
      <dc:creator>muddywaters</dc:creator>
      <dc:date>2016-12-09T19:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Response is Null c#</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/56395#M31191</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20953"&gt;@muddywaters&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Glancing over things, I don't see any obvious problems, so I'm just trying to follow up with general questions. Can you clarify when you&amp;nbsp;&lt;EM&gt;do&lt;/EM&gt; get a response? You get a response when you try these parameters in the "Try it" section, correct? And you&amp;nbsp;&lt;EM&gt;do&amp;nbsp;&lt;/EM&gt;get a response when you work through the SDK? Do you mean you get a response using the sample code, but not when using your own code against the SDK?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One useful step might be trying to do a more simple request like just an&amp;nbsp;&lt;A href="http://developer.authorize.net/api/reference/#authentication" target="_self"&gt;"Authentication"&lt;/A&gt;&amp;nbsp;request. If that works, start adding piece by piece until you figure out where it breaks.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 23:36:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/56395#M31191</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2016-12-09T23:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Response is Null c#</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/56449#M31241</link>
      <description>&lt;P&gt;Yes, I get a response in the "try It" section and I get a response on the SDK, however in mycode The response is null. Authentication is working fine, I can post transactions and settle them. But when I try to mess with it using invalid data like cvv being "xyz" I get a null response.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 16:49:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/56449#M31241</guid>
      <dc:creator>muddywaters</dc:creator>
      <dc:date>2016-12-14T16:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Response is Null c#</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/56493#M31281</link>
      <description>&lt;P&gt;well any suggestions?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2016 20:01:28 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/56493#M31281</guid>
      <dc:creator>muddywaters</dc:creator>
      <dc:date>2016-12-19T20:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Response is Null c#</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/58348#M33007</link>
      <description>&lt;P&gt;I got this same NULL response when my test order.invoiceNumber was set to "679--" and the number of seconds since 1/1/1970 (a large number with five decimals).&amp;nbsp; Removing one of the - signs made it work.&amp;nbsp; So, I would suspect that there's something about your invoice number that Auth.Net magically doesn't like.&amp;nbsp; Try changing it (or temporarily removing it) and see if you get a non-null response.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jun 2017 04:18:11 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/58348#M33007</guid>
      <dc:creator>daves0</dc:creator>
      <dc:date>2017-06-04T04:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Response is Null c#</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/58408#M33063</link>
      <description>&lt;P&gt;For future reference, the problem ended up being the length of the order.invoiceNumber field.&amp;nbsp; It's supposed to be a maximum of 20 characters.&amp;nbsp; If you set it to something longer than that, the request will fail (even though the field itself will hold longer strings without complaint).&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2017 20:45:58 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/58408#M33063</guid>
      <dc:creator>daves0</dc:creator>
      <dc:date>2017-06-10T20:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Response is Null c#</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/58414#M33069</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21829"&gt;@daves0&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I noticed that some of the entries in &lt;A href="http://developer.authorize.net/api/reference/" target="_self"&gt;our API Reference&lt;/A&gt; have the format documented as max 20 characters, but other entries for &lt;EM&gt;invoiceNumber&lt;/EM&gt; don't have that specific format defined. I'm going through documentation now to make sure that every usage of &lt;EM&gt;invoiceNumber&lt;/EM&gt; is all documented&amp;nbsp;consistently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Longer term, I'm trying to make sure things are better documented in the API itself, and that if there's an API limitation on the format of a field, the SDK can enforce or warn on that limitation as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for bringing this to our attention.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 16:42:34 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/58414#M33069</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-06-12T16:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Response is Null c#</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/62417#M36746</link>
      <description>&lt;P&gt;I was initially confused to read that Authorize.Net ALWAYS returns a response. I couldn't figure out why my response was null. Turns out, the controller object has an errors collection you can view. This usually explains why the response is null. Typically, the request is invalid. But the Errors will tell you *why*.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2018 21:22:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/62417#M36746</guid>
      <dc:creator>jkshay</dc:creator>
      <dc:date>2018-03-30T21:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Response is Null c#</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/63521#M37618</link>
      <description>&lt;P&gt;Can you provide sample code of using this error collection?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting back a null response, but looking at the controller object, I don't see any property that is a collection of errors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 21:17:58 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/63521#M37618</guid>
      <dc:creator>Xiacon140</dc:creator>
      <dc:date>2018-06-28T21:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Response is Null c#</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/72745#M44958</link>
      <description>&lt;P&gt;After almost two-and-a-half years, here is the answer as to how to get error information from the controller when controller.GetApiResponse() is null.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Call&lt;BR /&gt;&lt;PRE&gt;ANetApiResponse errorResponse = controller.GetErrorResponse();&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;then you can get the error code(s) and text(s) from the error response:&lt;BR /&gt;&lt;PRE&gt;foreach (var message in errorResponse.messages.message) {
   string code = message.code;
   string text = message.text;
}&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In my case, I discovered the problem was in the formatting of the subscription ID. Although it would display as 123456 whenever I would output it for debugging, the error message said that it was '123456&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' instead, because of the way I was storing it in the database.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 14:46:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/72745#M44958</guid>
      <dc:creator>mdurham</dc:creator>
      <dc:date>2020-08-04T14:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Response is Null c#</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/87180#M54841</link>
      <description>&lt;P&gt;At first, I found it puzzling to discover that Authorize.Net consistently provides a response, yet I couldn't understand why my response turned out to be null. Later, I realized that the controller object contains an errors collection that can be examined. This collection usually clarifies why the response is null, often indicating an invalid request. By reviewing the Errors, you can find out the specific reason behind the null response.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 18:56:56 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/87180#M54841</guid>
      <dc:creator>alex2025</dc:creator>
      <dc:date>2023-07-31T18:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Response is Null c#</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/87270#M54905</link>
      <description>&lt;P&gt;I'm facing the same issue. Did you get solution yet?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 19:32:04 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-is-Null-c/m-p/87270#M54905</guid>
      <dc:creator>alex2025</dc:creator>
      <dc:date>2023-08-07T19:32:04Z</dc:date>
    </item>
  </channel>
</rss>

