<?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 Creating an order with API and viewing it in dashboard? in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Creating-an-order-with-API-and-viewing-it-in-dashboard/m-p/110869#M98032</link>
    <description>&lt;P&gt;I'm messing around with the Squares API and was wondering when creating an Order am I able to view it within the Square Dashboard under "Orders"?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the response I am getting after submitting an order using the API but not seeing any Orders show up that I could potentially charge a customers card on file with the order I created. I am using PHP and any help would be awesome to point me in the right direction on how to create an order successfully and view it + paying it from a customers card on file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;SquareConnect\Model\CreateOrderResponse Object
(
    [order:protected] =&amp;gt; SquareConnect\Model\Order Object
        (
            [id:protected] =&amp;gt; JBr4hgtpIYep1nUbzPlOmdtNbe4F
            [location_id:protected] =&amp;gt; D5D7****** &amp;lt;--Removed some of this for security just incase. 
            [reference_id:protected] =&amp;gt; 
            [line_items:protected] =&amp;gt; Array
                (
                    [0] =&amp;gt; SquareConnect\Model\OrderLineItem Object
                        (
                            [name:protected] =&amp;gt; Taku Lodge Flight &amp;amp; Feast
                            [quantity:protected] =&amp;gt; 1
                            [note:protected] =&amp;gt; 
                            [catalog_object_id:protected] =&amp;gt; 
                            [variation_name:protected] =&amp;gt; 
                            [modifiers:protected] =&amp;gt; 
                            [taxes:protected] =&amp;gt; 
                            [discounts:protected] =&amp;gt; 
                            [base_price_money:protected] =&amp;gt; SquareConnect\Model\Money Object
                                (
                                    [amount:protected] =&amp;gt; 600
                                    [currency:protected] =&amp;gt; USD
                                )

                            [gross_sales_money:protected] =&amp;gt; SquareConnect\Model\Money Object
                                (
                                    [amount:protected] =&amp;gt; 600
                                    [currency:protected] =&amp;gt; USD
                                )

                            [total_tax_money:protected] =&amp;gt; SquareConnect\Model\Money Object
                                (
                                    [amount:protected] =&amp;gt; 0
                                    [currency:protected] =&amp;gt; USD
                                )

                            [total_discount_money:protected] =&amp;gt; SquareConnect\Model\Money Object
                                (
                                    [amount:protected] =&amp;gt; 0
                                    [currency:protected] =&amp;gt; USD
                                )

                            [total_money:protected] =&amp;gt; SquareConnect\Model\Money Object
                                (
                                    [amount:protected] =&amp;gt; 600
                                    [currency:protected] =&amp;gt; USD
                                )

                        )

                )

            [total_money:protected] =&amp;gt; SquareConnect\Model\Money Object
                (
                    [amount:protected] =&amp;gt; 600
                    [currency:protected] =&amp;gt; USD
                )

            [total_tax_money:protected] =&amp;gt; SquareConnect\Model\Money Object
                (
                    [amount:protected] =&amp;gt; 0
                    [currency:protected] =&amp;gt; USD
                )

            [total_discount_money:protected] =&amp;gt; SquareConnect\Model\Money Object
                (
                    [amount:protected] =&amp;gt; 0
                    [currency:protected] =&amp;gt; USD
                )

        )

    [errors:protected] =&amp;gt; 
)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 24 Feb 2019 00:29:57 GMT</pubDate>
    <dc:creator>dsclilruth</dc:creator>
    <dc:date>2019-02-24T00:29:57Z</dc:date>
    <item>
      <title>Creating an order with API and viewing it in dashboard?</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Creating-an-order-with-API-and-viewing-it-in-dashboard/m-p/110869#M98032</link>
      <description>&lt;P&gt;I'm messing around with the Squares API and was wondering when creating an Order am I able to view it within the Square Dashboard under "Orders"?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the response I am getting after submitting an order using the API but not seeing any Orders show up that I could potentially charge a customers card on file with the order I created. I am using PHP and any help would be awesome to point me in the right direction on how to create an order successfully and view it + paying it from a customers card on file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;SquareConnect\Model\CreateOrderResponse Object
