#thuong
1 messages · Page 1 of 1 (latest)
Hi, if you try setting this billing_address_collection to auto do you still see it? https://stripe.com/docs/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.
Also you would need to pass in a Customer Id which has address setup
yes, I set billing_address_collection to auto but it still show
I see my invoice is using customer address for billing address
I filled customer id to session
Do you see expected parameter on request log on https://dashboard.stripe.com/test/logs?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Okie, so you have the Customer attached. Sorry going back to the question, where do you want to show/hide it exactly?
Umm okie, could share the Checkout Session creation request id req_xxx?
req_wuVi2lnEIG3lmO
Um I see. It looks like even with auto Checkout still decide to collect the Address here anyway, probably due to regulations or country etc
I am afraid Checkout doesn't have the granular setting option you want. Alternative could be using PaymentElement and completely control the prefilling address