#guillaume - Checkout
1 messages ยท Page 1 of 1 (latest)
yes ๐
So, just to be clear, do you want the customer to not have to enter and email? Or do you just not want to provide one when you create the session?
I would like the customer to not have to enter an email
Unfortunately Stripe Checkout does require the collection of a customer email.
ok. What would be the easiest alternative in a web page ?
What is it you are trying to accomplish?
I just need a payment form using credit card or bancontact (in belgium ๐ )
Well, checkout is the most simple integration we offer. But if you have decided you definitely do not want customers to have to enter an email then your best option is to use Payment Intents along with the Payment Element on the front-end, which has automatic support for bancontact.
Here's a quick tutorial get you started: https://stripe.com/docs/payments/quickstart
I'm adding a payment page for the charge of an electric vehicle on a public outlet. When a driver buy fuel for example, the fuel company does not ask him to set an email and the driver can leave without the receipt. I would like to have the same workflow... Anyway, thank you for your help and link ๐
That makes sense to me. While it is. somewhat more complicated than checkout, I think payment intents will work for that use case. Feel free to come back and ask questions once you have had a chance to review the docs I linked to.
ok thanks. Also if you know the mandatory fields using Payment Intents and Payment Element, I'm interested
Hey there, just stepping in for @echo musk who has to step away. What do you mean by required fields? For a payment intent you really only need the payment method itself, and the payment method requirements depend on which payment method type you're using (eg some require names, email, address, etc).
ok thanks. I was thinking of visa and bancontact for example
credit cards don't have any special requirements, but bancontact for example does require a full name, as documented in the guide here:
https://stripe.com/docs/payments/bancontact/accept-a-payment?platform=web#submit-payment
You must also provide the customerโs full name in billing_details.
thanks, it's helpful!
np!
all this is still true with connected accounts, wright ?
yes, no change in that context
thanks