<?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: .NET SDK 1.6: StackOverflowException when reading properties in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/NET-SDK-1-6-StackOverflowException-when-reading-properties/m-p/23781#M12786</link>
    <description>&lt;P&gt;Great! Thanks for the update. Is there any way to subscribe to be notified when SDK updates are released? Also, have you guys considered putting the SDK onto Github so the community can help with pathches like this?&lt;/P&gt;</description>
    <pubDate>Wed, 29 Feb 2012 10:16:12 GMT</pubDate>
    <dc:creator>mroach</dc:creator>
    <dc:date>2012-02-29T10:16:12Z</dc:date>
    <item>
      <title>.NET SDK 1.6: StackOverflowException when reading properties</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/NET-SDK-1-6-StackOverflowException-when-reading-properties/m-p/21791#M11845</link>
      <description>&lt;P&gt;When attempting to read (get method) the&amp;nbsp;&lt;FONT face="courier new,courier"&gt;BankAccountType&lt;/FONT&gt; and&amp;nbsp;&lt;FONT face="courier new,courier"&gt;EcheckType&lt;/FONT&gt; properties from a &lt;FONT face="courier new,courier"&gt;GatewayRequest&lt;/FONT&gt;, you'll get a &lt;FONT face="courier new,courier"&gt;StackOverflowException&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is caused by the &lt;FONT face="courier new,courier"&gt;get{}&lt;/FONT&gt; implementations of these properties on lines 356 and 380 respectively of GatewayRequest.cs. To correct this problem, change the code to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Line 356:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;get { return (BankAccountType)Enum.Parse(typeof(BankAccountType), Get(ApiFields.BankAcctType), true); }&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Line 380:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;get { return (EcheckType)Enum.Parse(typeof(EcheckType), Get(ApiFields.EcheckType), true); }&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code to reproduce the error in SDK 1.6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;var req = new EcheckRequest(10.00m, "011000138", "1234567890", BankAccountType.Checking,&amp;nbsp;"Bank of America N.A.", "Jean Luc Picard", "0000");&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;// this works, no problem&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Console.WriteLine(req.ToPostString());&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;// get ready for a StackOverflowException&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Console.WriteLine(req.BankAccountType);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Console.WriteLine(req.EcheckType);&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2012 13:26:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/NET-SDK-1-6-StackOverflowException-when-reading-properties/m-p/21791#M11845</guid>
      <dc:creator>mroach</dc:creator>
      <dc:date>2012-01-18T13:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: .NET SDK 1.6: StackOverflowException when reading properties</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/NET-SDK-1-6-StackOverflowException-when-reading-properties/m-p/22511#M12180</link>
      <description>&lt;P&gt;Hey mroach,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for posting this! We've put this on our list of updates to make in a future release of the SDK. But until then, this should be great for anyone using the SDK.&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>Wed, 01 Feb 2012 23:24:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/NET-SDK-1-6-StackOverflowException-when-reading-properties/m-p/22511#M12180</guid>
      <dc:creator>Michelle</dc:creator>
      <dc:date>2012-02-01T23:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: .NET SDK 1.6: StackOverflowException when reading properties</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/NET-SDK-1-6-StackOverflowException-when-reading-properties/m-p/23747#M12769</link>
      <description>&lt;P&gt;This should now be resolved in version 1.7 of the SDK which was posted late last night.&amp;nbsp; Thanks again for the bug report!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2012 20:28:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/NET-SDK-1-6-StackOverflowException-when-reading-properties/m-p/23747#M12769</guid>
      <dc:creator>Trevor</dc:creator>
      <dc:date>2012-02-28T20:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: .NET SDK 1.6: StackOverflowException when reading properties</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/NET-SDK-1-6-StackOverflowException-when-reading-properties/m-p/23781#M12786</link>
      <description>&lt;P&gt;Great! Thanks for the update. Is there any way to subscribe to be notified when SDK updates are released? Also, have you guys considered putting the SDK onto Github so the community can help with pathches like this?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 10:16:12 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/NET-SDK-1-6-StackOverflowException-when-reading-properties/m-p/23781#M12786</guid>
      <dc:creator>mroach</dc:creator>
      <dc:date>2012-02-29T10:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: .NET SDK 1.6: StackOverflowException when reading properties</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/NET-SDK-1-6-StackOverflowException-when-reading-properties/m-p/23917#M12852</link>
      <description>&lt;P&gt;At this time, there isn't a way to subscribe to news updates notifying of SDK updates.&amp;nbsp; We will most likely be releasing another update to the .Net SDK in the next week or two and I will see if we can come to decision on how to anounce these updates in a more consistent manner. My guess is that we are more likely to provide this through something like an RSS feed than through some sort of push notification like an email.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have discussed putting the projects on Github, but it is not something that we are ready to do at this time.&amp;nbsp; It is certainly a possibility that we will continue evaluate as we move forward.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2012 22:02:14 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/NET-SDK-1-6-StackOverflowException-when-reading-properties/m-p/23917#M12852</guid>
      <dc:creator>Trevor</dc:creator>
      <dc:date>2012-03-02T22:02:14Z</dc:date>
    </item>
  </channel>
</rss>

