diff --git a/api/src/routes/checkout.ts b/api/src/routes/checkout.ts index 02e0689..a79b748 100644 --- a/api/src/routes/checkout.ts +++ b/api/src/routes/checkout.ts @@ -1013,7 +1013,7 @@ router.post("/api/v1/checkout/create-session", async (req, res) => { customer: erpnextCustomer, delivery_date: new Date(Date.now() + 30 * 86400000).toISOString().split("T")[0], custom_external_order_id: order_id, - custom_order_type: "compliance_batch", + custom_order_type: "compliance", custom_payment_gateway: GATEWAY_LABELS[payment_method] || payment_method, custom_surcharge_pct: surcharge_pct, workflow_state: "Received",