#BrianC - Checkout Hide Email
1 messages ยท Page 1 of 1 (latest)
Hi ๐
How are you creating your Checkout Session?
And Follow up, do you know who your customer is at that point and do they exist as a Stripe Customer?
Using SessionCreateOptions and then var service = new SessionService();
Session session = service.Create(stripeOptions, requestOptions);
We know our customer and have already validated email address. May or may not be an existing stripe customer.
Okay perfect. You can simply specify the email when creating the Checkout Session. As our docs say here:
https://stripe.com/docs/api/checkout/sessions/create?lang=python#create_checkout_session-customer_email
If provided, this value will be used when the Customer object is created. If not provided, customers will be asked to enter their email address.
But that makes it appear as a read-only field on the checkout.
"to have the field read only is confusing our customers"
The question was how do we hide the field.
I'm aware of how Stripe works
AFAIK there isn't a way to hide the field entirely. It's either required or pre-filled but those are the only options I've ever seen.
Yes, me too. And it's bad UI so we were wondering if anyone on your end knew how to hide it. Some obscure api call? ๐
Personally I disagree about the UI. Given that Checkout is a redirect to a different page I want to see the email to know I (as a customer) am on the correct page and have confidence this form knows who I am. But that's a personal preference.
I cannot find anything in the API doc that suggests it would actually hide the field, just pre-fill
But it is a read only field. We have done user testing and about 35% of the people click on it and a number of people expressed frustration. This is possibly the most critical page on any site so all hurdles need to be removed. You guys should know better. Plain text display, NOT a disabled field would be the best compromise. Don't you agree?
Just a little feedback. After investing so much time implementing your product and following all of the best practices you give us, to not allow at least some customization for this is really disappointing.
It's bad UI. Sorry.
I believe that is why we also have several more custom solutions such as the Payment Element.
However, the line_items is a very popular feature of Checkout
Right. Which we have implemented in the past but you folks keep pushing the the pre-built and we bit. Sorry that we did.
I'm seeing that we do have this feedback logged in our tickets. I will "bump" the feedback by providing yours as well.
Thanks
Question: What if a user wanted to update their email? How would you think that should be enabled?
Bearing in mind we have some users who rely on the Customer object in Stripe to store these details.
This wouldn't be the place for them to update their email - at least in our flow. Plus, what sort of email validataion are you folks doing? We have confimred users and to allow them to just edit it on the checkout form is actually a security flaw.
Plenty of our users utilize the Checkout form to collect Customer data. We need to consider any/all updates.