Error capturing COD payments with Flow

Hello there!

I created a flow to capture COD payments when delivered.

It’s not working with the following error on the last step:

"No capturable transaction was present"

The last’ step input is correctly set as:

{
  "order_id": "gid://shopify/Order/ORDER_ID",
  "shop_id": "gid://shopify/Shop/SHOP_ID"
}

Any idea why this happens?

1 Like

Hi Alberto, I suspect the issue here is that the “Capture payment” action is used for credit card transactions that have already been authorized. If this workflow is for cash on delivery, you might consider “Mark order as paid” action instead.

1 Like

Oh you are right, it works!