Notice: Undefined index: order_id in /var/www/html/mytpc/tredyfoods/order_store.php on line 37


https://a622c1e4d98cd255065fda01946c9828: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@tredyfoods.myshopify.com/admin/api/2020-04/orders.json?name=
Notice: Undefined index: orders in /var/www/html/mytpc/tredyfoods/order_store.php on line 66

Notice: Undefined variable: phone_number in /var/www/html/mytpc/tredyfoods/order_store.php on line 73
Phone Number: Order Number: Date of Order:01-01-1970 05:30 AM Shipping Address: Products: Payment Mode: *Press 9 for main menu*
select name as customer_unique_id from `tabTredy Customer` where `id`=''0
Array
(
    [id] => 
    [email] => 
    [created_at] => 1970-01-01 05:30:00
    [first_name] => 
    [last_name] => 
    [address_id] => 
    [address_customer_id] => 
    [address_first_name] => 
    [address_last_name] => 
    [company] => 
    [address1] => 
    [address2] => 
    [city] => 
    [province] => 
    [country] => 
    [zip] => 
    [phone_number] => 
    [full_name] => 
    [province_code] => 
    [country_code] => 
    [country_name] => 
)
Array
(
    [errorno] => 0
    [error] => 
    [body] => Array
        (
            [data] => Array
                (
                    [address_first_name] => 
                    [address_id] => 
                    [last_name] => 
                    [country_code] => 
                    [creation] => 2024-02-26 07:02:20.688147
                    [doctype] => Tredy Customer
                    [full_name] => 
                    [owner] => Administrator
                    [id] => 
                    [city] => 
                    [first_name] => 
                    [modified_by] => Administrator
                    [zip] => 
                    [country_name] => 
                    [docstatus] => 0
                    [company] => 
                    [email] => 
                    [province] => 
                    [phone_number] => 
                    [parent] => 
                    [address1] => 
                    [address2] => 
                    [province_code] => 
                    [name] => 891d275076
                    [idx] => 0
                    [country] => 
                    [created_at] => 1970-01-01 05:30:00
                    [modified] => 2024-02-26 07:02:20.688147
                    [address_customer_id] => 
                    [parenttype] => 
                    [address_last_name] => 
                    [parentfield] => 
                )

        )

    [header] => Array
        (
            [url] => http://206.189.131.189//api/resource/Tredy Customer
            [content_type] => application/json
            [http_code] => 200
            [header_size] => 475
            [request_size] => 360
            [filetime] => -1
            [ssl_verify_result] => 0
            [redirect_count] => 0
            [total_time] => 0.117491
            [namelookup_time] => 1.9E-5
            [connect_time] => 0.000771
            [pretransfer_time] => 0.000839
            [size_upload] => 528
            [size_download] => 652
            [speed_download] => 5549
            [speed_upload] => 4493
            [download_content_length] => 652
            [upload_content_length] => 528
            [starttransfer_time] => 0.001138
            [redirect_time] => 0
            [redirect_url] => 
            [primary_ip] => 206.189.131.189
            [certinfo] => Array
                (
                )

            [primary_port] => 80
            [local_ip] => 139.59.36.133
            [local_port] => 54384
        )

    [is_auth] => 1
)

customer_unique_id891d275076
Array
(
    [order_id] => 
    [email] => 
    [tredy_customer] => 891d275076
    [created_at] => 1970-01-01 05:30:00
    [total_price] => 
    [subtotal_price] => 
    [total_weigt] => 
    [currency] => 
    [financial_status] => 
    [confirmed] => 
    [total_discounts] => 
    [total_line_items_price] => 
    [phone] => 
    [payment_gateway_names] => 
    [billing_first_name] => 
    [billing_address1] => 
    [billing_phone] => 
    [billing_city] => 
    [billing_zip] => 
    [billing_province] => 
    [billing_country] => 
    [billing_last_name] => 
    [billing_address2] => 
    [billing_company] => 
    [billing_latitude] => 
    [billing_longitude] => 
    [billing_name] => 
    [billing_country_code] => 
    [billing_province_code] => 
    [shipping_first_name] => 
    [shipping_address1] => 
    [shipping_phone] => 
    [shipping_city] => 
    [shipping_zip] => 
    [shipping_province] => 
    [shipping_country] => 
    [shipping_last_name] => 
    [shipping_address2] => 
    [shipping_company] => 
    [shipping_latitude] => 
    [shipping_longitude] => 
    [shipping_name] => 
    [shipping_country_code] => 
    [shipping_province_code] => 
    [tredyfoods_line_items] => Array
        (
        )

)
Order- NEw