#theglobe - customer fields
1 messages · Page 1 of 1 (latest)
It's just one field name: https://stripe.com/docs/api/customers/object#customer_object-name
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So whatever is collected and put in there
we can't divide them?
It's just one field. Up to you how you want to pass it. You can have 2 separate fields on your site for first and last and then combine them into 1 field and pass that into stripe
And you can separate them out later too if need be
I need to get from Stripe and pass to my site divided
Well you can just use string manipulation to divide it
Ok I will check thanks
name_list = name.split(" ")
first_name = name_list[0]
last_name = name_list[1]
Simple solution in python assuming you're only ever collecting a first and last name
Awesome. thanks
No problem