# I am a third party integration i am placing a delivery order for my client restaurant it is not placing the order why

**URL:** <https://developer.squareup.com/forums/t/i-am-a-third-party-integration-i-am-placing-a-delivery-order-for-my-client-restaurant-it-is-not-placing-the-order-why/22933>\
**Category:** Questions\
**Tags:** orders-api, checkout-api\
**Created:** [June 24, 2025, 4:53pm UTC](https://developer.squareup.com/forums/t/i-am-a-third-party-integration-i-am-placing-a-delivery-order-for-my-client-restaurant-it-is-not-placing-the-order-why/22933 "2025-06-24T16:53:46Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raghul](https://avatars.discourse-cdn.com/v4/letter/r/5fc32e/32.png) [@Raghul](https://developer.squareup.com/forums/u/Raghul)\
**Post date:** [June 24, 2025, 4:53pm UTC](https://developer.squareup.com/forums/t/i-am-a-third-party-integration-i-am-placing-a-delivery-order-for-my-client-restaurant-it-is-not-placing-the-order-why/22933/1 "2025-06-24T16:53:46Z")

</div>

Error I am getting While Doing Payment is  
**ERROR:-** ```javascript  
{“errors”: [{“code”: “INVALID\_VALUE”,“detail”: “Not a valid com.weebly.Digital workflow order.”,“field”: "order.workfl (truncated…

```auto
##

- ✅ Pickup orders work fine

- ❌ Delivery orders fail with "Not a valid com.weebly.Digital workflow order" error
```

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [June 24, 2025, 4:54pm UTC](https://developer.squareup.com/forums/t/i-am-a-third-party-integration-i-am-placing-a-delivery-order-for-my-client-restaurant-it-is-not-placing-the-order-why/22933/2 "2025-06-24T16:54:00Z")

</div>

👋 I’m Square Dev AI, here to help answer your question!  
Based on the information you’ve provided, the following documentation will help answer your question:

> **[Take a Pickup Order and Pay for It](https://developer.squareup.com/docs/orders-api/quick-start/step-4)**
>
> Create and pay for a pickup order using the Orders API sample application.

> **[Orders API: How It Works](https://developer.squareup.com/docs/orders-api/how-it-works)**
>
> Learn how the Orders API processes and returns information about purchase transactions.

> **Additional Documentation**
>
> [Payments API Integration](https://developer.squareup.com/docs/pos-api/payments-integration)  
> [Troubleshoot the Payments API](https://developer.squareup.com/docs/payments-api/error-codes)  
> [Pay for Orders](https://developer.squareup.com/docs/orders-api/pay-for-orders)

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.  
Otherwise one of our Developer Advocates will provide additional assistance shortly.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [June 25, 2025, 9:39am UTC](https://developer.squareup.com/forums/t/i-am-a-third-party-integration-i-am-placing-a-delivery-order-for-my-client-restaurant-it-is-not-placing-the-order-why/22933/3 "2025-06-25T09:39:17Z")

</div>

What are you calling to get this error? I’m wondering why Weebly is mentioned in it. 🙂

---

<div class="post-metadata">

**Author:** ![tim753milner](https://avatars.discourse-cdn.com/v4/letter/t/3da27b/32.png) [@tim753milner](https://developer.squareup.com/forums/u/tim753milner)\
**Post date:** [June 28, 2025, 10:01am UTC](https://developer.squareup.com/forums/t/i-am-a-third-party-integration-i-am-placing-a-delivery-order-for-my-client-restaurant-it-is-not-placing-the-order-why/22933/4 "2025-06-28T10:01:29Z")

</div>

Hello,

Your delivery orders fail because workflowType is likely missing or incorrect. Set it to “DIGITAL\_DELIVERY” and ensure fulfillmentType: “DELIVERY” with proper deliveryDetails. Pickup works because it uses “DIGITAL\_PICKUP”.

Best Regard,  
tim

---

<div class="post-metadata">

**Author:** ![Raghul](https://avatars.discourse-cdn.com/v4/letter/r/5fc32e/32.png) [@Raghul](https://developer.squareup.com/forums/u/Raghul)\
**Post date:** [June 28, 2025, 12:36pm UTC](https://developer.squareup.com/forums/t/i-am-a-third-party-integration-i-am-placing-a-delivery-order-for-my-client-restaurant-it-is-not-placing-the-order-why/22933/5 "2025-06-28T12:36:13Z")

</div>

Hi, thanks for the reply.

Could you please clarify the following:

1. **Where exactly should I set the `workflowType`?**  
Is it expected in the `metadata` field, or handled differently within the fulfillment object?
2. **Do I need any specific approval or enablement from Square** to use the delivery fulfillment workflow (`DIGITAL_DELIVERY`)? Or is it available by default for all Square merchants?

---

<div class="post-metadata">

**Author:** ![Raghul](https://avatars.discourse-cdn.com/v4/letter/r/5fc32e/32.png) [@Raghul](https://developer.squareup.com/forums/u/Raghul)\
**Post date:** [June 28, 2025, 12:37pm UTC](https://developer.squareup.com/forums/t/i-am-a-third-party-integration-i-am-placing-a-delivery-order-for-my-client-restaurant-it-is-not-placing-the-order-why/22933/6 "2025-06-28T12:37:25Z")

</div>

I using checkout api for placing the order and generating the payment for that order

---

<div class="post-metadata">

**Author:** ![josh-square](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@josh-square](https://developer.squareup.com/forums/u/josh-square)\
**Post date:** [June 30, 2025, 1:46pm UTC](https://developer.squareup.com/forums/t/i-am-a-third-party-integration-i-am-placing-a-delivery-order-for-my-client-restaurant-it-is-not-placing-the-order-why/22933/7 "2025-06-30T13:46:04Z")

</div>

@Raghul Can you share your application ID as well as an example of a Checkout API request you’re making that’s resulting in this error?

---

<div class="post-metadata">

**Author:** ![Raghul](https://avatars.discourse-cdn.com/v4/letter/r/5fc32e/32.png) [@Raghul](https://developer.squareup.com/forums/u/Raghul)\
**Post date:** [July 6, 2025, 5:59am UTC](https://developer.squareup.com/forums/t/i-am-a-third-party-integration-i-am-placing-a-delivery-order-for-my-client-restaurant-it-is-not-placing-the-order-why/22933/8 "2025-07-06T05:59:23Z")

</div>

Below are the details of my request  
**ApplicationId:-** sq0idp-yyHw0Irtwe0801a\_f9QzjQ  
**Example checkout Api Request**  
{  
“idempotency\_key”: “d7f3e8c1-fb5b-4e3d-888b-123456789abc”,  
“checkout\_options”: {  
“accepted\_payment\_methods”: {  
“google\_pay”: true  
},  
“allow\_tipping”: true,  
“enable\_coupon”: true  
},  
“payment\_note”: “id”,  
“order”: {  
“location\_id”: “location\_id”,  
“customer\_id”: “9f7c4bfc-71e1-4e27-9230-d3b1a3a0fa9a”,  
“fulfillments”: [  
{  
“type”: “DELIVERY”,  
“delivery\_details”: {  
“managed\_delivery”: true,  
“prep\_time\_duration”: “P30M”,  
“recipient”: {  
“address”: {  
“address\_line\_1”: “address”,  
“address\_line\_2”: “”,  
“locality”: “”,  
“administrative\_district\_level\_1”: “CA”,  
“postal\_code”: “90001”,  
“country”: “US”  
},  
“display\_name”: “customerName”,  
“email\_address”: “customerEmail”,  
“phone\_number”: “customerPhoneNumber”  
},  
“schedule\_type”: “SCHEDULED”,  
“deliver\_at”: “2025-07-01T18:30:00Z”  
},  
“state”: “PROPOSED”,  
“uid”: “62f5c481-ec2f-4e67-b6a2-e8e4a0d9a4c7”  
}  
],  
“line\_items”: [  
{  
“name”: “Vegan Pizza”,  
“quantity”: “1”,  
“base\_price\_money”: {  
“amount”: 100,  
“currency”: “USD”  
}  
},  
{  
“name”: “Coke”,  
“quantity”: “2”,  
“base\_price\_money”: {  
“amount”: 100,  
“currency”: “USD”  
}  
}  
],  
“state”: “OPEN”  
}  
}

---

<div class="post-metadata">

**Author:** ![josh-square](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@josh-square](https://developer.squareup.com/forums/u/josh-square)\
**Post date:** [July 7, 2025, 5:03pm UTC](https://developer.squareup.com/forums/t/i-am-a-third-party-integration-i-am-placing-a-delivery-order-for-my-client-restaurant-it-is-not-placing-the-order-why/22933/9 "2025-07-07T17:03:31Z")

</div>

Thanks for the additional details @Raghul! The `DELIVERY` fulfillment type is currently only available via a restricted closed Beta. If you’re a partner developer, you can reach out to your Square Partner Manager to request access. If you’re not a partner, you can apply to become one here: [Submit a Partnership Request](https://squareup.com/us/en/partnerships/app-partner)

---

<div class="post-metadata">

**Author:** ![Raghul](https://avatars.discourse-cdn.com/v4/letter/r/5fc32e/32.png) [@Raghul](https://developer.squareup.com/forums/u/Raghul)\
**Post date:** [July 8, 2025, 5:56am UTC](https://developer.squareup.com/forums/t/i-am-a-third-party-integration-i-am-placing-a-delivery-order-for-my-client-restaurant-it-is-not-placing-the-order-why/22933/10 "2025-07-08T05:56:02Z")

</div>

Thanks for the update @josh-square, We’ve already submitted the Partnership Request but haven’t received any response yet

---

<div class="post-metadata">

**Author:** ![Raghul](https://avatars.discourse-cdn.com/v4/letter/r/5fc32e/32.png) [@Raghul](https://developer.squareup.com/forums/u/Raghul)\
**Post date:** [July 8, 2025, 11:43am UTC](https://developer.squareup.com/forums/t/i-am-a-third-party-integration-i-am-placing-a-delivery-order-for-my-client-restaurant-it-is-not-placing-the-order-why/22933/11 "2025-07-08T11:43:20Z")

</div>

@josh-square, Can you please provide the contact details of square partnership manager.

---

<div class="post-metadata">

**Author:** ![josh-square](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@josh-square](https://developer.squareup.com/forums/u/josh-square)\
**Post date:** [July 8, 2025, 4:33pm UTC](https://developer.squareup.com/forums/t/i-am-a-third-party-integration-i-am-placing-a-delivery-order-for-my-client-restaurant-it-is-not-placing-the-order-why/22933/12 "2025-07-08T16:33:31Z")

</div>

Hey @Raghul, that isn’t something that I can share publicly. The team has a high volume of requests so they may take some time to respond, but they’ll get back to you as soon as possible!
