From 7f4af8b9102128699a3e2c07d7cdb031c2e1ae7f Mon Sep 17 00:00:00 2001 From: John Mizerek Date: Tue, 17 Feb 2026 09:39:35 -0800 Subject: [PATCH] Add CancelOrder option for cash tasks When worker passes CancelOrder: true to complete.cfm: - Skips all cash validation and financial processing - Sets order status to 6 (cancelled) - Completes the task normally - Returns OrderCancelled: true in response For when customer changes their mind about paying with cash. Co-Authored-By: Claude Opus 4.5 --- api/tasks/complete.cfm | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/api/tasks/complete.cfm b/api/tasks/complete.cfm index 6e677cb..7a7fc61 100644 --- a/api/tasks/complete.cfm +++ b/api/tasks/complete.cfm @@ -38,6 +38,7 @@ + @@ -110,8 +111,9 @@ - - + + + @@ -191,7 +193,17 @@ - + + + + + - +