fix(stripe): don't pre-fill email for WhatsApp checkout — let customer enter their own billing email
This commit is contained in:
parent
aceeebe938
commit
77ff954913
1 changed files with 1 additions and 1 deletions
|
|
@ -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" } },
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue