#robertotmuniz
1 messages · Page 1 of 1 (latest)
Hi there!
Yes you can create as many customers as you want, and they can have the same email address.
Thank you!!
Cool and one more question: is it possible to always ask for the tax ID (Example: CPF) and the phone number at the stripe checkout?
Are you using Checkout Session or something else to collect payments?
I am using checkout session
I am passing these parameters:
{
mode,
allow_promotion_codes: true,
billing_address_collection: "auto",
success_url: ${window.location.origin}/Sucesso?session_id={CHECKOUT_SESSION_ID},
cancel_url: window.location.origin,
payment_method_options: {
card: { installments: { enabled: true } },
},
line_items: [
{
price: price,
adjustable_quantity: { enabled: true },
quantity: 1,
},
],
}
Is this correct?
No, it's missing the { enabled: true } in both cases.
Nice!! is this correct then?
Looks correct. Make sure to test this in test mode to see if it works.
Nice!! And does it ensure that it always asks the user to fill in before finalizing the checkout?
Hello 👋
Yes, as long as it is set to true on each checkout session then users will be prompted to fill in the info
Thank you very much!!