<?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#  SampleReporting can't get working  &amp;quot;Invalid user&amp;quot; error in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/21317#M11616</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="Normalcontent" style="position: relative; padding: 0px 3px; clear: both;"&gt;
&lt;DIV id="imcontent" style="margin-left: 12px;"&gt;
&lt;DIV style="direction: ltr; color: #000000; font-size: 9pt;"&gt;I don't see anything obviously wrong with the code you are using, but there were some bugs with this function in an early version of the .Net SDK.&amp;nbsp; I recommend that you make sure you have the newest version.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV style="direction: ltr; color: #000000; font-size: 9pt;"&gt;Thanks,&lt;/DIV&gt;
&lt;DIV style="direction: ltr; color: #000000; font-size: 9pt;"&gt;Joy&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 06 Jan 2012 23:47:57 GMT</pubDate>
    <dc:creator>Joy</dc:creator>
    <dc:date>2012-01-06T23:47:57Z</dc:date>
    <item>
      <title>C#  SampleReporting can't get working  "Invalid user" error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/11480#M7174</link>
      <description>&lt;P&gt;I downloaded the C# Transaction Details API sample program:&amp;nbsp;&lt;A rel="nofollow" href="https://developer.authorize.net/api/transaction_details/" target="_blank"&gt;https://developer.authorize.net/api/transaction_details/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But I cannot login to the live account for the Reporting sample even though the credentials work for the SampleAuthorization sample&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can get the SampleAuthorization code to work in C# for both LIVE and TEST accounts by changing the TRUE and FALSE variables under the new Gateway() object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is when I use the SampleReporting code it gives me the error: &amp;nbsp;"Error processing request: E00007 - User authentication failed due to invalid authentication values." even though I am using the exact same credentials that work for the SampleAuthorization code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When trying the LIVE version it gives me the error mentioned above. &amp;nbsp;When trying the TEST credentials it tells me I have not enabled the account for API Reporting which I don't know how to do in the test account since it asks me for my pet's name and when I signed up for the test account it didn't ask me for a pet's name so i am unable to put one in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the SampleReporting code tries to&amp;nbsp;access the TEST server and &amp;nbsp;I don't know how to direct it to the LIVE server as I do in the&amp;nbsp;SampleAuthorization&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2011 18:25:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/11480#M7174</guid>
      <dc:creator>mjcpp</dc:creator>
      <dc:date>2011-03-23T18:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: C#  SampleReporting can't get working  "Invalid user" error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/11484#M7176</link>
      <description>&lt;P&gt;The ReportingGateway object has an overload for ServiceMode which has LIVE and TEST but I couldn't figure out how to use it. &amp;nbsp;I would think the sample would have addressed Live and Test servers as the SampleAuthorization did.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2011 18:29:13 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/11484#M7176</guid>
      <dc:creator>mjcpp</dc:creator>
      <dc:date>2011-03-23T18:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: C#  SampleReporting can't get working  "Invalid user" error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/11530#M7196</link>
      <description>&lt;P&gt;You can adjust the following in order to get it to work with
your production account credentials: &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var gate = new ReportingGateway("APILOGIN",
"TRANSACTIONKEY");&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to: &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var gate = new ReportingGateway("APILOGIN",
"TRANSACTIONKEY", ServiceMode.Live);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Elaine&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2011 17:31:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/11530#M7196</guid>
      <dc:creator>Elaine</dc:creator>
      <dc:date>2011-03-24T17:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: C#  SampleReporting can't get working  "Invalid user" error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/11538#M7200</link>
      <description>&lt;P&gt;Great, that worked. &amp;nbsp;I was sure I had tried that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have another problem now. &amp;nbsp;I can't seem to retrieve the list of transactions using the date overload. &amp;nbsp;Whether I use the simple () or the date overload I only get the last settled date. &amp;nbsp;Is this because I only started using the Reporting API now? &amp;nbsp;I can get individual Transactions using the string overload.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of the next three &lt;FONT color="#008000"&gt;only get the Transactions from my last settled Batch &lt;/FONT&gt;even though I think they should all get the last 30 days:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;var transactions = gate.GetTransactionList();&lt;/FONT&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;var transactions = gate.GetTransactionList(DateTime.Today.AddDays(-31), DateTime.Today.AddDays(-1));&lt;/FONT&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;var transactions = gate.GetTransactionList(DateTime.Now.AddDays(-31), DateTime.Now.AddDays(-1));&lt;/FONT&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;Getting a specific Transaction by transaction ID &lt;FONT color="#008000"&gt;works&lt;/FONT&gt;:&lt;/DIV&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;var transactions = gate.GetTransactionList("123456789");&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2011 23:41:36 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/11538#M7200</guid>
      <dc:creator>mjcpp</dc:creator>
      <dc:date>2011-03-24T23:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: C#  SampleReporting can't get working  "Invalid user" error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/11752#M7307</link>
      <description>&lt;P&gt;Hey there, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The
