<?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>thread Re: Java Example in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Is-there-an-example-of-how-to-integrate-Square-into-a-back-end/m-p/18736#M95080</link>
    <description>&lt;P&gt;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/30148"&gt;@zappullae&lt;/a&gt; - Let me check with our developer team on this one. &lt;span class="lia-unicode-emoji" title=":upside_down_face:"&gt;🙃&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2016 17:39:01 GMT</pubDate>
    <dc:creator>Sean</dc:creator>
    <dc:date>2016-09-20T17:39:01Z</dc:date>
    <item>
      <title>Is there an example of how to integrate Square into a back end system using Java?</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Is-there-an-example-of-how-to-integrate-Square-into-a-back-end/m-p/18441#M95079</link>
      <description>&lt;P&gt;Hi, I'm new to square but not credit card processing.&amp;nbsp; I'm currently using Authorize.net's Advanced Integration Method (AIM) to charge cards in an eCommerce application from a back end server.&amp;nbsp; Is there an example of how to integrate Square into a back end system using Java?&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;ANet uses code such as:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import net.authorize.*;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import net.authorize.aim.*;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Merchant&amp;nbsp; merchant_ = Merchant.createMerchant(Environment.SANDBOX, apiLoginID, transactionKey);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Transaction anetTrans = merchant_.createAIMTransaction(anetTransType, new BigDecimal(ccrTrans.amount()));&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Result&amp;lt;Transaction&amp;gt; result = (Result&amp;lt;Transaction&amp;gt;) merchant_.postTransaction(anetTrans);&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 16:45:07 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Is-there-an-example-of-how-to-integrate-Square-into-a-back-end/m-p/18441#M95079</guid>
      <dc:creator>zappullae</dc:creator>
      <dc:date>2017-02-22T16:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Java Example</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Is-there-an-example-of-how-to-integrate-Square-into-a-back-end/m-p/18736#M95080</link>
      <description>&lt;P&gt;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/30148"&gt;@zappullae&lt;/a&gt; - Let me check with our developer team on this one. &lt;span class="lia-unicode-emoji" title=":upside_down_face:"&gt;🙃&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 17:39:01 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Is-there-an-example-of-how-to-integrate-Square-into-a-back-end/m-p/18736#M95080</guid>
      <dc:creator>Sean</dc:creator>
      <dc:date>2016-09-20T17:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Java Example</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Is-there-an-example-of-how-to-integrate-Square-into-a-back-end/m-p/18742#M95081</link>
      <description>&lt;P&gt;Thanks Sean.&amp;nbsp; I have it figured out.&amp;nbsp;&amp;nbsp; It seems like its just a simple HTTPSConnection with a get for the Locations and a post for the transactions.&amp;nbsp;&amp;nbsp; I'm having other problems getting the nonce for the transaction from SqPaymentForm but that a different challange.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 18:02:08 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Is-there-an-example-of-how-to-integrate-Square-into-a-back-end/m-p/18742#M95081</guid>
      <dc:creator>zappullae</dc:creator>
      <dc:date>2016-09-20T18:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Java Example</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Is-there-an-example-of-how-to-integrate-Square-into-a-back-end/m-p/18743#M95082</link>
      <description>&lt;P&gt;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/30148"&gt;@zappullae&lt;/a&gt; - Glad to hear, and I think that Spenser might be helping you out with that thread.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 18:05:11 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Is-there-an-example-of-how-to-integrate-Square-into-a-back-end/m-p/18743#M95082</guid>
      <dc:creator>Sean</dc:creator>
      <dc:date>2016-09-20T18:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Java Example</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Is-there-an-example-of-how-to-integrate-Square-into-a-back-end/m-p/18745#M95083</link>
      <description>&lt;P&gt;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/30148"&gt;@zappullae&lt;/a&gt; &amp;nbsp;- Our developer team did share the following details as well: we don't currently have a Java SDK or examples yet, but you may find using the Unirest or OkHttp libraries useful in making calls to our API. If it's helpful, you can use code samples for other languages as a reference (&lt;A href="https://docs.connect.squareup.com/articles/code-samples/" target="_blank"&gt;https://docs.connect.squareup.com/articles/code-samples/&lt;/A&gt;). We'll forward Java examples and SDKs to the team as a feature request.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 18:10:44 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Is-there-an-example-of-how-to-integrate-Square-into-a-back-end/m-p/18745#M95083</guid>
      <dc:creator>Sean</dc:creator>
      <dc:date>2016-09-20T18:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Java Example</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Is-there-an-example-of-how-to-integrate-Square-into-a-back-end/m-p/18750#M95084</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; I decyphered the PHP code and turned it into Java.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 18:40:17 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Is-there-an-example-of-how-to-integrate-Square-into-a-back-end/m-p/18750#M95084</guid>
      <dc:creator>zappullae</dc:creator>
      <dc:date>2016-09-20T18:40:17Z</dc:date>
    </item>
  </channel>
</rss>