(
    [order:protected] =&amp;gt; SquareConnect\Model\Order Object
        (
            [id:protected] =&amp;gt; JBr4hgtpIYep1nUbzPlOmdtNbe4F
            [location_id:protected] =&amp;gt; D5D7****** &amp;lt;--Removed some of this for security just incase. 
            [reference_id:protected] =&amp;gt; 
            [line_items:protected] =&amp;gt; Array
                (
                    [0] =&amp;gt; SquareConnect\Model\OrderLineItem Object
                        (
                            [name:protected] =&amp;gt; Taku Lodge Flight &amp;amp; Feast
                            [quantity:protected] =&amp;gt; 1
                            [note:protected] =&amp;gt; 
                            [catalog_object_id:protected] =&amp;gt; 
                            [variation_name:protected] =&amp;gt; 
                            [modifiers:protected] =&amp;gt; 
                            [taxes:protected] =&amp;gt; 
                            [discounts:protected] =&amp;gt; 
                            [base_price_money:protected] =&amp;gt; SquareConnect\Model\Money Object
                                (
                                    [amount:protected] =&amp;gt; 600
                                    [currency:protected] =&amp;gt; USD
                                )

                            [gross_sales_money:protected] =&amp;gt; SquareConnect\Model\Money Object
                                (
                                    [amount:protected] =&amp;gt; 600
                                    [currency:protected] =&amp;gt; USD
                                )

                            [total_tax_money:protected] =&amp;gt; SquareConnect\Model\Money Object
                                (
                                    [amount:protected] =&amp;gt; 0
                                    [currency:protected] =&amp;gt; USD
                                )

                            [total_discount_money:protected] =&amp;gt; SquareConnect\Model\Money Object
                                (
                                    [amount:protected] =&amp;gt; 0
                                    [currency:protected] =&amp;gt; USD
                                )

                            [total_money:protected] =&amp;gt; SquareConnect\Model\Money Object
                                (
                                    [amount:protected] =&amp;gt; 600
                                    [currency:protected] =&amp;gt; USD
                                )

                        )

                )

            [total_money:protected] =&amp;gt; SquareConnect\Model\Money Object
                (
                    [amount:protected] =&amp;gt; 600
                    [currency:protected] =&amp;gt; USD
                )

            [total_tax_money:protected] =&amp;gt; SquareConnect\Model\Money Object
                (
                    [amount:protected] =&amp;gt; 0
                    [currency:protected] =&amp;gt; USD
                )

            [total_discount_money:protected] =&amp;gt; SquareConnect\Model\Money Object
                (
                    [amount:protected] =&amp;gt; 0
                    [currency:protected] =&amp;gt; USD
                )

        )

    [errors:protected] =&amp;gt; 
)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Feb 2019 00:29:57 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Creating-an-order-with-API-and-viewing-it-in-dashboard/m-p/110869#M98032</guid>
      <dc:creator>dsclilruth</dc:creator>
      <dc:date>2019-02-24T00:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating an order with API and viewing it in dashboard?</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Creating-an-order-with-API-and-viewing-it-in-dashboard/m-p/111091#M98033</link>
      <description>&lt;P&gt;Hi again &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/155879"&gt;@dsclilruth&lt;/a&gt;!&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I escalated this to the API team for you. Orders alone will not show up in the Square Dashboard. You&amp;nbsp;need to charge the order using Suqare's&amp;nbsp;APIs first, and then it would show up as a transaction with the itemized information. The&amp;nbsp;documenation here has the s&lt;A href="https://docs.connect.squareup.com/payments/transactions/cookbook/itemize-transactions" target="_blank"&gt;teps to attach an order to a transaction&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 22:06:56 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Creating-an-order-with-API-and-viewing-it-in-dashboard/m-p/111091#M98033</guid>
      <dc:creator>Helen</dc:creator>
      <dc:date>2019-02-25T22:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating an order with API and viewing it in dashboard?</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Creating-an-order-with-API-and-viewing-it-in-dashboard/m-p/111189#M98034</link>
      <description>&lt;P&gt;Thanks! Transactions is pointing me in the right direction for sure &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 20:58:22 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Creating-an-order-with-API-and-viewing-it-in-dashboard/m-p/111189#M98034</guid>
      <dc:creator>dsclilruth</dc:creator>
      <dc:date>2019-02-26T20:58:22Z</dc:date>
    </item>
  </channel>
</rss>