SDK is doing what it should; it's getting a collection of all the
settled batches and then retrieving the details on each batch and putting all
the results into a List&amp;lt;Transaction&amp;gt; container.&lt;BR /&gt;
&lt;BR /&gt;
I've got a couple of follow-up questions for you:&lt;BR /&gt;
&lt;BR /&gt;
(1) Did you traverse through all the whole list - or just the first
element?&lt;BR /&gt;
(2) Do you have more than 1 settled batch? &amp;nbsp;I'm assuming so,
but just asking for clarity.&lt;BR /&gt;
&lt;BR /&gt;
I'd be curious to see what happens when you call
GetSettledBatchList(DateTime from, DateTime to)? &amp;nbsp;Since this is the
underlying call that &amp;nbsp;GetTransactionList(DateTime from, DateTime to) is
calling.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Michelle&lt;/P&gt;
&lt;P&gt;Developer Community Manager&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2011 20:18:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/11752#M7307</guid>
      <dc:creator>Michelle</dc:creator>
      <dc:date>2011-04-05T20:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: C#  SampleReporting can't get working  "Invalid user" error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/20777#M11367</link>
      <description>&lt;P&gt;Same here, i have this code, following your instruction :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DateTime ini = new DateTime(2011, 12, 23);&lt;BR /&gt;DateTime fin = new DateTime(2011, 12, 27);&lt;/P&gt;&lt;P&gt;ReportingGateway repo = new ReportingGateway("xxxxx", "yyyyy", ServiceMode.Live);&lt;/P&gt;&lt;P&gt;List&amp;lt;Batch&amp;gt; bts = repo.GetSettledBatchList(ini, fin);&lt;/P&gt;&lt;P&gt;foreach(Batch ba in bts)&lt;BR /&gt;{&lt;BR /&gt;List&amp;lt;Transaction&amp;gt; trns = repo.GetTransactionList(ba.ID);&lt;BR /&gt;foreach (Transaction t in trns)&lt;BR /&gt;lcInfo += t.TransactionID + "|" + t.TransactionType + "|" + t.InvoiceNumber + "|" + t.CustomerID + "|" +&lt;BR /&gt;t.OrderDescription + "|" + t.DateSubmitted + "|" + t.TransactionType + "|" + t.FirstName + " " +&lt;BR /&gt;t.LastName + "|" + t.SettleAmount &amp;nbsp;+ Environment.NewLine;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i just got the last settled batch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mauricio Atanache.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2011 18:38:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/20777#M11367</guid>
      <dc:creator>dsmauricio</dc:creator>
      <dc:date>2011-12-29T18:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: C#  SampleReporting can't get working  "Invalid user" error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/21317#M11616</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="Normalcontent" style="position: relative; padding: 0px 3px; clear: both;"&gt;
&lt;DIV id="imcontent" style="margin-left: 12px;"&gt;
&lt;DIV style="direction: ltr; color: #000000; font-size: 9pt;"&gt;I don't see anything obviously wrong with the code you are using, but there were some bugs with this function in an early version of the .Net SDK.&amp;nbsp; I recommend that you make sure you have the newest version.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV style="direction: ltr; color: #000000; font-size: 9pt;"&gt;Thanks,&lt;/DIV&gt;
&lt;DIV style="direction: ltr; color: #000000; font-size: 9pt;"&gt;Joy&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 06 Jan 2012 23:47:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/21317#M11616</guid>
      <dc:creator>Joy</dc:creator>
      <dc:date>2012-01-06T23:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: C#  SampleReporting can't get working  "Invalid user" error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/22355#M12106</link>
      <description>&lt;P&gt;You were right, i had an old dll, but by the way, please check the library download, in each example you can find diferent versions of the library, you guys should fix this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mauricio Atanache G.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2012 18:03:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/22355#M12106</guid>
      <dc:creator>dsmauricio</dc:creator>
      <dc:date>2012-01-30T18:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: C#  SampleReporting can't get working  "Invalid user" error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/22369#M12112</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for that information, we will make sure to send this to our engineers to get updated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Joy&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2012 22:08:59 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-SampleReporting-can-t-get-working-quot-Invalid-user-quot-error/m-p/22369#M12112</guid>
      <dc:creator>Joy</dc:creator>
      <dc:date>2012-01-30T22:08:59Z</dc:date>
    </item>
  </channel>
</rss>

