Delivery Didn't show in Orders UI

HI! I have a question / issue, I’ve implemented the delivery in a website and seems to be working, the process is as follows:

  1. Create Order
  2. Add Items (Update Order)
  3. Add Delivery Details (Update Order Fulfillments)
  4. Pay Order (Payments)

In the test ENV I was able to see the order under Orders tab. but not in production.

Here’s the order detail (Production) and the Fulfillments seems to be correct but the order didn’t show in the Orders tab in the iPad nor the Dashboard / Orders, and obviously it didn’t print the order in the kitchen.

I can see the transaction under Transactions tab but it should show in Orders as well right?

Any idea?

{
    "id": "KInjDJgx4KnQMInHYSVnr6hG1SGZY",
    "locationId": "LQ145YQPXWK4G",
    "source": {
        "name": "Minys Online"
    },
    "lineItems": [
        {
            "uid": "Ag9h2TGnOtYlpDsFOho2v",
            "name": "Quesadilla Papas c/ Chorizo",
            "quantity": "1",
            "catalogObjectId": "Y5XYTDVWYLTWI6ATNELK33FG",
            "catalogVersion": "1689864974949",
            "variationName": "Regular",
            "itemType": "ITEM",
            "modifiers": [
                {
                    "uid": "T2IxEN0lyUvsF6dbLLcjKD",
                    "catalogObjectId": "FD4RLUBY4YAB6A6VO5BZJPKZ",
                    "catalogVersion": "1689864974949",
                    "name": "Corn",
                    "quantity": "1",
                    "basePriceMoney": {
                        "amount": "0",
                        "currency": "USD"
                    },
                    "totalPriceMoney": {
                        "amount": "0",
                        "currency": "USD"
                    }
                },
                {
                    "uid": "kmaDVvHQMH89jUR00zKNRB",
                    "catalogObjectId": "CCADVWYUKWCUYUSWOOPUJEOB",
                    "catalogVersion": "1689864974949",
                    "name": "No Lettuce",
                    "quantity": "1",
                    "basePriceMoney": {
                        "amount": "0",
                        "currency": "USD"
                    },
                    "totalPriceMoney": {
                        "amount": "0",
                        "currency": "USD"
                    }
                },
                {
                    "uid": "kDsUGDUxdkugN7Zay2qxwC",
                    "catalogObjectId": "AY66HRSY4I2WF4MLVRACMAXH",
                    "catalogVersion": "1689864974949",
                    "name": "No Crumbled Fresh Cheese",
                    "quantity": "1",
                    "basePriceMoney": {
                        "amount": "0",
                        "currency": "USD"
                    },
                    "totalPriceMoney": {
                        "amount": "0",
                        "currency": "USD"
                    }
                }
            ],
            "appliedTaxes": [
                {
                    "uid": "ba6d5667-df31-49af-87e4-c077af4eb3f1",
                    "taxUid": "d9991bc5-69d4-4c21-8c24-2c4e5fb8f0dd",
                    "appliedMoney": {
                        "amount": "22",
                        "currency": "USD"
                    }
                }
            ],
            "basePriceMoney": {
                "amount": "375",
                "currency": "USD"
            },
            "variationTotalPriceMoney": {
                "amount": "375",
                "currency": "USD"
            },
            "grossSalesMoney": {
                "amount": "375",
                "currency": "USD"
            },
            "totalTaxMoney": {
                "amount": "22",
                "currency": "USD"
            },
            "totalDiscountMoney": {
                "amount": "0",
                "currency": "USD"
            },
            "totalMoney": {
                "amount": "397",
                "currency": "USD"
            },
            "totalServiceChargeMoney": {
                "amount": "0",
                "currency": "USD"
            }
        },
        {
            "uid": "CDQQGZztkD7LKQ8JkfI31C",
            "name": "French Fries",
            "quantity": "1",
            "catalogObjectId": "UFJVCW6GI6RA7PYG5LSFM2CP",
            "catalogVersion": "1689864974949",
            "variationName": "Regular",
            "itemType": "ITEM",
            "appliedTaxes": [
                {
                    "uid": "d3a93de6-bf12-4e8e-92f6-81b2b184555f",
                    "taxUid": "d9991bc5-69d4-4c21-8c24-2c4e5fb8f0dd",
                    "appliedMoney": {
                        "amount": "13",
                        "currency": "USD"
                    }
                }
            ],
            "basePriceMoney": {
                "amount": "209",
                "currency": "USD"
            },
            "variationTotalPriceMoney": {
                "amount": "209",
                "currency": "USD"
            },
            "grossSalesMoney": {
                "amount": "209",
                "currency": "USD"
            },
            "totalTaxMoney": {
                "amount": "13",
                "currency": "USD"
            },
            "totalDiscountMoney": {
                "amount": "0",
                "currency": "USD"
            },
            "totalMoney": {
                "amount": "222",
                "currency": "USD"
            },
            "totalServiceChargeMoney": {
                "amount": "0",
                "currency": "USD"
            }
        }
    ],
    "taxes": [
        {
            "uid": "d9991bc5-69d4-4c21-8c24-2c4e5fb8f0dd",
            "catalogObjectId": "AMJHIC6M57K24OVI63N27KJM",
            "catalogVersion": "1600619242122",
            "name": "Tax",
            "type": "ADDITIVE",
            "percentage": "6.0",
            "appliedMoney": {
                "amount": "35",
                "currency": "USD"
            },
            "scope": "LINE_ITEM",
            "autoApplied": true
        }
    ],
    "serviceCharges": [
        {
            "uid": "hX3QxcvS66TNAKNSA8b7s",
            "name": "Online Fee",
            "percentage": "2",
            "appliedMoney": {
                "amount": "12",
                "currency": "USD"
            },
            "totalMoney": {
                "amount": "12",
                "currency": "USD"
            },
            "totalTaxMoney": {
                "amount": "0",
                "currency": "USD"
            },
            "calculationPhase": "SUBTOTAL_PHASE",
            "taxable": true,
            "type": "CUSTOM",
            "treatmentType": "LINE_ITEM_TREATMENT"
        },
        {
            "uid": "AHk6PK0duhaU5RTS9l25IC",
            "name": "Delivery Fee",
            "amountMoney": {
                "amount": "750",
                "currency": "USD"
            },
            "appliedMoney": {
                "amount": "750",
                "currency": "USD"
            },
            "totalMoney": {
                "amount": "750",
                "currency": "USD"
            },
            "totalTaxMoney": {
                "amount": "0",
                "currency": "USD"
            },
            "calculationPhase": "TOTAL_PHASE",
            "taxable": false,
            "type": "CUSTOM",
            "treatmentType": "LINE_ITEM_TREATMENT"
        }
    ],
    "fulfillments": [
        {
            "uid": "GEuu8TSMj2JFbWi1tJE0RB",
            "type": "DELIVERY",
            "state": "PROPOSED",
            "deliveryDetails": {
                "recipient": {
                    "displayName": "RealName",
                    "emailAddress": "[email protected]",
                    "phoneNumber": "17826361",
                    "address": {
                        "addressLine1": "Address",
                        "locality": "MI",
                        "administrativeDistrictLevel1": "address",
                        "country": "US",
                        "firstName": "Name ",
                        "lastName": "LastName"
                    }
                },
                "deliverAt": "2023-07-20T15:39:56.000Z",
                "prepTimeDuration": "PT15M",
                "courierPickupAt": "2023-07-20T15:18:15.541Z",
                "dropoffNotes": "Leave at the door",
                "courierProviderName": "DoorDash",
                "courierSupportPhoneNumber": "1 (855) 431-0459",
                "squareDeliveryId": "51f4a03e-5129-4a5a-ab9b-abba7c306e22",
                "managedDelivery": true
            }
        }
    ],
    "netAmounts": {
        "totalMoney": {
            "amount": "1381",
            "currency": "USD"
        },
        "taxMoney": {
            "amount": "35",
            "currency": "USD"
        },
        "discountMoney": {
            "amount": "0",
            "currency": "USD"
        },
        "tipMoney": {
            "amount": "0",
            "currency": "USD"
        },
        "serviceChargeMoney": {
            "amount": "762",
            "currency": "USD"
        }
    },
    "tenders": [
        {
            "id": "ZGbBd2USrMj5QzlV34M40tZu34KZY",
            "locationId": "LQ145YQPXWK4G",
            "transactionId": "KInjDJgx4KnQMInHYSVnr6hG1SGZY",
            "createdAt": "2023-07-20T15:04:19Z",
            "amountMoney": {
                "amount": "1381",
                "currency": "USD"
            },
            "tipMoney": {
                "amount": "0",
                "currency": "USD"
            },
            "type": "CARD",
            "cardDetails": {
                "status": "CAPTURED",
                "card": {
                    "cardBrand": "VISA",
                    "last4": "7829",
                    "fingerprint": "sq-1-Y6HkTwLdgoTKXL-iyaZh_H0wvJLk4iq4ze74oOHsu3PqiQhFrCN6hkmx75_nkX20HQ"
                },
                "entryMethod": "KEYED"
            },
            "paymentId": "ZGbBd2USrMj5QzlV34M40tZu34KZY"
        }
    ],
    "createdAt": "2023-07-20T15:00:52.498Z",
    "updatedAt": "2023-07-20T15:04:21.000Z",
    "state": "OPEN",
    "version": 8,
    "totalMoney": {
        "amount": "1381",
        "currency": "USD"
    },
    "totalTaxMoney": {
        "amount": "35",
        "currency": "USD"
    },
    "totalDiscountMoney": {
        "amount": "0",
        "currency": "USD"
    },
    "totalTipMoney": {
        "amount": "0",
        "currency": "USD"
    },
    "totalServiceChargeMoney": {
        "amount": "762",
        "currency": "USD"
    },
    "pricingOptions": {
        "autoApplyTaxes": true
    },
    "netAmountDueMoney": {
        "amount": "0",
        "currency": "USD"
    }
}

In the test ENV I was able to see the order under Orders tab. but not in production.

Hey @inavarrete! I just replied to you on the Square Developer Discord, but I wanted to follow up with you here too and let you know we’re looking into this :slight_smile:

1 Like

Have you signed up for the partner program to be able to use the fulfillment type DELIVERY? Beta access to the DELIVERY fulfillment type is for use cases other than performing deliveries on behalf of sellers. Developers seeking to perform deliveries on behalf of sellers need a formal partnership agreement. To become an app partner, submit a partnership request. :slightly_smiling_face: