#v_best-practices
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1335976779344646195
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, you can pass the already existing data from the customer when using Stripe Checkout. However, the guide you shared, https://docs.stripe.com/checkout/custom/quickstart#set-up-frontend is a private feature and you would need to write in to support to attain support on this specific flow. Our support team will be able to assist you better than I can: https://support.stripe.com/contact
So, I don't necessarily have to use a Stripe form to collect the information? I can use my own form and pass the data to Stripe, correct?
I want to use an existing form, not build one through Stripe and embed it in my UI
Sure you can pass that information to the Customer object. However, as for billing details, Stripe UI will still ask for this. You can pass a customer email, https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-customer_email when you create the Session but not billing address details, no.
You can set if you want to force collecting the details or just the minimal required information here: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-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.
Sorry, I don’t think I’m getting the answer I’m looking for. Let me clarify: Is it possible to use a form that I already have in my application to collect payment details, or does Stripe require me to use a specific embedded Stripe form for that? I am mainly talking about the UI
When you say 'collect payment details', are you referring to billing details and the card details as well?
yes both
Ah, then you would use Stripe's UI too collect these details in a PCI complaint way
ah, so I would not be able to reuse my current form. i would have to style Stripe's UI, correct?
Yes, by using Checkout, your customers can securely share their payment details directly with Stripe, and these payment details never touch your server.