<?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: New Model Feedback in Community Feedback</title>
    <link>https://community.developer.cybersource.com/t5/Community-Feedback/New-Model-Feedback/m-p/50080#M304</link>
    <description>&lt;P&gt;Thanks Brian!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can go ahead and delete this thread. &amp;nbsp;I looked for that option and couldn't find it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am thorougly convinced that I won't be a user of the new SDK. &amp;nbsp;I assume that I would loose all of the C# goodness that this has to offer, including exception handling and property syntax suger.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Mar 2015 00:31:08 GMT</pubDate>
    <dc:creator>Vaslin</dc:creator>
    <dc:date>2015-03-24T00:31:08Z</dc:date>
    <item>
      <title>New Model Feedback</title>
      <link>https://community.developer.cybersource.com/t5/Community-Feedback/New-Model-Feedback/m-p/50075#M302</link>
      <description>&lt;P&gt;&lt;A target="_blank" href="https://github.com/AuthorizeNet/sdk-dotnet"&gt;https://github.com/AuthorizeNet/sdk-dotnet&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt; We’re introducing the new model as "supplementary" at this time and we would appreciate your feedback. Let us know what you really think!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After one of your developers redirected me to this 'supplementary SDK' and told me to use this vs. fixing a bug in the GitHub where we can't even send in a billing test, I will let you know what a senior developer of 30 years really thinks...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;merchantAuthenticationType CustomMerchantAuthenticationType = &lt;SPAN class="pl-k"&gt;new&lt;/SPAN&gt; merchantAuthenticationType
            {
                name = &lt;SPAN class="pl-s"&gt;&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;5KP3u95bQpv&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;,
                ItemElementName = ItemChoiceType.transactionKey,
                Item = &lt;SPAN class="pl-s"&gt;&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;4Ktq966gC55GAX7S&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;,
            };&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Wow, right off the bad I am just stymied by the incredible lack of standardization and naming conventions. &amp;nbsp;You are first using lower case class/enum names, and upper case variable names. &amp;nbsp;One property is lower case, the others are upper case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.MerchantAuthentication = CustomMerchantAuthenticationType;
            ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.RunEnvironment = AuthorizeNet.Environment.SANDBOX;&lt;/PRE&gt;&lt;P&gt;And now what is this evil? &amp;nbsp;Are these singletons that we are setting? &amp;nbsp; &amp;nbsp;I'm sure you can make a class singleton that makes this much easier for the developer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="pl-k"&gt;var&lt;/SPAN&gt; transactionRequestType = &lt;SPAN class="pl-k"&gt;new&lt;/SPAN&gt; transactionRequestType&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'll just stop posting at this point since&amp;nbsp;someone incredibly used a variable to match the name of the class that actually exists in two completely different namespaces. &amp;nbsp;At least we're back to using lower case local variable names, but I'm not sure if that's an improvement anymore.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;using AuthorizeNet.Api.Contracts.V1;&lt;BR /&gt;using AuthorizeNet.APICore;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And then I get to a property in that class&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;payment = new paymentType { Item = new opaqueDataType { dataDescriptor = "COMMON.APPLE.INAPP.PAYMENT", dataValue = "eyJkYXRhIjoiQkRQTldTdE1tR2V3UVVXR2c0bzdFXC9qKzFjcTFUNzhxeVU4NGI2N2l0amNZSTh3UFlBT2hzaGpoWlBycWRVcjRYd1BNYmo0emNHTWR5KysxSDJWa1BPWStCT01GMjV1YjE5Y1g0bkN2a1hVVU9UakRsbEIxVGdTcjhKSFp4Z3A5ckNnc1NVZ2JCZ0tmNjBYS3V0WGY2YWpcL284WkliS25yS1E4U2gwb3VMQUtsb1VNbit2U&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Seriously... &amp;nbsp;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2015 20:33:45 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Community-Feedback/New-Model-Feedback/m-p/50075#M302</guid>
      <dc:creator>Vaslin</dc:creator>
      <dc:date>2015-03-23T20:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: New Model Feedback</title>
      <link>https://community.developer.cybersource.com/t5/Community-Feedback/New-Model-Feedback/m-p/50077#M303</link>
      <description>&lt;P&gt;Hi Vaslin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apologies if the mention of the new model was a distraction we have updated the existing code in our future branch. &amp;nbsp;We do not have a release built with this change yet but you can build the dll from this code base. &amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/AuthorizeNet/sdk-dotnet/tree/future" target="_blank"&gt;https://github.com/AuthorizeNet/sdk-dotnet/tree/future&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The new SDK model is still suplementary to our existing code, the reason I suggested that was that you could have an immediate solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another reason for using the new model would be to take advantage of createTransaction API method rather than&amp;nbsp;&lt;SPAN&gt;createCustomerProfileTransactionRequest. &amp;nbsp;At an API level CreateTransaction is the recommended way to charge profiles (consistent request &amp;amp; comprehensive response) going forward and we will be updating the SDK in the future to use that method (regardless of old model/new model).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Brian&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2015 22:34:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Community-Feedback/New-Model-Feedback/m-p/50077#M303</guid>
      <dc:creator>brianmc</dc:creator>
      <dc:date>2015-03-23T22:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: New Model Feedback</title>
      <link>https://community.developer.cybersource.com/t5/Community-Feedback/New-Model-Feedback/m-p/50080#M304</link>
      <description>&lt;P&gt;Thanks Brian!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can go ahead and delete this thread. &amp;nbsp;I looked for that option and couldn't find it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am thorougly convinced that I won't be a user of the new SDK. &amp;nbsp;I assume that I would loose all of the C# goodness that this has to offer, including exception handling and property syntax suger.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2015 00:31:08 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Community-Feedback/New-Model-Feedback/m-p/50080#M304</guid>
      <dc:creator>Vaslin</dc:creator>
      <dc:date>2015-03-24T00:31:08Z</dc:date>
    </item>
  </channel>
</rss>

