Get Order ID from Previously Sent Message to confirm order

Status: Closed · Asked by Deepanshu Patidar on · 0 views

Deepanshu Patidar — Question ·

I am trying to confirm WooCommerce orders via WhatsApp.

- When a new order is placed, the customer receives a whatsApp message to Confirm/Cancel the order. (Workflow-1)

- After this, when a customer clicks on confirm/cancel order buttons, I get this response (Workflow-2)

- This response is not having the Order ID. The order ID is needed to update the order status to confirmed/cancelled in WooCommerce.

Pabblymember11 — Reply ·

Hey @Deepanshu Patidar

It doesn't look like the WhatsApp Cloud API trigger event will provide the order ID since it's a webhook-based trigger event that only captures the trigger event once send by the application and perhaps the Cloud API doesn't send the Order ID if the users select Confirm/Cancel the order.

Deepanshu Patidar — Reply ·

Hey, I have seen function working in www.snitch.co.in. When you place the order using COD, you will receive a similar message and when you reply to that it confirms the order.

Hicham — Reply ·
Hey @Deepanshu Patidar

It doesn't look like the WhatsApp Cloud API trigger event will provide the order ID since it's a webhook-based trigger event that only captures the trigger event once send by the application and perhaps the Cloud API doesn't send the Order ID if the users select Confirm/Cancel the order.


Hello i have the same request How it can be done with pably , it will be great if you give us a hint to know how it could be done thanks !

Back to all forum threads · Log in to reply