#robertotmuniz

1 messages · Page 1 of 1 (latest)

tough breachBOT
blissful minnow
#

Hi there!

#

Yes you can create as many customers as you want, and they can have the same email address.

hallow marlin
#

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?

blissful minnow
#

Are you using Checkout Session or something else to collect payments?

hallow marlin
#

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,
},
],
}

hallow marlin
#

Is this correct?

blissful minnow
#

No, it's missing the { enabled: true } in both cases.

tough breachBOT
hallow marlin
#

Nice!! is this correct then?

blissful minnow
#

Looks correct. Make sure to test this in test mode to see if it works.

hallow marlin
#

Nice!! And does it ensure that it always asks the user to fill in before finalizing the checkout?

icy cradle
#

Hello 👋

#

Yes, as long as it is set to true on each checkout session then users will be prompted to fill in the info

hallow marlin
#

Thank you very much!!