diff --git a/supabase/functions/stripe-checkout/index.ts b/supabase/functions/stripe-checkout/index.ts index f27d566..ced144c 100644 --- a/supabase/functions/stripe-checkout/index.ts +++ b/supabase/functions/stripe-checkout/index.ts @@ -101,7 +101,7 @@ Deno.serve(async (req) => { line_items: [{ price: priceId, quantity: 1 }], success_url: successUrl, cancel_url: cancelUrl, - customer_email: userEmail ?? undefined, + // NÃO pré-preenche email — o cliente WhatsApp digita o próprio email de cobrança metadata: { user_id: userId, plan_code: "mensal" }, subscription_data: { metadata: { user_id: userId, plan_code: "mensal" } }, });