<?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 Re: C# Api getCustomerProfileRequest null response in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Api-getCustomerProfileRequest-null-response/m-p/57737#M32428</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20689"&gt;@Devin&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest logging an issue in GitHub to notify the development team and get a response when completed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are also welcome in the future to go ahead and log issues right there too. You can even submit your fix for our review and inclusion: &lt;A href="https://help.github.com/articles/using-pull-requests" target="_blank"&gt;https://help.github.com/articles/using-pull-requests&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Richard&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2017 19:38:03 GMT</pubDate>
    <dc:creator>RichardH</dc:creator>
    <dc:date>2017-04-18T19:38:03Z</dc:date>
    <item>
      <title>C# Api getCustomerProfileRequest null response</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Api-getCustomerProfileRequest-null-response/m-p/57733#M32424</link>
      <description>&lt;P&gt;I'm trying to test the getCustomerProfileRequest in the C# api but my response is always null. This is what i have so far:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.RunEnvironment = AuthorizeNet.Environment.SANDBOX;
      ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.MerchantAuthentication = new merchantAuthenticationType()
      {
        name = _credentials.LoginId,
        ItemElementName = ItemChoiceType.transactionKey,
        Item = _credentials.ApiKey
      };

      var request = new getCustomerProfileRequest { customerProfileId = customerProfileId.Value };

      var controller = new getCustomerProfileController(request);
      controller.Execute();

      var response = controller.GetApiResponse();&lt;/PRE&gt;&lt;P&gt;Is there any reason this would be null? It's not invalid credentials or anything like that. Always null. If I put in invalid credentials the result will be an error saying invalid credentials. I know for a fact there is a customer profile for the given customerProfileId because results are returned by the soap requests.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 17:33:12 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Api-getCustomerProfileRequest-null-response/m-p/57733#M32424</guid>
      <dc:creator>Devin</dc:creator>
      <dc:date>2017-04-18T17:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: C# Api getCustomerProfileRequest null response</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Api-getCustomerProfileRequest-null-response/m-p/57734#M32425</link>
      <description>&lt;P&gt;I found out the issue. The API key was wrong. However, the api key I was sending through was too long for what the API key expects (which I found by using the "try it" section of the website). It turns out that error is not handled in the api controller and just returns null as a result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way this can be noted as a future change/fix for the api?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 17:56:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Api-getCustomerProfileRequest-null-response/m-p/57734#M32425</guid>
      <dc:creator>Devin</dc:creator>
      <dc:date>2017-04-18T17:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: C# Api getCustomerProfileRequest null response</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Api-getCustomerProfileRequest-null-response/m-p/57737#M32428</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20689"&gt;@Devin&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest logging an issue in GitHub to notify the development team and get a response when completed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are also welcome in the future to go ahead and log issues right there too. You can even submit your fix for our review and inclusion: &lt;A href="https://help.github.com/articles/using-pull-requests" target="_blank"&gt;https://help.github.com/articles/using-pull-requests&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Richard&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 19:38:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Api-getCustomerProfileRequest-null-response/m-p/57737#M32428</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2017-04-18T19:38:03Z</dc:date>
    </item>
  </channel>
</rss>

