diff --git a/api/actions/orders.php b/api/actions/orders.php index e2a8b86..7b4ec11 100644 --- a/api/actions/orders.php +++ b/api/actions/orders.php @@ -21,7 +21,7 @@ function handleCreateOrder(): void $input['payment_method'] = 'cod'; $input['payment_method_title'] = 'Sales Panel Order'; - $input['status'] = 'on-hold'; + $input['status'] = 'processing-unpaid'; // IMPORTANT: Disable automatic price calculation // This ensures WooCommerce uses the prices from the sales panel diff --git a/index.html b/index.html index ae38172..fbc6967 100644 --- a/index.html +++ b/index.html @@ -23,7 +23,7 @@