<?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: SSL/TLS Issue in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SSL-TLS-Issue/m-p/64736#M38555</link>
    <description>&lt;P&gt;Before your controller.execute put this line of code to force TLS 1.2:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ServicePointManager.SecurityProtocol = CType(3072, SecurityProtocolType)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in C#:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-pcmatt@IDP.Net&lt;/P&gt;</description>
    <pubDate>Wed, 10 Oct 2018 22:02:14 GMT</pubDate>
    <dc:creator>pcmatt</dc:creator>
    <dc:date>2018-10-10T22:02:14Z</dc:date>
    <item>
      <title>SSL/TLS Issue</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SSL-TLS-Issue/m-p/64673#M38501</link>
      <description>&lt;P&gt;I have a VB.Net application that has been using authorize.net for years. When they made the change for TLS I had to do some recoding. It seems to work most of the time, but recently customers have been complaining about the frequency of failures to authorize. I looked at the errors and I am seeing this a lot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure why this is so sporadic. Any suggestions would help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The request was aborted: Could not create SSL/TLS secure channel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code that I am using.&lt;/P&gt;&lt;P&gt;ApiOperationBase(Of ANetApiRequest, ANetApiResponse).RunEnvironment = Global.AuthorizeNet.Environment.PRODUCTION&lt;/P&gt;&lt;P&gt;'define the merchant information (authentication / transaction id)&lt;BR /&gt;Dim merchantAuthType As New merchantAuthenticationType() With {&lt;BR /&gt;.name = MyLogin,&lt;BR /&gt;.ItemElementName = ItemChoiceType.transactionKey,&lt;BR /&gt;.Item = MyTranKey&lt;BR /&gt;}&lt;BR /&gt;ApiOperationBase(Of ANetApiRequest, ANetApiResponse).MerchantAuthentication = merchantAuthType&lt;/P&gt;&lt;P&gt;Dim creditCard = New creditCardType()&lt;BR /&gt;creditCard.cardNumber = CCNum&lt;BR /&gt;creditCard.expirationDate = ExpDate&lt;/P&gt;&lt;P&gt;Dim billingAddress = New customerAddressType()&lt;BR /&gt;billingAddress.firstName = tbFirstOnCard.Text&lt;BR /&gt;billingAddress.lastName = tbLastOnCard.Text&lt;BR /&gt;billingAddress.zip = tbCCZip.Text&lt;/P&gt;&lt;P&gt;'standard api call to retrieve response&lt;BR /&gt;Dim paymentType = New paymentType()&lt;BR /&gt;paymentType.Item = creditCard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim transactionRequest = New transactionRequestType()&lt;BR /&gt;transactionRequest.transactionType = transactionTypeEnum.authCaptureTransaction.ToString()&lt;BR /&gt;transactionRequest.amount = Replace(lblTotal.Text, "$", "")&lt;BR /&gt;transactionRequest.merchantDescriptor = "My Order"&lt;BR /&gt;transactionRequest.payment = paymentType&lt;BR /&gt;transactionRequest.billTo = billingAddress&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Dim request = New createTransactionRequest()&lt;BR /&gt;request.transactionRequest = transactionRequest&lt;/P&gt;&lt;P&gt;'instantiate the controller that will call the service&lt;BR /&gt;Dim controller = New createTransactionController(request)&lt;BR /&gt;controller.Execute()&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 11:38:50 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SSL-TLS-Issue/m-p/64673#M38501</guid>
      <dc:creator>pcnerd911</dc:creator>
      <dc:date>2018-10-04T11:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: SSL/TLS Issue</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SSL-TLS-Issue/m-p/64736#M38555</link>
      <description>&lt;P&gt;Before your controller.execute put this line of code to force TLS 1.2:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ServicePointManager.SecurityProtocol = CType(3072, SecurityProtocolType)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in C#:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-pcmatt@IDP.Net&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 22:02:14 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SSL-TLS-Issue/m-p/64736#M38555</guid>
      <dc:creator>pcmatt</dc:creator>
      <dc:date>2018-10-10T22:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: SSL/TLS Issue</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SSL-TLS-Issue/m-p/64747#M38564</link>
      <description>&lt;P&gt;Thanks I will try that.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 22:43:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SSL-TLS-Issue/m-p/64747#M38564</guid>
      <dc:creator>pcnerd911</dc:creator>
      <dc:date>2018-10-11T22:43:03Z</dc:date>
    </item>
  </channel>
</rss>

