<?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 createTransactionRequest using track1 returns null in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/createTransactionRequest-using-track1-returns-null/m-p/63417#M37546</link>
    <description>&lt;P&gt;I am using the "Authorize.Net .NET SDK" to make a card present transaction, that was working just fine before the TLS 1.2 change, then it start giving a TLS connection error so I added the following code to fix it:&lt;/P&gt;&lt;PRE&gt;ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the following code returns null response:&lt;/P&gt;&lt;PRE&gt;createTransactionRequest request = new createTransactionRequest() { transactionRequest = transactionRequest };
createTransactionController controller = new createTransactionController(request);
controller.Execute();
return controller.GetApiResponse();&lt;/PRE&gt;&lt;P&gt;I re-downloaded and rebuilded the latest &lt;A href="https://github.com/AuthorizeNet/sdk-dotnet" target="_self"&gt;.NET SDK code&lt;/A&gt; but the GetApiResponse() still returns null!&lt;BR /&gt;The credit card number charge request still works fine but only sending either track1/track2 doesn't work anymore.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jun 2018 23:24:08 GMT</pubDate>
    <dc:creator>wael101</dc:creator>
    <dc:date>2018-06-15T23:24:08Z</dc:date>
    <item>
      <title>createTransactionRequest using track1 returns null</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/createTransactionRequest-using-track1-returns-null/m-p/63417#M37546</link>
      <description>&lt;P&gt;I am using the "Authorize.Net .NET SDK" to make a card present transaction, that was working just fine before the TLS 1.2 change, then it start giving a TLS connection error so I added the following code to fix it:&lt;/P&gt;&lt;PRE&gt;ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the following code returns null response:&lt;/P&gt;&lt;PRE&gt;createTransactionRequest request = new createTransactionRequest() { transactionRequest = transactionRequest };
createTransactionController controller = new createTransactionController(request);
controller.Execute();
return controller.GetApiResponse();&lt;/PRE&gt;&lt;P&gt;I re-downloaded and rebuilded the latest &lt;A href="https://github.com/AuthorizeNet/sdk-dotnet" target="_self"&gt;.NET SDK code&lt;/A&gt; but the GetApiResponse() still returns null!&lt;BR /&gt;The credit card number charge request still works fine but only sending either track1/track2 doesn't work anymore.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 23:24:08 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/createTransactionRequest-using-track1-returns-null/m-p/63417#M37546</guid>
      <dc:creator>wael101</dc:creator>
      <dc:date>2018-06-15T23:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: createTransactionRequest using track1 returns null</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/createTransactionRequest-using-track1-returns-null/m-p/63441#M37567</link>
      <description>&lt;P&gt;Hi wael101,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The API endpoint for keyed in and card present(Track 1 and Track 2) are same and if your're keyed in is working there shouldn't be any issue with TLS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you tell us where you have placed the TLS setting line code you mentioned?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also it would be great if you are using the latest SDK can you try removing :&lt;/P&gt;&lt;PRE&gt;ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;&lt;/PRE&gt;&lt;P&gt;and try the keyed in transaction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please share the SDK logs which will help us to get more detials on the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 05:36:43 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/createTransactionRequest-using-track1-returns-null/m-p/63441#M37567</guid>
      <dc:creator>maninderp</dc:creator>
      <dc:date>2018-06-20T05:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: createTransactionRequest using track1 returns null</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/createTransactionRequest-using-track1-returns-null/m-p/63490#M37598</link>
      <description>&lt;P&gt;Hi&amp;nbsp;maninderp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for taking time to reply to me.&lt;/P&gt;&lt;P&gt;I tried again what you suggest by commenting the "ServicePointManager.SecurityProtocol" line, and it throwing the same TLS error again (The request was aborted: Could not create SSL/TLS secure channel).&lt;/P&gt;&lt;P&gt;I don't know where the SDK stores the log files, but I created an example project so you can see what I am talking about.&lt;/P&gt;&lt;P&gt;The same code used to be working before about 2-3 months, then I noticed the SSL/TLS error so I added that line to enforce the TLS 1.2, and that fixed the credit card not present charge request, the card present (with using either track1 or track2) always returns null, I also tried with two different test accounts.&lt;/P&gt;&lt;P&gt;Please check out this &lt;A href="https://drive.google.com/open?id=1EFpbU9eMN0OuHPk0pt2uMqDeGqZiUikc" target="_blank"&gt;example project&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Wael&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 21:02:07 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/createTransactionRequest-using-track1-returns-null/m-p/63490#M37598</guid>
      <dc:creator>wael101</dc:creator>
      <dc:date>2018-06-25T21:02:07Z</dc:date>
    </item>
  </channel>
</rss>

