#maarten-sd_code
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1247675517469986888
📝 Have more to share? Add details, code, screenshots, videos, etc. below.
Hi there!
Are you creating Checkout Sessions and creating a brand-new customer object or are you also passing a value for customer? If you have a request ID for a Checkout Session you recently created, that would be helpful too
Currently we’re trying to create new customers. When this functionality works we will also use the customer object.
I see. The reason I ask is because, under some conditions, a customer's saved payment details (including billing address) will be prepopulated: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-customer
https://support.stripe.com/questions/prefilling-saved-cards-in-checkout
That said, it's not possible to prefill the billing address fields with data from your backend when creating a Checkout Session
Clear. So if I understand correct: if the customer is already known (has a customer id), then the details are used from the previous checkout.
For new customers, they have to enter the info in stripe checkout again.
then the details are used from the previous checkout
Potentially, yes. Depends on themode, whether or notsaved_payment_method_options.payment_method_savewas used when they first saved a payment method, and whether the customer actually opted to save their payment details for future use
Clear. I can continue from here. Thank you!