Creating an order with API and viewing it in dashboard?

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"? 

 

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. 

 

SquareConnect\Model\CreateOrderResponse Object
(
    [order:protected] => SquareConnect\Model\Order Object
        (
            [id:protected] => JBr4hgtpIYep1nUbzPlOmdtNbe4F
            [location_id:protected] => D5D7****** <--Removed some of this for security just incase. 
            [reference_id:protected] => 
            [line_items:protected] => Array
                (
                    [0] => SquareConnect\Model\OrderLineItem Object
                        (
                            [name:protected] => Taku Lodge Flight & Feast
                            [quantity:protected] => 1
                            [note:protected] => 
                            [catalog_object_id:protected] => 
                            [variation_name:protected] => 
                            [modifiers:protected] => 
                            [taxes:protected] => 
                            [discounts:protected] => 
                            [base_price_money:protected] => SquareConnect\Model\Money Object
                                (
                                    [amount:protected] => 600
                                    [currency:protected] => USD
                                )

                            [gross_sales_money:protected] => SquareConnect\Model\Money Object
                                (
                                    [amount:protected] => 600
                                    [currency:protected] => USD
                                )

                            [total_tax_money:protected] => SquareConnect\Model\Money Object
                                (
                                    [amount:protected] => 0
                                    [currency:protected] => USD
                                )

                            [total_discount_money:protected] => SquareConnect\Model\Money Object
                                (
                                    [amount:protected] => 0
                                    [currency:protected] => USD
                                )

                            [total_money:protected] => SquareConnect\Model\Money Object
                                (
                                    [amount:protected] => 600
                                    [currency:protected] => USD
                                )

                        )

                )

            [total_money:protected] => SquareConnect\Model\Money Object
                (
                    [amount:protected] => 600
                    [currency:protected] => USD
                )

            [total_tax_money:protected] => SquareConnect\Model\Money Object
                (
                    [amount:protected] => 0
                    [currency:protected] => USD
                )

            [total_discount_money:protected] => SquareConnect\Model\Money Object
                (
                    [amount:protected] => 0
                    [currency:protected] => USD
                )

        )

    [errors:protected] => 
)

 

963 Views
Message 1 of 3
Report
2 REPLIES 2
Alumni

Hi again @dsclilruth!

 

I escalated this to the API team for you. Orders alone will not show up in the Square Dashboard. You need to charge the order using Suqare's APIs first, and then it would show up as a transaction with the itemized information. The documenation here has the steps to attach an order to a transaction

️ Helen
Seller Community Manager

936 Views
Message 2 of 3
Report

Thanks! Transactions is pointing me in the right direction for sure 🙂

932 Views
Message 3 of 3
Report