#Nigel
1 messages · Page 1 of 1 (latest)
Hmm have you setup the Customer name associated to that Invoice?
If you can provide an Invoice Id it would help investigation
No, this is for a new billing integration we're setting up.
So far, the customers First Name and Last Name are showing up in the "Customer Name" field which we also need to show on the invoice.
Is there somewhere separate we need to go to also turn on "Business Name" for Stripe Checkout sessions? (this is where we are gathering the data)
ps thanks for the quick reply @manic bison
If I understand correctly, you already have First Name and Last Name displayed, but you want to additionally display business name around that place?
Correct, we need both on the Invoices.
Or at the very worst, if it's not easy to have both for some reason, we need the "Business Name" instead of the customers Firstname and Lastname.
Did you set their First and Last name here? 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.
The customer’s full name or business name.
I believe it's the proper place for either full name or business name
Stripe set them from the Stripe Checkout session automatically.
(We are using hosted Stripe Checkout sessions)
Okie, when you create the Checkout Session, do you specify a Customer or it creates the Customer object for you?
No, these are 100% all new customers for us, so the Stripe Checkout session is creating the customer object for us.
I suspect it's adding whatever the customer fills in in the "Cardholder Name" details.
Yes it is. And then you have their business name and want to update to all upcoming Invoices of that Subscription?
Yes, correct.
Unfortunately I have to run for a podcast interview right now, not sure if you can keep this chat open, however I'll be back in about an hour or so.
Sure no worry. The solution I can think of is listening the checkout.session.completed when you can catch the successful transaction, then update the Customer's name property above
Ok, I'm back.
We can certainly listen to that trigger, however the thing I'm not 100% sure of at the moment is what field we should be storing things in.
I.e. we need to store Firstname and Lastname AND we also need Business Name (most businesses need both of these bits of info) however it looks like Stripe only has native support for 1 customer name in an object.
you're correct in that there's explicit business field name on the Customer object. unfortunately, the only workaround is what you've probably already discovered i.e. collect the additional name via Custom Fields on the Checkout Session, and including that into the Invoice
Hmm, ok thanks for the reply @rapid token
How would we best go about including that additional custom field data on the Invoice though? We can't seem to work out how to get it to show up with all the customer's other details?
hrm, actually it looks like you would likely need to collect the Customer's details up front - you could then potentially pass in custom fields for the Invoice here : https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-invoice_creation-invoice_data-custom_fields
i can't remember off the top of my head where the custom fields would show on the Invoice though, so i suggest testing it out first
Hmm, that's what we were hoping to do, but those custom fields show up in a completely different spot on an invoice making it confusing.
Does that mean there's no way on a Stripe Invoice to be able to show both the persons name AND their business name in the Bill To Section?
Does that mean there's no way on a Stripe Invoice to be able to show both the persons name AND their business name in the Bill To Section?
yep, there's no way that I'm aware of. I'd recommend emailing https://support.stripe.com/contact/email to check on that and request for this feature (if it doesn't exist) as that helps the product team capture demand for prioritisation
Dang.. Ok, do you know how we might be able to at least go to the next best route then in that we show the customers "Business Name" on their Invoices instead of their "Firstname Lastname" which is what is currently showing after they complete a Stripe Checkout session.
have you considered collecting the Customer's firstname lastname and business name upfront first, then creating a Customer object with the firstname as the Business name, passing in all their names in metadata, and pre-populating the Customer ID when creating the Checkout Session? https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes, we considered it but for our sales page flow it won't work and would reduce our conversion rates too much (we've tested multi-step before and it reduced considerably).
Our sales page is at https://thetechtribe.com/join and for our new system, when someone clicks on the JOIN NOW button, we simply launch a brand new Stripe Checkout session that gathers ALL of their details in a single page, leading to a much better experience for our members and higher conversions.
(I wish that wasn't the case)
there's really no workaround that I can think of unfortunately