Hi, I created orders in the sandbox that work fine and show up in the dashboard. However, once I moved to prod, the exact same code creates orders that do not show up in the dashboard. Per other messages, we have fulfillments and payments set. These are loyalty orders so have no cash payment just use of loyalty points. I cannot figure out yet what is different between these orders and ones that correctly appear, and why orrders place wtih the same code works in the sandbox but not prod.
An example order is:
{
“id”: “qH9lR5M7Rd48ldM8Arp65G2MuRMZY”,
“locationId”: “LECPDPX68AQX1”,
“referenceId”: “a161b7d9-3bd2f1033eb2”,
“source”: {
"name": "xxxx"
},
“customerId”: “7YHT9V6AXAZJDVBYP9XBH5DG3W”,
“lineItems”: [
{
"uid": "kXk4E5wtEBBnGlrOpdljsD",
"name": "January 29 - Thursday - Harissa-Rubbed Pork",
"quantity": "1",
"catalogObjectId": "C5KCNJNC3YOVUF2OCE3BYUWC",
"catalogVersion": 1769404213103,
"variationName": "Regular",
"itemType": "ITEM",
"appliedDiscounts": \[
{
"uid": "46511949-deb0-490e-81e7-5a6f4aa811fc",
"discountUid": "f831dd68-7b9c-47c3-aceb-2c2340d3ca11",
"appliedMoney": {
"amount": 7000,
"currency": "USD"
}
}
\],
"basePriceMoney": {
"amount": 7000,
"currency": "USD"
},
"variationTotalPriceMoney": {
"amount": 7000,
"currency": "USD"
},
"grossSalesMoney": {
"amount": 7000,
"currency": "USD"
},
"totalTaxMoney": {
"amount": 0,
"currency": "USD"
},
"totalDiscountMoney": {
"amount": 7000,
"currency": "USD"
},
"totalMoney": {
"amount": 0,
"currency": "USD"
},
"totalServiceChargeMoney": {
"amount": 0,
"currency": "USD"
}
}
],
“discounts”: [
{
"uid": "f831dd68-7b9c-47c3-aceb-2c2340d3ca11",
"catalogObjectId": "WVNJAYLGDTB7RXUGWVFPSZIC",
"catalogVersion": 1769232425090,
"name": "Redeem: Dinner for 2",
"type": "FIXED_PERCENTAGE",
"percentage": "100.0",
"appliedMoney": {
"amount": 7000,
"currency": "USD"
},
"scope": "LINE_ITEM",
"rewardIds": \[
"934cbd9d-ee42-3b31-8518-31512ee2a3b5"
\],
"pricingRuleId": "X36OOD2ZF325YKEILAMQZ4PY"
}
],
“fulfillments”: [
{
"uid": "032Gpoc5qERX5xgp9Mpvn6",
"type": "DELIVERY",
"state": "COMPLETED",
"deliveryDetails": {
"recipient": {
"customerId": "7YHT9V6AXAZJDVBYP9XBH5DG3W",
"displayName": "xxxx",
"emailAddress": "xxxx",
"phoneNumber": "xxxx",
"address": {
"addressLine1": "xxxx",
"locality": "xxxx",
"administrativeDistrictLevel1": "xxxx",
"postalCode": "xxxx",
"country": "US"
}
},
"scheduleType": "SCHEDULED",
"deliverAt": "2026-01-29T17:00:00.000Z",
"managedDelivery": false
}
}
],
“netAmounts”: {
"totalMoney": {
"amount": 0,
"currency": "USD"
},
"taxMoney": {
"amount": 0,
"currency": "USD"
},
"discountMoney": {
"amount": 7000,
"currency": "USD"
},
"tipMoney": {
"amount": 0,
"currency": "USD"
},
"serviceChargeMoney": {
"amount": 0,
"currency": "USD"
}
},
“tenders”: [
{
"id": "zdwvOLS5jD1c8NTW7PgiC4Gi0bXZY",
"locationId": "LECPDPX68AQX1",
"transactionId": "qH9lR5M7Rd48ldM8Arp65G2MuRMZY",
"createdAt": "2026-01-26T05:15:21Z",
"amountMoney": {
"amount": 0,
"currency": "USD"
},
"type": "CASH",
"cashDetails": {
"buyerTenderedMoney": {
"amount": 0,
"currency": "USD"
},
"changeBackMoney": {
"amount": 0,
"currency": "USD"
}
},
"paymentId": "zdwvOLS5jD1c8NTW7PgiC4Gi0bXZY"
}
],
“createdAt”: “2026-01-26T05:15:19.848Z”,
“updatedAt”: “2026-01-26T05:42:07.659Z”,
“closedAt”: “2026-01-26T05:42:07.659Z”,
“state”: “COMPLETED”,
“version”: 6,
“totalMoney”: {
"amount": 0,
"currency": "USD"
},
“totalTaxMoney”: {
"amount": 0,
"currency": "USD"
},
“totalDiscountMoney”: {
"amount": 7000,
"currency": "USD"
},
“totalTipMoney”: {
"amount": 0,
"currency": "USD"
},
“totalServiceChargeMoney”: {
"amount": 0,
"currency": "USD"
},
“rewards”: [
{
"id": "934cbd9d-ee42-3b31-8518-31512ee2a3b5",
"rewardTierId": "43b83e18-4f0d-44dd-bcff-5e17951b5ee0"
}
],
“netAmountDueMoney”: {
"amount": 0,
"currency": "USD"
}
}
And the payment object is:
[
{
“id”: “zdwvOLS5jD1c8NTW7PgiC4Gi0bXZY”,
“createdAt”: “2026-01-26T05:15:21.369Z”,
“updatedAt”: “2026-01-26T05:15:21.454Z”,
“amountMoney”: {
“amount”: 0,
“currency”: “USD”
},
“totalMoney”: {
“amount”: 0,
“currency”: “USD”
},
“status”: “COMPLETED”,
“sourceType”: “CASH”,
“cashDetails”: {
“buyerSuppliedMoney”: {
“amount”: 0,
“currency”: “USD”
},
“changeBackMoney”: {
“amount”: 0,
“currency”: “USD”
}
},
“locationId”: “LECPDPX68AQX1”,
“orderId”: “qH9lR5M7Rd48ldM8Arp65G2MuRMZY”,
“customerId”: “7YHT9V6AXAZJDVBYP9XBH5DG3W”,
“capabilities”: [
“EDIT_AMOUNT_UP”,
“EDIT_AMOUNT_DOWN”,
“EDIT_TIP_AMOUNT_UP”,
“EDIT_TIP_AMOUNT_DOWN”
\],
“receiptNumber”: “zdwv”,
“receiptUrl”: “xxx”,
“applicationDetails”: {
“squareProduct”: “ECOMMERCE_API”,
“applicationId”: “sq0idp-x8PSO1xq9afk4GLodtdsUw”
},
“versionToken”: “Puc8GuXBQ6V52uieeHDnYgFQmd8N528T0H6ArODUwBG6o”
}
]