<?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 Cannot create account using Java SDK in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-create-account-using-Java-SDK/m-p/52546#M27780</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;here is our code which have been woking for a while but stoped on 11th of Octomber. Could You please varify it and give me any suggestions. The problem is when we try to post the create account cim transaction. It just blocks in retry attemps to submit the request.&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;AuthorizenetCreateAccountRequest request = (AuthorizenetCreateAccountRequest) accountRequest&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;Environment environment = getEnvironment()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;String apiLoginID = request.getApiLogin()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;String transactionKey = request.getTransactionKey()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;Merchant merchant = Merchant.&lt;SPAN&gt;createMerchant&lt;/SPAN&gt;(environment&lt;SPAN&gt;, &lt;/SPAN&gt;apiLoginID&lt;SPAN&gt;, &lt;/SPAN&gt;transactionKey)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;CustomerProfile customerProfile = CustomerProfile.&lt;SPAN&gt;createCustomerProfile&lt;/SPAN&gt;()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;customerProfile.setMerchantCustomerId(request.getMerchantCustomerId())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;customerProfile.setEmail(request.getEmail())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;customerProfile.setDescription(request.getDescription())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;net.authorize.cim.Transaction transaction = merchant.createCIMTransaction(net.authorize.cim.TransactionType.&lt;SPAN&gt;CREATE_CUSTOMER_PROFILE&lt;/SPAN&gt;)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;transaction.setCustomerProfile(customerProfile)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;CreditCard creditCard = CreditCard.&lt;SPAN&gt;createCreditCard&lt;/SPAN&gt;()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;creditCard.setCreditCardNumber(request.getCardNumber())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;creditCard.setExpirationMonth(request.getExpMonth())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;creditCard.setExpirationYear(request.getExpYear())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;creditCard.setCardCode(request.getCardCode())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;net.authorize.data.xml.Payment payment = net.authorize.data.xml.Payment.&lt;SPAN&gt;createPayment&lt;/SPAN&gt;(creditCard)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;net.authorize.data.xml.Address address = net.authorize.data.xml.Address.&lt;SPAN&gt;createAddress&lt;/SPAN&gt;()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;address.setAddress(request.getAddress())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;address.setCity(request.getCity())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;address.setFirstName(request.getFirstName())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;address.setLastName(request.getLastName())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;address.setPhoneNumber(request.getPhoneNumber())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;address.setState(request.getState())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;address.setZipPostalCode(request.getZip())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;net.authorize.data.cim.PaymentProfile paymentProfile = net.authorize.data.cim.PaymentProfile.&lt;SPAN&gt;createPaymentProfile&lt;/SPAN&gt;()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;paymentProfile.setCustomerType(net.authorize.data.xml.CustomerType.&lt;SPAN&gt;INDIVIDUAL&lt;/SPAN&gt;)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;paymentProfile.addPayment(payment)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;paymentProfile.setBillTo(address)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;transaction.addPaymentProfile(paymentProfile)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;transaction.setValidationMode(ValidationModeType.&lt;SPAN&gt;TEST_MODE&lt;/SPAN&gt;)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;accountRequest.setSerialized(transaction.toXMLString())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;@SuppressWarnings&lt;/SPAN&gt;(&lt;SPAN&gt;"unchecked"&lt;/SPAN&gt;)&lt;BR /&gt;net.authorize.cim.Result&amp;lt;net.authorize.cim.Transaction&amp;gt; result = (net.authorize.cim.Result&amp;lt;net.authorize.cim.Transaction&amp;gt;) merchant&lt;BR /&gt;      .postTransaction(transaction)&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 13 Oct 2015 15:06:02 GMT</pubDate>
    <dc:creator>aaytov</dc:creator>
    <dc:date>2015-10-13T15:06:02Z</dc:date>
    <item>
      <title>Cannot create account using Java SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-create-account-using-Java-SDK/m-p/52546#M27780</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;here is our code which have been woking for a while but stoped on 11th of Octomber. Could You please varify it and give me any suggestions. The problem is when we try to post the create account cim transaction. It just blocks in retry attemps to submit the request.&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;AuthorizenetCreateAccountRequest request = (AuthorizenetCreateAccountRequest) accountRequest&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;Environment environment = getEnvironment()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;String apiLoginID = request.getApiLogin()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;String transactionKey = request.getTransactionKey()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;Merchant merchant = Merchant.&lt;SPAN&gt;createMerchant&lt;/SPAN&gt;(environment&lt;SPAN&gt;, &lt;/SPAN&gt;apiLoginID&lt;SPAN&gt;, &lt;/SPAN&gt;transactionKey)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;CustomerProfile customerProfile = CustomerProfile.&lt;SPAN&gt;createCustomerProfile&lt;/SPAN&gt;()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;customerProfile.setMerchantCustomerId(request.getMerchantCustomerId())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;customerProfile.setEmail(request.getEmail())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;customerProfile.setDescription(request.getDescription())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;net.authorize.cim.Transaction transaction = merchant.createCIMTransaction(net.authorize.cim.TransactionType.&lt;SPAN&gt;CREATE_CUSTOMER_PROFILE&lt;/SPAN&gt;)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;transaction.setCustomerProfile(customerProfile)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;CreditCard creditCard = CreditCard.&lt;SPAN&gt;createCreditCard&lt;/SPAN&gt;()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;creditCard.setCreditCardNumber(request.getCardNumber())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;creditCard.setExpirationMonth(request.getExpMonth())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;creditCard.setExpirationYear(request.getExpYear())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;creditCard.setCardCode(request.getCardCode())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;net.authorize.data.xml.Payment payment = net.authorize.data.xml.Payment.&lt;SPAN&gt;createPayment&lt;/SPAN&gt;(creditCard)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;net.authorize.data.xml.Address address = net.authorize.data.xml.Address.&lt;SPAN&gt;createAddress&lt;/SPAN&gt;()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;address.setAddress(request.getAddress())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;address.setCity(request.getCity())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;address.setFirstName(request.getFirstName())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;address.setLastName(request.getLastName())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;address.setPhoneNumber(request.getPhoneNumber())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;address.setState(request.getState())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;address.setZipPostalCode(request.getZip())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;net.authorize.data.cim.PaymentProfile paymentProfile = net.authorize.data.cim.PaymentProfile.&lt;SPAN&gt;createPaymentProfile&lt;/SPAN&gt;()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;paymentProfile.setCustomerType(net.authorize.data.xml.CustomerType.&lt;SPAN&gt;INDIVIDUAL&lt;/SPAN&gt;)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;paymentProfile.addPayment(payment)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;paymentProfile.setBillTo(address)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;transaction.addPaymentProfile(paymentProfile)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;transaction.setValidationMode(ValidationModeType.&lt;SPAN&gt;TEST_MODE&lt;/SPAN&gt;)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;accountRequest.setSerialized(transaction.toXMLString())&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;@SuppressWarnings&lt;/SPAN&gt;(&lt;SPAN&gt;"unchecked"&lt;/SPAN&gt;)&lt;BR /&gt;net.authorize.cim.Result&amp;lt;net.authorize.cim.Transaction&amp;gt; result = (net.authorize.cim.Result&amp;lt;net.authorize.cim.Transaction&amp;gt;) merchant&lt;BR /&gt;      .postTransaction(transaction)&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Oct 2015 15:06:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-create-account-using-Java-SDK/m-p/52546#M27780</guid>
      <dc:creator>aaytov</dc:creator>
      <dc:date>2015-10-13T15:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create account using Java SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-create-account-using-Java-SDK/m-p/52593#M27825</link>
      <description>&lt;P&gt;Please following the instructions in the thread below to provide information to further troubleshoot this issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://community.developer.authorize.net/t5/Integration-and-Testing/Response-returning-empty/m-p/52585#M27818" target="_blank"&gt;http://community.developer.authorize.net/t5/Integration-and-Testing/Response-returning-empty/m-p/52585#M27818&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2015 01:14:56 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-create-account-using-Java-SDK/m-p/52593#M27825</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2015-10-15T01:14:56Z</dc:date>
    </item>
  </channel>
</rss>

