#Koden
1 messages ยท Page 1 of 1 (latest)
Hi there, it's possible that the customer has null values in the address hash.
It depends on how you collect the customer information in your integration. You can implement something in your app/webpage to force the customer to enter all address details if your business requires.
For sure, yes our security risk team is requiring the customer's address saved in our CRM
What's the best way with Stripe to require the address info?
Looks like from the docs they are optional fields
Yes these are optional fields and that's why Stripe API doesn't enforce them.
Ah hmm bummer. From your experience working with other developers, have you heard of how others would implement the required fields? Do they ask for the address first then provide a Stripe Checkout (just thinking out loud)
OK. if you are using Checkout, you can set billing_address_collection to required to force the customer to provide the billing address https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-billing_address_collection
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That is very good news! Thanks, Jack! I'll work with our developers with this information ๐๐ผ