<?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# Sample code for GetTransactionList doesn't compile in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Sample-code-for-GetTransactionList-doesn-t-compile/m-p/58921#M33529</link>
    <description>&lt;P&gt;Thanks. I must have an outdated version of AuthorizeNet.dll.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jul 2017 21:14:31 GMT</pubDate>
    <dc:creator>mdc</dc:creator>
    <dc:date>2017-07-20T21:14:31Z</dc:date>
    <item>
      <title>C# Sample code for GetTransactionList doesn't compile</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Sample-code-for-GetTransactionList-doesn-t-compile/m-p/58909#M33517</link>
      <description>&lt;P&gt;The following code fragment from the sample code doesn't compile.&lt;/P&gt;&lt;P&gt;*****************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var request = new getTransactionListRequest();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; request.batchId = batchId;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; request.paging = new Paging&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; limit = 10,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; offset = 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; request.sorting = new TransactionListSorting&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; orderBy = TransactionListOrderFieldEnum.id,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; orderDescending = true&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;*************************&lt;/P&gt;&lt;P&gt;When I attempt&amp;nbsp;to compile&amp;nbsp;code on my computer I find that there&amp;nbsp;is no paging attribute of the request object. Neither is there a sorting attribute. Am I doing something wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 15:40:35 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Sample-code-for-GetTransactionList-doesn-t-compile/m-p/58909#M33517</guid>
      <dc:creator>mdc</dc:creator>
      <dc:date>2017-07-20T15:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: C# Sample code for GetTransactionList doesn't compile</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Sample-code-for-GetTransactionList-doesn-t-compile/m-p/58911#M33519</link>
      <description>&lt;P&gt;Are you referencing the &lt;SPAN&gt;AuthorizeNet.dll and&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;using AuthorizeNet.Api.Contracts.V1;&lt;/PRE&gt;&lt;P&gt;In&amp;nbsp;AuthorizeNet.dll,&amp;nbsp;namespace AuthorizeNet.Api.Contracts.V1, batchId and Sorting&amp;nbsp;are declared:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; public class getTransactionListRequest : ANetApiRequest
    {
       public string batchId;
      
        public TransactionListSorting sorting;
      
        public Paging paging;

        public getTransactionListRequest();
    }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 17:47:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Sample-code-for-GetTransactionList-doesn-t-compile/m-p/58911#M33519</guid>
      <dc:creator>NexusSoftware</dc:creator>
      <dc:date>2017-07-20T17:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: C# Sample code for GetTransactionList doesn't compile</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Sample-code-for-GetTransactionList-doesn-t-compile/m-p/58914#M33522</link>
      <description>&lt;P&gt;Yes. Here is the entire method...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;using&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; AuthorizeNet.Api.Contracts.V1;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;using&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; AuthorizeNet.Api.Controllers;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;using&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; AuthorizeNet.Api.Controllers.Bases;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;using&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; SRF.CRM.Integration.Payment.Model;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;using&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; System;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;using&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; System.Collections.Generic;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;using&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; System.Linq;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;namespace&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; SRF.CRM.Integration.Payment&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;public&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Consolas" size="2"&gt;class&lt;/FONT&gt; &lt;FONT color="#2b91af" face="Consolas" size="2"&gt;Authorize_Net&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; : &lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;IPaymentGateway&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;string&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; ApiLoginID { &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;; &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;set&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;; }&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;string&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; ApiTransactionKey { &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;; &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;set&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;; }&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;bool&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; IsSandboxMode { &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;get&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;; &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;set&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;; }&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;public&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; Authorize_Net(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;string&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; pApiLoginID, &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;string&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; pApiTransactionKey, &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;bool&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; pIsSandboxMode)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;ApiLoginID = pApiLoginID;&lt;/P&gt;&lt;P&gt;ApiTransactionKey = pApiTransactionKey;&lt;/P&gt;&lt;P&gt;IsSandboxMode = pIsSandboxMode;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;System.Net.&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ServicePointManager&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;.SecurityProtocol = System.Net.&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;SecurityProtocolType&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;.Tls12;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;public&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Consolas" size="2"&gt;void&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; GetTransactionList(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;string&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; batchid)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ApiOperationBase&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ANetApiRequest&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ANetApiResponse&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;gt;.RunEnvironment = (IsSandboxMode) ? AuthorizeNet.&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;Environment&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;.SANDBOX : AuthorizeNet.&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;Environment&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;.PRODUCTION;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" face="Consolas" size="2"&gt;// define the merchant information (authentication / transaction id)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ApiOperationBase&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ANetApiRequest&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ANetApiResponse&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;gt;.MerchantAuthentication = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;new&lt;/FONT&gt; &lt;FONT color="#2b91af" face="Consolas" size="2"&gt;merchantAuthenticationType&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;()&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;name = ApiLoginID,&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;ItemElementName = &lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;ItemChoiceType&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;.transactionKey,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Item = ApiTransactionKey,&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;var&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; request = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;new&lt;/FONT&gt; &lt;FONT color="#2b91af" face="Consolas" size="2"&gt;getTransactionListRequest&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;request.batchId = batchId;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;request.paging = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;new&lt;/FONT&gt; &lt;FONT color="#2b91af" face="Consolas" size="2"&gt;Paging&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;limit = 10,&lt;/P&gt;&lt;P&gt;offset = 1&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;request.sorting = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;new&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; TransactionListSorting&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;orderBy = TransactionListOrderFieldEnum.id,&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;orderDescending = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;true&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;***********************************&lt;/P&gt;&lt;P&gt;I also verified that the request object is coming from AuthorizeNet.dll.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 17:57:50 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Sample-code-for-GetTransactionList-doesn-t-compile/m-p/58914#M33522</guid>
      <dc:creator>mdc</dc:creator>
      <dc:date>2017-07-20T17:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: C# Sample code for GetTransactionList doesn't compile</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Sample-code-for-GetTransactionList-doesn-t-compile/m-p/58917#M33525</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Are you able to right click on and go to the definition of request.&lt;/SPAN&gt;&lt;STRONG&gt;batchId&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;? Or just double click on the referenced AuthorizeNet.dll, under AuthorizeNet.Api.Contracts.V1.getTransactionListRequest, see what members are listed there.&amp;nbsp;What version of the dll?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;By the way, in this context your&amp;nbsp;string batchid doesn't match the case of the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;batchId being passed to request.batchId;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 18:36:32 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Sample-code-for-GetTransactionList-doesn-t-compile/m-p/58917#M33525</guid>
      <dc:creator>NexusSoftware</dc:creator>
      <dc:date>2017-07-20T18:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: C# Sample code for GetTransactionList doesn't compile</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Sample-code-for-GetTransactionList-doesn-t-compile/m-p/58921#M33529</link>
      <description>&lt;P&gt;Thanks. I must have an outdated version of AuthorizeNet.dll.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 21:14:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Sample-code-for-GetTransactionList-doesn-t-compile/m-p/58921#M33529</guid>
      <dc:creator>mdc</dc:creator>
      <dc:date>2017-07-20T21:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: C# Sample code for GetTransactionList doesn't compile</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Sample-code-for-GetTransactionList-doesn-t-compile/m-p/58943#M33551</link>
      <description>&lt;P&gt;Problem solved by downloading the latest toolkit and using the enclosed AuthorizeNet.dll. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 20:56:44 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/C-Sample-code-for-GetTransactionList-doesn-t-compile/m-p/58943#M33551</guid>
      <dc:creator>mdc</dc:creator>
      <dc:date>2017-07-21T20:56:44Z</dc:date>
    </item>
  </channel>
</rss>

