#Chiko0401-customer-list

1 messages · Page 1 of 1 (latest)

split brook
#

Hi there 👋 our email filter for the customer list functionality is case-sensitive as email addresses are also case-sensitive (though a lot of email providers handle case insensitivity on their end). There isn't a way to change that behavior, and I don't think there is an account setting to store emails in a particular case but I'm double checking that.

icy jolt
#

I'd say most of email providers or all email providers (if we speak about big companies like Google) handle case insensitivity on their end.

split brook
#

That's true, most of them do.

#

If you're collecting the customer email addresses then you can cast them before providing them to us, but if you're using one of our flows to collect them then there isn't a way to change the case they're collected in.

#

However, I believe you can create a case-insensitive search using the Customer Search endpoint, but am working on confirming that.

icy jolt
#

It's the problem. What does it mean to provide them to us? My users are forwarded to Stripe page (from my website) where they enters their email. Maybe I can do some preprocessing hook on Stripe?

split brook
#

Apologies for the confusion, I said that because I'm not sure how your integration is structured. If you're using the API to create Customer objects then you would have more control over the customer's data, but if you're leveraging a flow such as Checkout Sessions then you'd have less.

The Customer Search functionality does appear to do case-insensitive searches, but will require a bit more work to use as it hans't been built into the client libraries yet:
https://stripe.com/docs/api/search/customers?lang=curl

icy jolt
#

Can you provide a page with examples of Customer Search?

split brook
icy jolt
#

This page I can see. But I didn't find there something for my problem

split brook
#

That most recent page is where you request access to the Search API beta, which if granted access to would allow you to use the Customer Search functionality to do a case-insensitive search. There is currently no other way to perform a case-insensitive search/filter.

icy jolt
#

thank you

split brook
#

Any time!