#thierry-customer-pii
1 messages · Page 1 of 1 (latest)
Hey there, what are you trying to do exactly? Is this part of your integration?
After the transaction, i will need to create an invoice with the company data
So i need to collect the data
In general you need to create the invoice first, but depends on your use case. Invoices are specific documents used to collect payments, distinct from a receipt
But in any case, are you referring to stripe Invoices, or something in your own system?
Actually, I meant receipt, you're right
You can read about our support for customer tax IDs on invoices, and how they can be managed via the API, here: https://stripe.com/docs/invoicing/customer/tax-ids
My question is about the company siret (siret is the company number)
I was thinking about a radio button : I'm an individual / I'm a company
and then a input to type the siret
Hello, is the a way to prefill the customer data (firstname, address, etc.) if I allready have them ?
You can collect data in any compliant way you deem appropriate
In what context are you trying to pre-fill information?
Can you share an example object or code snippet?
I allready have the customer data. So I do not want the stripe form to ask the customer data.
Which form?
the form with the credit card number, etc
Do you mean the Payment Element?
I mean the form where the customer enters his credit card number, adress, etc
Ok, but to help you i need you to help me by explaining how you integration works
I suspect you mean the payment element, can you confirm thats what you're using? How are you initializing that in your code?
I can tell you that if you are using that you can set some defaultValues for the billing details
I do not have a stripe integration yet
I have to create it
and i do not understand anything
For now I'm using papal and i'd like to switch to stripe
For now, on my website, customers enter their names, address, etc in a standard html form,
but i can change everything if needed
Gotcha, ok, so then I unerstand the Checkout/Elements questions here: https://discord.com/channels/841573134531821608/1164290410441609266
We can keep ufuture questions in this thread 🙂 ok to have several
We offer a range of integration options depending on how much you are able/interested in bui;ding
Payment Links are the least developer effort, reusable URLs for ~fixed purchases
Integrating with Elements is the most work, and most customizable
SO it depends what you want
But with the Payment Element for a new integration, the guide I'd suggest following is here:
https://stripe.com/docs/payments/accept-a-payment-deferred?platform=web&type=payment
When you get to the step of creating the Payment Element, you can provide those pre-filled billing details as an optionl parameter: https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-defaultValues-billingDetails-name
thx
What I was thinking : 1) collect customer name 2) collect customer address (for recept and shipping) 3) do the credit card
So I guest the Address Element is for the step 2
and I will use the Payment Element or Express Checkout Element for step 3
and I guest, after step 2, I have to create a customer with the stripe api
and give the created customer id to the Payment Element
thierry-customer-pii