<?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: Authorize.Net SDK Error - &amp;quot;There was an error generating the XML document&amp;quot; in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Authorize-Net-SDK-Error-quot-There-was-an-error-generating-the/m-p/72054#M44445</link>
    <description>&lt;P&gt;Solution founds.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following fixes:&lt;/P&gt;&lt;P&gt;1. paymentType needed to be the&amp;nbsp;&lt;STRONG&gt;actual&amp;nbsp;&lt;/STRONG&gt; creditcard variable not an enumerator type.&lt;/P&gt;&lt;PRE&gt;               _paymentType = new AuthNetContract.paymentType
                {
                    Item = _creditCardType
                };&lt;/PRE&gt;&lt;P&gt;2. The expirationdate was returning 4 digit year instead of 2 digit year.&lt;/P&gt;</description>
    <pubDate>Tue, 26 May 2020 06:46:58 GMT</pubDate>
    <dc:creator>ShadowDancerLV</dc:creator>
    <dc:date>2020-05-26T06:46:58Z</dc:date>
    <item>
      <title>Authorize.Net SDK Error - "There was an error generating the XML document"</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Authorize-Net-SDK-Error-quot-There-was-an-error-generating-the/m-p/72043#M44437</link>
      <description>&lt;P&gt;I'm using the following environment:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Nuget package of the SDK (2.0.1 - &lt;A href="https://github.com/AuthorizeNet/sdk-dotnet" target="_blank"&gt;https://github.com/AuthorizeNet/sdk-dotnet&lt;/A&gt;)&lt;/LI&gt;&lt;LI&gt;C#&lt;/LI&gt;&lt;LI&gt;Visual Studio 2019&lt;/LI&gt;&lt;LI&gt;Sandbox accounts using test cards and zipcodes.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The request is successfully built however when I call the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;_oTranController = new AuthNetControllers.createTransactionController(apiRequest: _oTranRequest);
_oTranController.Execute();
_oResponse = _oTranController.GetApiResponse();&lt;/PRE&gt;&lt;P&gt;The response object is&amp;nbsp;&lt;STRONG&gt;NULL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the exception &lt;FONT color="#FF0000"&gt;There was an error generating the XML document&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Nothing shows up anywhere else, just that error.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Any help appreciated.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2020 18:53:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Authorize-Net-SDK-Error-quot-There-was-an-error-generating-the/m-p/72043#M44437</guid>
      <dc:creator>ShadowDancerLV</dc:creator>
      <dc:date>2020-05-24T18:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Authorize.Net SDK Error - "There was an error generating the XML document"</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Authorize-Net-SDK-Error-quot-There-was-an-error-generating-the/m-p/72048#M44440</link>
      <description>&lt;P&gt;Additional details:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BaseUrl: &lt;A href="https://test.authorize.net" target="_blank"&gt;https://test.authorize.net&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CardPresentUrl: &lt;A href="https://test.authorize.net" target="_blank"&gt;https://test.authorize.net&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;XmlBaseUrl: &lt;A href="https://apitest.authorize.net" target="_blank"&gt;https://apitest.authorize.net&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 21:04:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Authorize-Net-SDK-Error-quot-There-was-an-error-generating-the/m-p/72048#M44440</guid>
      <dc:creator>ShadowDancerLV</dc:creator>
      <dc:date>2020-05-25T21:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Authorize.Net SDK Error - "There was an error generating the XML document"</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Authorize-Net-SDK-Error-quot-There-was-an-error-generating-the/m-p/72054#M44445</link>
      <description>&lt;P&gt;Solution founds.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following fixes:&lt;/P&gt;&lt;P&gt;1. paymentType needed to be the&amp;nbsp;&lt;STRONG&gt;actual&amp;nbsp;&lt;/STRONG&gt; creditcard variable not an enumerator type.&lt;/P&gt;&lt;PRE&gt;               _paymentType = new AuthNetContract.paymentType
                {
                    Item = _creditCardType
                };&lt;/PRE&gt;&lt;P&gt;2. The expirationdate was returning 4 digit year instead of 2 digit year.&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 06:46:58 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Authorize-Net-SDK-Error-quot-There-was-an-error-generating-the/m-p/72054#M44445</guid>
      <dc:creator>ShadowDancerLV</dc:creator>
      <dc:date>2020-05-26T06:46:58Z</dc:date>
    </item>
  </channel>
</rss>

