#YkZk
1 messages · Page 1 of 1 (latest)
Hello 👋
Do you mean from the UI? If so, I don't think so.
Yes
when I am creating the checkout session, I dont want to ask my customers to provide email address
Would it be possible with elements?
I read this here on your API docs and was wondering if this coulb be not required : A valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customer’s card details.
With checkout, you can't disable/hide email input. If you've collected the address already, you can pass it in as customer_email property
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer_email
Would it be possible with elements?
Yes. PaymentElement would only prompt for email input if the PaymentMethod needs it to function
I read this here on your API docs and was wondering if this coulb be not required : A valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customer’s card details.
I think that is in addition to a valid email (not excluding)
Thank you Hanzo you have been amazing. I appreciate it.
NP! 🙂 Happy to help