From d83e190091a438ff252696e25ffad350108267bc Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 11 Jul 2026 13:19:13 +0000 Subject: [PATCH] Changes Co-authored-by: wolfoftyreso-debug <250630591+wolfoftyreso-debug@users.noreply.github.com> --- supabase/functions/create-checkout/index.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/supabase/functions/create-checkout/index.ts b/supabase/functions/create-checkout/index.ts index e16900a..018de12 100644 --- a/supabase/functions/create-checkout/index.ts +++ b/supabase/functions/create-checkout/index.ts @@ -223,6 +223,17 @@ Deno.serve(async (req) => { }, } as any); + await insertOrder({ + method: "invoice", + b, + cleaned, + monthlyAmountOre, + stripeSessionId: null, + stripeSubscriptionId: subscription.id, + stripeCustomerId: customer.id, + }); + + return new Response( JSON.stringify({ invoice: true,