<?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: Null Response from Sandbox in Java in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Null-Response-from-Sandbox-in-Java/m-p/59436#M34020</link>
    <description>&lt;P&gt;Dear &lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/22193"&gt;@janet&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you running your application via a TLS 1.2 connection?&lt;/P&gt;</description>
    <pubDate>Thu, 17 Aug 2017 18:06:31 GMT</pubDate>
    <dc:creator>NexusSoftware</dc:creator>
    <dc:date>2017-08-17T18:06:31Z</dc:date>
    <item>
      <title>Null Response from Sandbox in Java</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Null-Response-from-Sandbox-in-Java/m-p/59430#M34015</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I can use&amp;nbsp;visa to do purchase with production api login id and transaction key by&amp;nbsp;using real credit card data in java. Yet when I do sandbox test in java, it fails. Response is null. The detail error message is "&lt;SPAN class="Object"&gt;sun&lt;/SPAN&gt;.reflect.annotation.TypeNotPresentExceptionProxy".&amp;nbsp;For sandbox test, I use Sandbox api login id and transaction key. Is Sandbox connected? The codes are as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ApiOperationBase.setEnvironment(Environment.SANDBOX);&lt;BR /&gt;&lt;BR /&gt;MerchantAuthenticationType merchantAuthenticationType = new MerchantAuthenticationType() ;&lt;BR /&gt;merchantAuthenticationType.setName("sandbox_api_login_id");&lt;BR /&gt;merchantAuthenticationType.setTransactionKey("sandbox_transaction_key");&lt;BR /&gt;ApiOperationBase.setMerchantAuthentication(merchantAuthenticationType);&lt;BR /&gt;&lt;BR /&gt;// Populate the payment data&lt;BR /&gt;net.authorize.api.contract.v1.PaymentType paymentType =&lt;BR /&gt;new net.authorize.api.contract.v1.PaymentType();&lt;BR /&gt;CreditCardType creditCard = new CreditCardType();&lt;BR /&gt;creditCard.setCardNumber("4111111111111111&amp;gt;");&lt;BR /&gt;creditCard.setExpirationDate("0822");&lt;BR /&gt;paymentType.setCreditCard(creditCard);&lt;BR /&gt;&lt;BR /&gt;// Create the payment transaction request&lt;BR /&gt;TransactionRequestType txnRequest = new TransactionRequestType();&lt;BR /&gt;txnRequest.setTransactionType(TransactionTypeEnum.AUTH_CAPTURE_TRANSACTION.value());&lt;BR /&gt;txnRequest.setPayment(paymentType);&lt;BR /&gt;txnRequest.setAmount(new BigDecimal(500.00));&lt;BR /&gt;&lt;BR /&gt;// Make the API Request&lt;BR /&gt;CreateTransactionRequest apiRequest = new CreateTransactionRequest();&lt;BR /&gt;apiRequest.setTransactionRequest(txnRequest);&lt;BR /&gt;CreateTransactionController controller = new CreateTransactionController(apiRequest);&lt;BR /&gt;controller.execute();&lt;BR /&gt;&lt;BR /&gt;CreateTransactionResponse response = controller.getApiResponse();&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 16:26:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Null-Response-from-Sandbox-in-Java/m-p/59430#M34015</guid>
      <dc:creator>janet</dc:creator>
      <dc:date>2017-08-17T16:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Null Response from Sandbox in Java</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Null-Response-from-Sandbox-in-Java/m-p/59436#M34020</link>
      <description>&lt;P&gt;Dear &lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/22193"&gt;@janet&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you running your application via a TLS 1.2 connection?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 18:06:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Null-Response-from-Sandbox-in-Java/m-p/59436#M34020</guid>
      <dc:creator>NexusSoftware</dc:creator>
      <dc:date>2017-08-17T18:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Null Response from Sandbox in Java</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Null-Response-from-Sandbox-in-Java/m-p/59440#M34024</link>
      <description>&lt;P&gt;Yes. I am using TSL 1.2.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 20:18:49 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Null-Response-from-Sandbox-in-Java/m-p/59440#M34024</guid>
      <dc:creator>janet</dc:creator>
      <dc:date>2017-08-17T20:18:49Z</dc:date>
    </item>
  </channel>
</rss>

