#Zaheer - checkout

1 messages ยท Page 1 of 1 (latest)

orchid bramble
#

๐Ÿ‘‹ happy to help

#

unfortunately I don't think so

warm kestrel
#

Thanks for the response @orchid bramble. So there is no workaround to this? Is there any sort of way to capture the first and last name when someone makes a payment and send it to Stripe. We basically need to create a Zap in Zapier that collects the payment details and the first and last name. However, this cannot happen without the first and last name fields.

#

Can this be done through the API?

summer sage
#

can you show me how you integrate exactly?

#

like Checkout does require a name from what I see so maybe we are talking about different things

warm kestrel
#

Hi @summer sage, recording a Loom for you now. The above is for card details. We need 'First Name' and 'Last Name' fields which are separate from the card details fields.

summer sage
#

then no you can't do that

#

unless you don't use Checkout and use Elements instead and built your own inputs for the cardholder name.

warm kestrel
#

Oh snap. OK thanks re Elements.

#

This is the backend of Zapier. It is asking for this information but Stripe does not allow us to collect. So you are saying through Elements?

summer sage
#

I mean you can get the first name and last name from Stripe

#

there's a name field in the API which is what the user entered in the frontend like my screenshot, you can look at that and split it into first/last name if you want. I'm a bit lost.

#

https://stripe.com/docs/api/payment_methods/object#payment_method_object-billing_details-name is the name associated with the card(it's the string entered as the "name on card" field in my screenshot). You can look at that and split it etc. Not sure what the context is overall, I have no knowledge of Zapier.

warm kestrel
#

@summer sage ok thank you. We are not developers so is there a turotrial on how to do this or point me in the direction of someone who can? TIA

summer sage
#

not that I'm aware of no